Matrix  $Rev: 3071 $ at $LastChangedDate: 2015-03-26 15:35:47 +0100 (Thu, 26 Mar 2015) $
dsyMatrix.h File Reference
#include "Mutils.h"
#include "R_ext/Lapack.h"
Include dependency graph for dsyMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SEXP dsyMatrix_as_dspMatrix (SEXP from)
 
SEXP dsyMatrix_as_matrix (SEXP from, SEXP keep_dimnames)
 
SEXP dsyMatrix_matrix_mm (SEXP a, SEXP b, SEXP rt)
 
SEXP dsyMatrix_matrix_solve (SEXP a, SEXP b)
 
SEXP dsyMatrix_norm (SEXP obj, SEXP type)
 
SEXP dsyMatrix_rcond (SEXP obj, SEXP type)
 
SEXP dsyMatrix_solve (SEXP a)
 
SEXP dsyMatrix_trf (SEXP x)
 
double get_norm_sy (SEXP obj, const char *typstr)
 

Function Documentation

SEXP dsyMatrix_as_dspMatrix ( SEXP  from)

Definition at line 170 of file dsyMatrix.c.

References ALLOC_SLOT(), LOW, Matrix_DimNamesSym, Matrix_DimSym, Matrix_factorSym, Matrix_uploSym, Matrix_xSym, NUN, and UPP.

Here is the call graph for this function:

SEXP dsyMatrix_as_matrix ( SEXP  from,
SEXP  keep_dimnames 
)

Definition at line 89 of file dsyMatrix.c.

References make_d_matrix_symmetric(), Matrix_DimSym, Matrix_xSym, and R_symmetric_Dimnames().

Here is the call graph for this function:

SEXP dsyMatrix_matrix_mm ( SEXP  a,
SEXP  b,
SEXP  rt 
)

Definition at line 103 of file dsyMatrix.c.

References _, C_or_Alloca_TO, dup_mMatrix_as_dgeMatrix(), Matrix_DimNamesSym, Matrix_DimSym, Matrix_xSym, SMALL_4_Alloca, and uplo_P.

Here is the call graph for this function:

SEXP dsyMatrix_matrix_solve ( SEXP  a,
SEXP  b 
)

Definition at line 70 of file dsyMatrix.c.

References _, dsyMatrix_trf(), dup_mMatrix_as_dgeMatrix(), Matrix_DimSym, Matrix_permSym, Matrix_xSym, and uplo_P.

Here is the call graph for this function:

SEXP dsyMatrix_norm ( SEXP  obj,
SEXP  type 
)

Definition at line 30 of file dsyMatrix.c.

References get_norm_sy().

Here is the call graph for this function:

SEXP dsyMatrix_rcond ( SEXP  obj,
SEXP  type 
)

Definition at line 36 of file dsyMatrix.c.

References dsyMatrix_trf(), get_norm_sy(), Matrix_DimSym, Matrix_permSym, Matrix_xSym, and uplo_P.

Here is the call graph for this function:

SEXP dsyMatrix_solve ( SEXP  a)

Definition at line 52 of file dsyMatrix.c.

References dsyMatrix_trf(), Matrix_DimSym, Matrix_permSym, Matrix_uploSym, Matrix_xSym, slot_dup, and uplo_P.

Here is the call graph for this function:

SEXP dsyMatrix_trf ( SEXP  x)

Definition at line 137 of file dsyMatrix.c.

References _, ALLOC_SLOT(), AZERO, C_or_Alloca_TO, get_factors(), Matrix_diagSym, Matrix_DimSym, Matrix_permSym, Matrix_uploSym, Matrix_xSym, set_factors(), and SMALL_4_Alloca.

Referenced by dsyMatrix_matrix_solve(), dsyMatrix_rcond(), and dsyMatrix_solve().

Here is the call graph for this function:

Here is the caller graph for this function:

double get_norm_sy ( SEXP  obj,
const char *  typstr 
)

Definition at line 15 of file dsyMatrix.c.

References La_norm_type(), Matrix_DimSym, Matrix_xSym, and uplo_P.

Referenced by dsyMatrix_norm(), and dsyMatrix_rcond().

Here is the call graph for this function:

Here is the caller graph for this function: