Latin Hypercube Samples (lhs)  1.0
R, C++, and Rcpp code to generate Latin hypercube samples
All Classes Namespaces Files Functions Variables Typedefs Macros Pages
lhs_r_utilities.cpp File Reference
#include "lhs_r_utilities.h"

Namespaces

 lhs_r
 

Functions

void lhs_r::findorder_zero (const Rcpp::NumericVector &v, Rcpp::IntegerVector &order)
 
Rcpp::NumericMatrix lhs_r::convertIntegerToNumericLhs (const bclib::matrix< int > &intMat)
 
Rcpp::NumericMatrix lhs_r::convertIntegerToNumericLhs (const Rcpp::IntegerMatrix &intMat)
 
Rcpp::NumericMatrix lhs_r::convertMatrixToNumericLhs (const bclib::matrix< double > &intMat)
 
Rcpp::IntegerVector lhs_r::runifint (unsigned int n, int min_int, int max_int)
 
void lhs_r::checkArguments (int n, int k)
 
void lhs_r::checkArguments (int n, int k, int dup)
 
void lhs_r::checkArguments (int n, int k, int maxsweeps, double eps)
 
Rcpp::NumericMatrix lhs_r::degenerateCase (int k, bclib::CRandom< double > &oRandom)
 

Detailed Description

Author
Robert Carnell
License:\n GNU General Public License (GPL v3)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.