Matrix r5059
|
Go to the source code of this file.
Macros | |
#define | TEMPLATE(c) |
Functions | |
int | dense_is_diagonal (SEXP obj, const char *class) |
int | sparse_is_diagonal (SEXP obj, const char *class) |
SEXP | R_dense_is_diagonal (SEXP s_obj) |
SEXP | R_sparse_is_diagonal (SEXP s_obj) |
#define TEMPLATE | ( | c | ) |
Referenced by dense_is_diagonal().
int dense_is_diagonal | ( | SEXP | obj, |
const char * | class ) |
Definition at line 7 of file isDiagonal.c.
References DIM, GET_SLOT, Matrix_xSym, SWITCH4, TEMPLATE, and UPLO.
Referenced by dense_is_symmetric(), dense_is_triangular(), and R_dense_is_diagonal().
SEXP R_dense_is_diagonal | ( | SEXP | s_obj | ) |
Definition at line 86 of file isDiagonal.c.
References dense_is_diagonal(), matrix_as_dense(), Matrix_class(), TYPEOF, and valid_dense.
SEXP R_sparse_is_diagonal | ( | SEXP | s_obj | ) |
Definition at line 103 of file isDiagonal.c.
References Matrix_class(), sparse_is_diagonal(), and valid_sparse.
int sparse_is_diagonal | ( | SEXP | obj, |
const char * | class ) |
Definition at line 45 of file isDiagonal.c.
References DIM, GET_SLOT, Matrix_iSym, Matrix_jSym, and Matrix_pSym.
Referenced by R_sparse_is_diagonal(), sparse_is_symmetric(), and sparse_is_triangular().