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

Go to the source code of this file.

Macros

#define TEMPLATE(c)
 
#define TEMPLATE(c)
 
#define TEMPLATE(c)
 

Functions

SEXP dense_force_symmetric (SEXP from, const char *class, char op_ul, char op_ct)
 
SEXP sparse_force_symmetric (SEXP from, const char *class, char op_ul, char op_ct)
 
SEXP R_dense_force_symmetric (SEXP s_from, SEXP s_uplo, SEXP s_trans)
 
SEXP R_sparse_force_symmetric (SEXP s_from, SEXP s_uplo, SEXP s_trans)
 

Macro Definition Documentation

◆ TEMPLATE [1/3]

#define TEMPLATE ( c)
Value:
do { \
c##TYPE *px0 = c##PTR(x0), *px1 = c##PTR(x1); \
if (!packed) \
c##NAME(force2)(px1, px0, n_, ul0, ct0, nu0); \
else if (ul0 == ul1) \
c##NAME(force1)(px1, px0, n_, ul0, ct0, nu0); \
else { \
c##NAME(trans1)(px1, px0, n_, ul0, ct0); \
c##NAME(force1)(px1, NULL, n_, ul1, ct0, nu0); \
} \
} while (0)
cholmod_common c
Definition cholmod-etc.c:5

Referenced by dense_force_symmetric(), and sparse_force_symmetric().

◆ TEMPLATE [2/3]

#define TEMPLATE ( c)

◆ TEMPLATE [3/3]

#define TEMPLATE ( c)

Function Documentation

◆ dense_force_symmetric()

SEXP dense_force_symmetric ( SEXP from,
const char * class,
char op_ul,
char op_ct )

◆ R_dense_force_symmetric()

SEXP R_dense_force_symmetric ( SEXP s_from,
SEXP s_uplo,
SEXP s_trans )

◆ R_sparse_force_symmetric()

SEXP R_sparse_force_symmetric ( SEXP s_from,
SEXP s_uplo,
SEXP s_trans )

◆ sparse_force_symmetric()

SEXP sparse_force_symmetric ( SEXP from,
const char * class,
char op_ul,
char op_ct )