Matrix r4655
|
Go to the source code of this file.
Macros | |
#define | RETURN_AS_STRSXP(_C_) |
Functions | |
SEXP | newObject (const char *what) |
char | typeToKind (SEXPTYPE type) |
SEXPTYPE | kindToType (char kind) |
size_t | kindToSize (char kind) |
const char * | Matrix_nonvirtual (SEXP obj, int strict) |
char | Matrix_kind (SEXP obj) |
char | Matrix_shape (SEXP obj) |
char | Matrix_repr (SEXP obj) |
SEXP | R_Matrix_nonvirtual (SEXP obj, SEXP strict) |
SEXP | R_Matrix_kind (SEXP obj) |
SEXP | R_Matrix_shape (SEXP obj) |
SEXP | R_Matrix_repr (SEXP obj) |
#define RETURN_AS_STRSXP | ( | _C_ | ) |
size_t kindToSize | ( | char | kind | ) |
Definition at line 46 of file objects.c.
References _.
Referenced by diagonal_as_dense(), index_as_dense(), and sparse_as_dense().
SEXPTYPE kindToType | ( | char | kind | ) |
Definition at line 28 of file objects.c.
References _.
Referenced by bindArgs(), coerceArgs(), CsparseMatrix_subscript_1ary(), CsparseMatrix_subscript_1ary_mat(), dense_as_kind(), diagonal_as_dense(), diagonal_as_kind(), diagonal_as_sparse(), diagonalMatrix_subscript_1ary(), diagonalMatrix_subscript_1ary_mat(), index_as_dense(), index_as_sparse(), matrix_as_dense(), packedMatrix_subscript_1ary(), packedMatrix_subscript_1ary_mat(), R_dense_diag_set(), R_sparse_diag_set(), RsparseMatrix_subscript_1ary(), RsparseMatrix_subscript_1ary_mat(), sparse_as_dense(), sparse_as_kind(), sparse_diag_get(), sparse_skewpart(), sparse_symmpart(), unpackedMatrix_subscript_1ary(), unpackedMatrix_subscript_1ary_mat(), vector_as_dense(), and vector_as_sparse().
char Matrix_kind | ( | SEXP | obj | ) |
Definition at line 76 of file objects.c.
References cl, valid, VALID_NONVIRTUAL, and VALID_NONVIRTUAL_SHIFT.
Referenced by R_Matrix_kind().
const char * Matrix_nonvirtual | ( | SEXP | obj, |
int | strict | ||
) |
Definition at line 63 of file objects.c.
References valid, VALID_NONVIRTUAL, and VALID_NONVIRTUAL_SHIFT.
Referenced by R_Matrix_nonvirtual().
char Matrix_repr | ( | SEXP | obj | ) |
Definition at line 115 of file objects.c.
References cl, valid, VALID_NONVIRTUAL_MATRIX, and VALID_NONVIRTUAL_SHIFT.
Referenced by R_Matrix_repr().
char Matrix_shape | ( | SEXP | obj | ) |
Definition at line 102 of file objects.c.
References cl, valid, VALID_NONVIRTUAL, and VALID_NONVIRTUAL_SHIFT.
Referenced by CHMfactor_update(), CHMfactor_updown(), and R_Matrix_shape().
SEXP newObject | ( | const char * | what | ) |
Definition at line 4 of file objects.c.
Referenced by bind(), BunchKaufman_expand(), BunchKaufman_solve(), CHD2M(), CHF2M(), Cholesky_solve(), cholmod_dense_as_sexp(), cholmod_factor_as_sexp(), cholmod_sparse_as_sexp(), cholmod_triplet_as_sexp(), CHS2M(), CR2spV(), Csparse_subassign(), CXS2M(), dense_as_general(), dense_as_kind(), dense_as_packed(), dense_as_sparse(), dense_as_unpacked(), dense_band(), dense_diag_set(), dense_force_symmetric(), dense_skewpart(), dense_symmpart(), dense_transpose(), denseLU_solve(), dgCMatrix_dgeMatrix_matmult(), dgCMatrix_orf(), dgCMatrix_trf(), dgeMatrix_matmult(), dgeMatrix_trf_(), diagonal_as_dense(), diagonal_as_kind(), diagonal_as_sparse(), diagonalMatrix_subscript_2ary(), dpoMatrix_trf_(), dppMatrix_trf_(), dspMatrix_matmult(), dspMatrix_trf_(), dsyMatrix_matmult(), dsyMatrix_trf_(), dtCMatrix_solve(), dtpMatrix_matmult(), dtrMatrix_matmult(), dtrMatrix_solve(), index_as_dense(), index_as_sparse(), indMatrix_subscript_2ary(), matrix_as_dense(), R_diagonal_matmult(), sparse_as_Csparse(), sparse_as_dense(), sparse_as_general(), sparse_as_kind(), sparse_as_Rsparse(), sparse_as_Tsparse(), sparse_band(), sparse_diag_set(), sparse_drop0(), sparse_force_symmetric(), sparse_marginsum(), sparse_skewpart(), sparse_symmpart(), sparse_transpose(), sparseLU_solve(), sparseQR_matmult(), Tsparse_aggregate(), vector_as_dense(), and vector_as_sparse().
SEXP R_Matrix_kind | ( | SEXP | obj | ) |
Definition at line 163 of file objects.c.
References Matrix_kind(), and RETURN_AS_STRSXP.
SEXP R_Matrix_nonvirtual | ( | SEXP | obj, |
SEXP | strict | ||
) |
Definition at line 147 of file objects.c.
References Matrix_nonvirtual().
SEXP R_Matrix_repr | ( | SEXP | obj | ) |
Definition at line 173 of file objects.c.
References Matrix_repr(), and RETURN_AS_STRSXP.
SEXP R_Matrix_shape | ( | SEXP | obj | ) |
Definition at line 168 of file objects.c.
References Matrix_shape(), and RETURN_AS_STRSXP.
char typeToKind | ( | SEXPTYPE | type | ) |
Definition at line 11 of file objects.c.
References _.
Referenced by matrix_as_dense(), matrix_as_sparse(), R_dense_diag_set(), R_sparse_diag_set(), vector_as_dense(), and vector_as_sparse().