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
oa_r_utils.h File Reference
#include <stdexcept>
#include <Rcpp.h>
#include "matrix.h"
#include "rutils.h"

Go to the source code of this file.

Namespaces

 oarutils
 

Functions

template<class T >
void oarutils::convertToIntegerMatrix (const bclib::matrix< T > &A, Rcpp::IntegerMatrix &rcppA)
 
template<class T , class U >
void oarutils::convertToRcppMatrix (const bclib::matrix< T > &A, U &rcppA)
 
template<class T , class U >
void oarutils::convertToMatrix (const U &rcppA, bclib::matrix< T > &A)
 
void oarutils::randomizeOA (Rcpp::IntegerMatrix &oa, int q)
 

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