#include "GA_message.h"
#include "GA_vector_R.h"
Functions | |
GAVectorInt * | GA_vector_from_R_int (SEXP robj) |
SEXP | GA_vector_to_R_int (GAVectorInt *vec) |
GAVectorReal * | GA_vector_from_R_real (SEXP robj) |
SEXP | GA_vector_to_R_real (GAVectorReal *vec) |
GAClampMode | GA_clamp_mode_from_R (SEXP robj) |
GAClampMode GA_clamp_mode_from_R | ( | SEXP | robj | ) |
Get clamp mode from R object (real).
Get the clamp mode corresponding to the value of the specified R object.
robj | R object |
GAVectorInt* GA_vector_from_R_int | ( | SEXP | robj | ) |
Create vector from R object (int).
Create a vector of integers from an R object. The new vector will be referenced and should be destroyed by using GA_vector_destroy_int() when it is not needed anymore.
robj | R object. |
GAVectorReal* GA_vector_from_R_real | ( | SEXP | robj | ) |
Create vector from R object (real).
Create a vector of real numbers from an R object. The new vector will be referenced and should be destroyed by using GA_vector_destroy_real() when it is not needed anymore.
robj | R object. |
SEXP GA_vector_to_R_int | ( | GAVectorInt * | vec | ) |
Create R object from vector (int).
Create an R object from a vector of integers.
vec | Vector. |
SEXP GA_vector_to_R_real | ( | GAVectorReal * | vec | ) |
Create R object from vector (real).
Create an R object from a vector of real numbers.
vec | Vector. |