git config --global github.user yitang
git config --global github.token dcxxxxxx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Rcpp.h> | |
using namespace Rcpp; | |
// ref: http://geomalgorithms.com/a03-_inclusion.html | |
// Copyright 2000 softSurfer, 2012 Dan Sunday | |
// This code may be freely used and modified for any purpose | |
// providing that this copyright notice is included with it. | |
// SoftSurfer makes no warranty for this code, and cannot be held | |
// liable for any real or imagined damage resulting from its use. | |
// Users of this code must verify correctness for their application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Rcpp.h> | |
#include <cmath> // ::ceil | |
using namespace Rcpp; | |
//' linear inter/extropolation. | |
//' combination of stats::approx and Hmisc::Hmisc. | |
//' @para x | |
//' @para y | |
//' @para xx where interpolation is to take place. |