Matrix r5059
|
#include "Mdefines.h"
Go to the source code of this file.
Macros | |
#define | MK(_FORMAT_) |
#define | MS(_FORMAT_, ...) |
#define | RMK(_FORMAT_) |
#define | RMS(_FORMAT_, ...) |
#define | RMKMS(_FORMAT_, ...) |
#define | FRMK(_FORMAT_) |
#define | FRMS(_FORMAT_, ...) |
#define | FRMKMS(_FORMAT_, ...) |
#define | KINDMATRIX_VALIDATE(_PREFIX_, _SEXPTYPE_) |
#define | KINDVECTOR_VALIDATE(_PREFIX_, _SEXPTYPE_) |
#define | IS_VALID(_CLASS_) |
#define | IS_VALID_SPARSE(_C_) |
#define FRMK | ( | _FORMAT_ | ) |
Definition at line 13 of file validity.c.
Referenced by xpTMatrix_validate().
#define FRMKMS | ( | _FORMAT_, | |
... ) |
Definition at line 23 of file validity.c.
Referenced by denseCholesky_validate(), denseQR_validate(), pMatrix_validate(), sparseCholesky_validate(), sparseLU_validate(), and sparseQR_validate().
#define FRMS | ( | _FORMAT_, | |
... ) |
Definition at line 18 of file validity.c.
#define IS_VALID | ( | _CLASS_ | ) |
Referenced by validObject().
#define IS_VALID_SPARSE | ( | _C_ | ) |
Referenced by validObject().
#define KINDMATRIX_VALIDATE | ( | _PREFIX_, | |
_SEXPTYPE_ ) |
Definition at line 149 of file validity.c.
#define KINDVECTOR_VALIDATE | ( | _PREFIX_, | |
_SEXPTYPE_ ) |
Definition at line 1153 of file validity.c.
#define MK | ( | _FORMAT_ | ) |
Definition at line 3 of file validity.c.
#define MS | ( | _FORMAT_, | |
... ) |
Definition at line 4 of file validity.c.
#define RMK | ( | _FORMAT_ | ) |
Definition at line 6 of file validity.c.
Referenced by copMatrix_validate(), corMatrix_validate(), denseCholesky_validate(), simplicialCholesky_validate(), sparseQR_validate(), supernodalCholesky_validate(), xpCMatrix_validate(), xpoMatrix_validate(), xppMatrix_validate(), and xpRMatrix_validate().
#define RMKMS | ( | _FORMAT_, | |
... ) |
Definition at line 10 of file validity.c.
Referenced by copMatrix_validate(), corMatrix_validate(), CsparseMatrix_validate(), denseBunchKaufman_validate(), denseCholesky_validate(), denseLU_validate(), denseQR_validate(), denseSchur_validate(), diagonalMatrix_validate(), generalMatrix_validate(), indMatrix_validate(), packedMatrix_validate(), pMatrix_validate(), RsparseMatrix_validate(), sCMatrix_validate(), simplicialCholesky_validate(), sparseCholesky_validate(), sparseLU_validate(), sparseQR_validate(), sparseVector_validate(), sRMatrix_validate(), sTMatrix_validate(), supernodalCholesky_validate(), symmetricMatrix_validate(), tCMatrix_validate(), triangularMatrix_validate(), tRMatrix_validate(), TsparseMatrix_validate(), tTMatrix_validate(), unpackedMatrix_validate(), xgCMatrix_validate(), xgRMatrix_validate(), xgTMatrix_validate(), xpCMatrix_validate(), xpoMatrix_validate(), xppMatrix_validate(), xpRMatrix_validate(), and xpTMatrix_validate().
#define RMS | ( | _FORMAT_, | |
... ) |
Definition at line 8 of file validity.c.
Referenced by Dim_validate(), and DimNames_validate().
SEXP copMatrix_validate | ( | SEXP | obj | ) |
Definition at line 1059 of file validity.c.
References _, DIM, GET_SLOT, Matrix_sdSym, Matrix_xSym, RMK, RMKMS, TYPEOF, and UPLO.
SEXP corMatrix_validate | ( | SEXP | obj | ) |
Definition at line 1035 of file validity.c.
References _, DIM, GET_SLOT, Matrix_sdSym, Matrix_xSym, RMK, RMKMS, and TYPEOF.
SEXP CsparseMatrix_validate | ( | SEXP | obj | ) |
Definition at line 299 of file validity.c.
References _, DIM, GET_SLOT, Matrix_iSym, Matrix_pSym, RMKMS, and TYPEOF.
SEXP denseBunchKaufman_validate | ( | SEXP | obj | ) |
Definition at line 1288 of file validity.c.
References _, DIM, GET_SLOT, HAS_SLOT, Matrix_permSym, Matrix_transSym, Matrix_uploSym, Matrix_xSym, RMKMS, and TYPEOF.
SEXP denseCholesky_validate | ( | SEXP | obj | ) |
Definition at line 1348 of file validity.c.
References _, DIM, FRMKMS, GET_SLOT, Matrix_Calloc, Matrix_Free, Matrix_permSym, Matrix_uploSym, Matrix_xSym, RMK, RMKMS, and TYPEOF.
SEXP denseLU_validate | ( | SEXP | obj | ) |
Definition at line 1259 of file validity.c.
References _, DIM, GET_SLOT, Matrix_permSym, Matrix_xSym, RMKMS, and TYPEOF.
SEXP denseQR_validate | ( | SEXP | obj | ) |
Definition at line 1217 of file validity.c.
References _, DIM, FRMKMS, GET_SLOT, Matrix_betaSym, Matrix_Calloc, Matrix_Free, Matrix_permSym, Matrix_xSym, RMKMS, and TYPEOF.
SEXP denseSchur_validate | ( | SEXP | obj | ) |
Definition at line 1178 of file validity.c.
References _, DIM, GET_SLOT, Matrix_valuesSym, Matrix_vectorsSym, Matrix_xSym, RMKMS, and TYPEOF.
SEXP diagonalMatrix_validate | ( | SEXP | obj | ) |
Definition at line 437 of file validity.c.
References _, DIM, GET_SLOT, Matrix_diagSym, Matrix_xSym, RMKMS, and TYPEOF.
|
static |
Definition at line 35 of file validity.c.
References _, RMS, and TYPEOF.
Referenced by Matrix_validate(), and R_Dim_validate().
|
static |
Definition at line 57 of file validity.c.
References _, RMS, and TYPEOF.
Referenced by Matrix_validate(), and R_DimNames_validate().
SEXP generalMatrix_validate | ( | SEXP | obj | ) |
Definition at line 165 of file validity.c.
References _, GET_SLOT, Matrix_factorsSym, RMKMS, and TYPEOF.
Referenced by symmetricMatrix_validate().
SEXP indMatrix_validate | ( | SEXP | obj | ) |
Definition at line 461 of file validity.c.
References _, DIM, GET_SLOT, Matrix_marginSym, Matrix_permSym, RMKMS, and TYPEOF.
SEXP Matrix_validate | ( | SEXP | obj | ) |
Definition at line 136 of file validity.c.
References Dim_validate(), DimNames_validate(), GET_SLOT, Matrix_DimNamesSym, and Matrix_DimSym.
Referenced by MatrixFactorization_validate().
SEXP MatrixFactorization_validate | ( | SEXP | obj | ) |
Definition at line 1173 of file validity.c.
References Matrix_validate().
SEXP packedMatrix_validate | ( | SEXP | obj | ) |
Definition at line 290 of file validity.c.
References _, DIM, GET_SLOT, Matrix_xSym, and RMKMS.
SEXP pMatrix_validate | ( | SEXP | obj | ) |
Definition at line 496 of file validity.c.
References _, DIM, FRMKMS, GET_SLOT, Matrix_Calloc, Matrix_Free, Matrix_permSym, and RMKMS.
SEXP R_Dim_validate | ( | SEXP | dim | ) |
Definition at line 50 of file validity.c.
References Dim_validate().
SEXP R_DimNames_fixup | ( | SEXP | dimnames | ) |
Definition at line 95 of file validity.c.
References TYPEOF.
SEXP R_DimNames_validate | ( | SEXP | dimnames, |
SEXP | dim ) |
Definition at line 89 of file validity.c.
References DimNames_validate().
SEXP RsparseMatrix_validate | ( | SEXP | obj | ) |
Definition at line 349 of file validity.c.
References _, DIM, GET_SLOT, Matrix_jSym, Matrix_pSym, RMKMS, and TYPEOF.
SEXP sCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 519 of file validity.c.
References _, GET_SLOT, Matrix_iSym, Matrix_pSym, RMKMS, and UPLO.
Referenced by tCMatrix_validate(), and xsCMatrix_validate().
SEXP simplicialCholesky_validate | ( | SEXP | obj | ) |
Definition at line 1690 of file validity.c.
References _, DIM, GET_SLOT, HAS_SLOT, Matrix_isllSym, Matrix_ismtSym, Matrix_iSym, Matrix_minorSym, Matrix_nextSym, Matrix_nzSym, Matrix_prevSym, Matrix_pSym, Matrix_xSym, RMK, RMKMS, and TYPEOF.
SEXP sparseCholesky_validate | ( | SEXP | obj | ) |
Definition at line 1633 of file validity.c.
References _, DIM, FRMKMS, GET_SLOT, Matrix_Calloc, Matrix_colcountSym, Matrix_Free, Matrix_orderingSym, Matrix_permSym, RMKMS, and TYPEOF.
SEXP sparseLU_validate | ( | SEXP | obj | ) |
Definition at line 1535 of file validity.c.
References _, DIAG, DIM, FRMKMS, GET_SLOT, Matrix_Calloc, Matrix_Free, Matrix_iSym, Matrix_LSym, Matrix_pSym, Matrix_qSym, Matrix_USym, Matrix_xSym, RMKMS, TYPEOF, and UPLO.
SEXP sparseQR_validate | ( | SEXP | obj | ) |
Definition at line 1434 of file validity.c.
References _, DIM, FRMKMS, GET_SLOT, Matrix_betaSym, Matrix_Calloc, Matrix_Free, Matrix_iSym, Matrix_pSym, Matrix_qSym, Matrix_RSym, Matrix_VSym, RMK, RMKMS, and TYPEOF.
SEXP sparseVector_validate | ( | SEXP | obj | ) |
Definition at line 1089 of file validity.c.
References _, GET_SLOT, Matrix_iSym, Matrix_lengthSym, RMKMS, and TYPEOF.
SEXP sRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 606 of file validity.c.
References _, GET_SLOT, Matrix_jSym, Matrix_pSym, RMKMS, and UPLO.
Referenced by tRMatrix_validate(), and xsRMatrix_validate().
SEXP sTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 693 of file validity.c.
References _, GET_SLOT, Matrix_iSym, Matrix_jSym, RMKMS, and UPLO.
Referenced by tTMatrix_validate(), and xsTMatrix_validate().
SEXP supernodalCholesky_validate | ( | SEXP | obj | ) |
Definition at line 1847 of file validity.c.
References _, DIM, GET_SLOT, HAS_SLOT, Matrix_maxcsizeSym, Matrix_maxesizeSym, Matrix_minorSym, Matrix_piSym, Matrix_pxSym, Matrix_sSym, Matrix_superSym, Matrix_xSym, RMK, RMKMS, and TYPEOF.
SEXP symmetricMatrix_validate | ( | SEXP | obj | ) |
Definition at line 181 of file validity.c.
References _, DIM, equalString(), generalMatrix_validate(), GET_SLOT, HAS_SLOT, Matrix_DimNamesSym, Matrix_transSym, Matrix_uploSym, RMKMS, and TYPEOF.
SEXP tCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 558 of file validity.c.
References _, DIAG, GET_SLOT, Matrix_iSym, Matrix_pSym, RMKMS, sCMatrix_validate(), and UPLO.
Referenced by xtCMatrix_validate().
SEXP triangularMatrix_validate | ( | SEXP | obj | ) |
Definition at line 254 of file validity.c.
References _, DIM, GET_SLOT, Matrix_diagSym, Matrix_uploSym, RMKMS, and TYPEOF.
SEXP tRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 645 of file validity.c.
References _, DIAG, GET_SLOT, Matrix_jSym, Matrix_pSym, RMKMS, sRMatrix_validate(), and UPLO.
Referenced by xtRMatrix_validate().
SEXP TsparseMatrix_validate | ( | SEXP | obj | ) |
Definition at line 399 of file validity.c.
References _, DIM, GET_SLOT, Matrix_iSym, Matrix_jSym, RMKMS, and TYPEOF.
SEXP tTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 722 of file validity.c.
References _, DIAG, GET_SLOT, Matrix_iSym, Matrix_jSym, RMKMS, sTMatrix_validate(), and UPLO.
Referenced by xtTMatrix_validate().
SEXP unpackedMatrix_validate | ( | SEXP | obj | ) |
Definition at line 281 of file validity.c.
References _, DIM, GET_SLOT, Matrix_xSym, and RMKMS.
void validObject | ( | SEXP | obj, |
const char * | cl ) |
Definition at line 2004 of file validity.c.
References cl, IS_VALID, and IS_VALID_SPARSE.
Referenced by R_subscript_1ary(), R_subscript_1ary_2col(), and R_subscript_2ary().
SEXP xgCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 766 of file validity.c.
References _, GET_SLOT, Matrix_iSym, Matrix_xSym, and RMKMS.
Referenced by xsCMatrix_validate(), and xtCMatrix_validate().
SEXP xgRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 792 of file validity.c.
References _, GET_SLOT, Matrix_jSym, Matrix_xSym, and RMKMS.
Referenced by xsRMatrix_validate(), and xtRMatrix_validate().
SEXP xgTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 818 of file validity.c.
References _, GET_SLOT, Matrix_iSym, Matrix_xSym, and RMKMS.
Referenced by xsTMatrix_validate(), and xtTMatrix_validate().
SEXP xpCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 907 of file validity.c.
References _, DIM, GET_SLOT, Matrix_iSym, Matrix_pSym, Matrix_xSym, RMK, RMKMS, TRANS, TYPEOF, and UPLO.
SEXP xpoMatrix_validate | ( | SEXP | obj | ) |
Definition at line 849 of file validity.c.
References _, DIM, GET_SLOT, Matrix_xSym, RMK, RMKMS, TRANS, and TYPEOF.
SEXP xppMatrix_validate | ( | SEXP | obj | ) |
SEXP xpRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 950 of file validity.c.
References _, DIM, GET_SLOT, Matrix_jSym, Matrix_pSym, Matrix_xSym, RMK, RMKMS, TRANS, TYPEOF, and UPLO.
SEXP xpTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 993 of file validity.c.
References _, DIM, FRMK, GET_SLOT, Matrix_Calloc, Matrix_Free, Matrix_iSym, Matrix_jSym, Matrix_xSym, RMKMS, TRANS, and TYPEOF.
SEXP xsCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 776 of file validity.c.
References sCMatrix_validate(), TYPEOF, and xgCMatrix_validate().
SEXP xsRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 802 of file validity.c.
References sRMatrix_validate(), TYPEOF, and xgRMatrix_validate().
SEXP xsTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 828 of file validity.c.
References sTMatrix_validate(), TYPEOF, and xgTMatrix_validate().
SEXP xtCMatrix_validate | ( | SEXP | obj | ) |
Definition at line 784 of file validity.c.
References tCMatrix_validate(), TYPEOF, and xgCMatrix_validate().
SEXP xtRMatrix_validate | ( | SEXP | obj | ) |
Definition at line 810 of file validity.c.
References tRMatrix_validate(), TYPEOF, and xgRMatrix_validate().
SEXP xtTMatrix_validate | ( | SEXP | obj | ) |
Definition at line 836 of file validity.c.
References tTMatrix_validate(), TYPEOF, and xgTMatrix_validate().