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.h File Reference
#include <Rcpp.h>
#include "LHSCommonDefines.h"

Go to the source code of this file.

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::convertMatrixToNumericLhs (const bclib::matrix< double > &intMat)
 
Rcpp::NumericMatrix lhs_r::convertIntegerToNumericLhs (const Rcpp::IntegerMatrix &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)
 
template<int RTYPE>
Rcpp::NumericMatrix lhs_r::calculateDistance (Rcpp::Matrix< RTYPE > &mat)
 
template<int RTYPE>
double lhs_r::calculateSOptimal (Rcpp::Matrix< RTYPE > &mat)
 

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/.