|
Matrix r5059
|
Go to the source code of this file.
Macros | |
| #define | LONGDOUBLE_AS_DOUBLE(x) |
| #define | TRY_INCREMENT(x, y, label) |
| #define | SUM |
| #define | SUM_KERNEL(__for__) |
| #define | SUM_KERNEL(__for__) |
| #define | SUM_KERNEL(__for__) |
| #define | SUM_KERNEL(__for__) |
| #define | SUM_KERNEL(__for__) |
| #define | PROD |
| #define | PROD_KERNEL(__for__) |
| #define | PROD_KERNEL(__for__) |
| #define | PROD_KERNEL(__for__) |
| #define | PROD_KERNEL(__for__) |
Functions | |
| SEXP | sparse_aggregate (SEXP, const char *) |
| SEXP | dense_sum (SEXP obj, const char *class, int narm) |
| SEXP | sparse_sum (SEXP obj, const char *class, int narm) |
| SEXP | R_dense_sum (SEXP s_obj, SEXP s_narm) |
| SEXP | R_sparse_sum (SEXP s_obj, SEXP s_narm) |
| SEXP | dense_prod (SEXP obj, const char *class, int narm) |
| SEXP | sparse_prod (SEXP obj, const char *class, int narm) |
| SEXP | R_dense_prod (SEXP s_obj, SEXP s_narm) |
| SEXP | R_sparse_prod (SEXP s_obj, SEXP s_narm) |
| #define LONGDOUBLE_AS_DOUBLE | ( | x | ) |
Definition at line 9 of file Summary.c.
Referenced by dense_prod(), dense_sum(), sparse_prod(), and sparse_sum().
| #define PROD |
Referenced by dense_prod().
| #define PROD_KERNEL | ( | __for__ | ) |
| #define PROD_KERNEL | ( | __for__ | ) |
| #define PROD_KERNEL | ( | __for__ | ) |
| #define PROD_KERNEL | ( | __for__ | ) |
| #define SUM |
Referenced by dense_sum().
| #define SUM_KERNEL | ( | __for__ | ) |
| #define SUM_KERNEL | ( | __for__ | ) |
| #define SUM_KERNEL | ( | __for__ | ) |
| #define SUM_KERNEL | ( | __for__ | ) |
| #define SUM_KERNEL | ( | __for__ | ) |
| #define TRY_INCREMENT | ( | x, | |
| y, | |||
| label ) |
Definition at line 12 of file Summary.c.
Referenced by dense_sum(), and sparse_sum().
| SEXP dense_prod | ( | SEXP | obj, |
| const char * | class, | ||
| int | narm ) |
Definition at line 465 of file Summary.c.
References DIAG, GET_SLOT, LONGDOUBLE_AS_DOUBLE, Matrix_DimSym, Matrix_xSym, PROD, TRANS, and UPLO.
Referenced by R_dense_prod().
| SEXP dense_sum | ( | SEXP | obj, |
| const char * | class, | ||
| int | narm ) |
Definition at line 24 of file Summary.c.
References DIAG, DIM, GET_SLOT, LONGDOUBLE_AS_DOUBLE, Matrix_xSym, SUM, TRANS, TRY_INCREMENT, and UPLO.
Referenced by R_dense_sum().
| SEXP R_dense_prod | ( | SEXP | s_obj, |
| SEXP | s_narm ) |
Definition at line 898 of file Summary.c.
References dense_prod(), Matrix_class(), valid_dense, and VALID_LOGIC2.
| SEXP R_dense_sum | ( | SEXP | s_obj, |
| SEXP | s_narm ) |
Definition at line 445 of file Summary.c.
References dense_sum(), Matrix_class(), valid_dense, and VALID_LOGIC2.
| SEXP R_sparse_prod | ( | SEXP | s_obj, |
| SEXP | s_narm ) |
Definition at line 908 of file Summary.c.
References Matrix_class(), sparse_prod(), VALID_LOGIC2, and valid_sparse.
| SEXP R_sparse_sum | ( | SEXP | s_obj, |
| SEXP | s_narm ) |
Definition at line 455 of file Summary.c.
References Matrix_class(), sparse_sum(), VALID_LOGIC2, and valid_sparse.
| SEXP sparse_aggregate | ( | SEXP | from, |
| const char * | class ) |
Definition at line 5 of file aggregate.c.
References _, COPY_SLOT, DIAG, DIM, DIMNAMES, GET_SLOT, Matrix_Calloc, Matrix_factorsSym, Matrix_Free, Matrix_iSym, Matrix_jSym, SET_DIAG, SET_DIM, SET_DIMNAMES, SET_TRANS, SET_UPLO, SWITCH5, TEMPLATE, TRANS, and UPLO.
Referenced by R_sparse_aggregate(), scanArgs(), sparse_as_kind(), sparse_dropzero(), sparse_prod(), and sparse_sum().
| SEXP sparse_prod | ( | SEXP | obj, |
| const char * | class, | ||
| int | narm ) |
Definition at line 659 of file Summary.c.
References DIAG, DIM, GET_SLOT, LONGDOUBLE_AS_DOUBLE, Matrix_iSym, Matrix_jSym, Matrix_pSym, Matrix_xSym, sparse_aggregate(), SWAP, TRANS, and UPLO.
Referenced by R_sparse_prod().
| SEXP sparse_sum | ( | SEXP | obj, |
| const char * | class, | ||
| int | narm ) |
Definition at line 216 of file Summary.c.
References DIAG, DIM, GET_SLOT, LONGDOUBLE_AS_DOUBLE, Matrix_iSym, Matrix_jSym, Matrix_pSym, Matrix_xSym, sparse_aggregate(), SWAP, TRANS, TRY_INCREMENT, and UPLO.
Referenced by R_sparse_sum().