Matrix r5059
|
#include "Mdefines.h"
Go to the source code of this file.
Functions | |
SEXP | R_Dim_prod (SEXP dim) |
int | DimNames_is_trivial (SEXP dn) |
int | DimNames_is_symmetric (SEXP dn) |
SEXP | R_DimNames_is_symmetric (SEXP dn) |
void | symDN (SEXP dest, SEXP src, int J) |
SEXP | R_symDN (SEXP dn) |
void | cpyDN (SEXP dest, SEXP src, int J) |
SEXP | DIMNAMES (SEXP obj, int mode) |
void | SET_DIMNAMES (SEXP obj, int mode, SEXP value) |
static R_xlen_t | strmatch (const char *s, SEXP nms) |
SEXP | get_factor (SEXP obj, const char *nm) |
void | set_factor (SEXP obj, const char *nm, SEXP val) |
SEXP | R_set_factor (SEXP s_obj, SEXP s_nm, SEXP s_val, SEXP s_warn) |
void cpyDN | ( | SEXP | dest, |
SEXP | src, | ||
int | J ) |
Definition at line 110 of file attrib.c.
Referenced by DIMNAMES(), and SET_DIMNAMES().
SEXP DIMNAMES | ( | SEXP | obj, |
int | mode ) |
Definition at line 132 of file attrib.c.
References cpyDN(), DimNames_is_trivial(), GET_SLOT, Matrix_DimNamesSym, and symDN().
int DimNames_is_symmetric | ( | SEXP | dn | ) |
Definition at line 46 of file attrib.c.
References equalString().
Referenced by dense_is_symmetric(), R_DimNames_is_symmetric(), and sparse_is_symmetric().
int DimNames_is_trivial | ( | SEXP | dn | ) |
Definition at line 38 of file attrib.c.
Referenced by DIMNAMES(), R_Matrix_as_matrix(), R_symDN(), and SET_DIMNAMES().
SEXP get_factor | ( | SEXP | obj, |
const char * | nm ) |
Definition at line 180 of file attrib.c.
References GET_SLOT, Matrix_factorsSym, and strmatch().
Referenced by R_dense_bunchkaufman(), R_dense_cholesky(), R_dense_lu(), R_dense_schur(), R_sparse_cholesky(), R_sparse_lu(), and R_sparse_qr().
SEXP R_Dim_prod | ( | SEXP | dim | ) |
Definition at line 5 of file attrib.c.
References _, and Matrix_offSym.
SEXP R_DimNames_is_symmetric | ( | SEXP | dn | ) |
Definition at line 64 of file attrib.c.
References DimNames_is_symmetric().
SEXP R_set_factor | ( | SEXP | s_obj, |
SEXP | s_nm, | ||
SEXP | s_val, | ||
SEXP | s_warn ) |
Definition at line 220 of file attrib.c.
References _, Matrix_factorsSym, set_factor(), and TYPEOF.
SEXP R_symDN | ( | SEXP | dn | ) |
Definition at line 100 of file attrib.c.
References DimNames_is_trivial(), and symDN().
void SET_DIMNAMES | ( | SEXP | obj, |
int | mode, | ||
SEXP | value ) |
Definition at line 151 of file attrib.c.
References cpyDN(), DimNames_is_trivial(), GET_SLOT, Matrix_DimNamesSym, and symDN().
void set_factor | ( | SEXP | obj, |
const char * | nm, | ||
SEXP | val ) |
Definition at line 192 of file attrib.c.
References GET_SLOT, Matrix_factorsSym, SET_SLOT, and strmatch().
Referenced by R_dense_bunchkaufman(), R_dense_cholesky(), R_dense_lu(), R_dense_schur(), R_set_factor(), R_sparse_cholesky(), R_sparse_lu(), and R_sparse_qr().
|
static |
Definition at line 170 of file attrib.c.
References TYPEOF.
Referenced by get_factor(), and set_factor().
void symDN | ( | SEXP | dest, |
SEXP | src, | ||
int | J ) |
Definition at line 69 of file attrib.c.
Referenced by DIMNAMES(), gCgCMatrix_matmult(), geMatrix_matmult(), R_symDN(), SET_DIMNAMES(), and sparse_cholesky().