| hyperg_1F1_vec_b {qfratio} | R Documentation |
Internal C++ wrappers for GSL
Description
These are internal C++ functions which wrap hypergeometric functions from GSL with vectorization. These are for particular use cases in this package, and direct access by the user is not assumed.
Usage
hyperg_1F1_vec_b(a, bvec, x)
hyperg_2F1_mat_a_vec_c(Amat, b, cvec, x)
Arguments
a, b |
Parameters of hypergeometric functions; passed as |
bvec, cvec |
Parameters of hypergeometric functions; passed as
|
x |
Argument of hypergeometric functions; passed as |
Amat |
Parameter of hypergeometric functions; passed as
|
Value
Return a list via Rcpp::List of the following:
$valEvaluation result, numeric
$errAbsolute error, numeric
$statusError code, integer
In hyperg_1F1_vec_b, these are vectors from
Rcpp::NumericVector and Rcpp::IntegerVector, whereas in
hyperg_2F1_mat_a_vec_c, they are matrices
from Rcpp::NumericMatrix and Rcpp::IntegerMatrix.
Functions
-
hyperg_1F1_vec_b(): wrapper ofgsl_hyperg_1F1_e(), looping alongbvec -
hyperg_2F1_mat_a_vec_c(): wrapper ofgsl_hyperg_2F1_e(), looping alongAmatand recyclingcvec