Matrix r5059
Loading...
Searching...
No Matches
isCanonical.c File Reference
#include "Mdefines.h"
#include "M5.h"
#include "idz.h"

Go to the source code of this file.

Macros

#define TEMPLATE(c)
 

Functions

int dense_is_canonical (SEXP obj, const char *class)
 
int sparse_is_canonical (SEXP obj, const char *class)
 
SEXP R_dense_is_canonical (SEXP s_obj)
 
SEXP R_sparse_is_canonical (SEXP s_obj)
 

Macro Definition Documentation

◆ TEMPLATE

#define TEMPLATE ( c)
Value:
do { \
c##TYPE *px = c##PTR(x); \
return (!packed) \
? !c##NAME(test2)(px, (size_t) n, ul, ct, nu) \
: !c##NAME(test1)(px, (size_t) n, ul, ct, nu); \
} while (0)
cholmod_common c
Definition cholmod-etc.c:5

Referenced by dense_is_canonical().

Function Documentation

◆ dense_is_canonical()

int dense_is_canonical ( SEXP obj,
const char * class )

Definition at line 7 of file isCanonical.c.

References DIAG, DIM, GET_SLOT, Matrix_xSym, SWITCH5, TEMPLATE, TRANS, and UPLO.

Referenced by R_dense_is_canonical().

◆ R_dense_is_canonical()

SEXP R_dense_is_canonical ( SEXP s_obj)

Definition at line 86 of file isCanonical.c.

References dense_is_canonical(), Matrix_class(), and valid_dense.

◆ R_sparse_is_canonical()

SEXP R_sparse_is_canonical ( SEXP s_obj)

Definition at line 92 of file isCanonical.c.

References Matrix_class(), sparse_is_canonical(), and valid_sparse.

◆ sparse_is_canonical()

int sparse_is_canonical ( SEXP obj,
const char * class )

Definition at line 40 of file isCanonical.c.

References DIAG, DIM, GET_SLOT, Matrix_iSym, Matrix_jSym, Matrix_pSym, Matrix_xSym, TRANS, and UPLO.

Referenced by R_sparse_is_canonical().