
Go to the source code of this file.
Functions | |
| void | C_kronecker (const double *A, const int m, const int n, const double *B, const int r, const int s, double *ans) |
| SEXP | La_svd (SEXP jobu, SEXP jobv, SEXP x, SEXP s, SEXP u, SEXP v, SEXP method) |
| void | C_SampleNoReplace (int *x, int m, int k, int *ans) |
| void | C_MPinv (SEXP x, double tol, SEXP svdmem, SEXP ans) |
| double | C_max (const double *x, const int n) |
| void | C_abs (double *x, int n) |
| void | C_matprod (double *x, int nrx, int ncx, double *y, int nry, int ncy, double *z) |
| void | C_matprodT (double *x, int nrx, int ncx, double *y, int nry, int ncy, double *z) |
| int | nrow (SEXP x) |
| int | ncol (SEXP y) |
| int | C_whichmax (double *pvalue, double *teststat, int ninputs) |
| int | i_in_set (int i, int *iset, int p) |
| int | C_i_in_set (int i, SEXP set) |
| void | C_SampleSplitting (int n, double *prob, int *weights, int k) |
| void | C_remove_weights (SEXP subtree) |
| double * | C_tempweights (int j, SEXP weights, SEXP fitmem, SEXP inputs) |
| void C_abs | ( | double * | x, | |
| int | n | |||
| ) |
| int C_i_in_set | ( | int | i, | |
| SEXP | set | |||
| ) |
Definition at line 564 of file Utils.c.
References i_in_set().

| void C_kronecker | ( | const double * | A, | |
| const int | m, | |||
| const int | n, | |||
| const double * | B, | |||
| const int | r, | |||
| const int | s, | |||
| double * | ans | |||
| ) |
| void C_matprod | ( | double * | x, | |
| int | nrx, | |||
| int | ncx, | |||
| double * | y, | |||
| int | nry, | |||
| int | ncy, | |||
| double * | z | |||
| ) |
| void C_matprodT | ( | double * | x, | |
| int | nrx, | |||
| int | ncx, | |||
| double * | y, | |||
| int | nry, | |||
| int | ncy, | |||
| double * | z | |||
| ) |
| double C_max | ( | const double * | x, | |
| const int | n | |||
| ) |
| void C_MPinv | ( | SEXP | x, | |
| double | tol, | |||
| SEXP | svdmem, | |||
| SEXP | ans | |||
| ) |
Moore-Penrose inverse of a matrix
| x | matrix | |
| tol | a tolerance bound | |
| svdmem | an object of class `svd_mem' | |
| ans | return value; an object of class `ExpectCovarMPinv' |
Definition at line 185 of file Utils.c.
References CR_svd(), PL2_MPinvSym, PL2_rankSym, PL2_sSym, PL2_uSym, and PL2_vSym.

| void C_remove_weights | ( | SEXP | subtree | ) |
Remove weights vector from each node of a tree (in order to save memory) \*param subtree a tree
Definition at line 702 of file Utils.c.
References C_remove_weights(), S3_WEIGHTS, S3get_leftnode(), S3get_nodeterminal(), and S3get_rightnode().

| void C_SampleNoReplace | ( | int * | x, | |
| int | m, | |||
| int | k, | |||
| int * | ans | |||
| ) |
| void C_SampleSplitting | ( | int | n, | |
| double * | prob, | |||
| int * | weights, | |||
| int | k | |||
| ) |
Definition at line 679 of file Utils.c.
References C_ProbSampleNoReplace().

| double* C_tempweights | ( | int | j, | |
| SEXP | weights, | |||
| SEXP | fitmem, | |||
| SEXP | inputs | |||
| ) |
Definition at line 712 of file Utils.c.
References get_missings(), and get_weights().

| int C_whichmax | ( | double * | pvalue, | |
| double * | teststat, | |||
| int | ninputs | |||
| ) |
| int i_in_set | ( | int | i, | |
| int * | iset, | |||
| int | p | |||
| ) |
| SEXP La_svd | ( | SEXP | jobu, | |
| SEXP | jobv, | |||
| SEXP | x, | |||
| SEXP | s, | |||
| SEXP | u, | |||
| SEXP | v, | |||
| SEXP | method | |||
| ) |
1.5.3