Matrix r4655
Loading...
Searching...
No Matches
cholmod-common.h
Go to the documentation of this file.
1#ifndef MATRIX_CHOLMOD_COMMON_H
2#define MATRIX_CHOLMOD_COMMON_H
3
4#include "cholmod-etc.h"
5
6cholmod_factor * sexp_as_cholmod_factor (cholmod_factor *, SEXP);
7cholmod_sparse * sexp_as_cholmod_sparse (cholmod_sparse *, SEXP,
8 Rboolean, Rboolean);
9cholmod_triplet * sexp_as_cholmod_triplet(cholmod_triplet *, SEXP,
10 Rboolean);
11cholmod_dense * sexp_as_cholmod_dense (cholmod_dense *, SEXP);
12cholmod_dense *numeric_as_cholmod_dense (cholmod_dense *, double *,
13 int, int);
14
15SEXP cholmod_factor_as_sexp (cholmod_factor *, int);
16SEXP cholmod_sparse_as_sexp (cholmod_sparse *, int,
17 int, int, const char *, SEXP);
18SEXP cholmod_triplet_as_sexp(cholmod_triplet *, int,
19 int, int, const char *, SEXP);
20SEXP cholmod_dense_as_sexp (cholmod_dense *, int);
21
22double cholmod_factor_ldetA (cholmod_factor *);
23cholmod_factor *cholmod_factor_update(cholmod_factor *, cholmod_sparse *,
24 double);
25
26int R_cholmod_start (cholmod_common *);
27int R_cholmod_finish(cholmod_common *);
28
32
33#endif /* MATRIX_CHOLMOD_COMMON_H */
int R_cholmod_start(cholmod_common *)
cholmod_factor * cholmod_factor_update(cholmod_factor *, cholmod_sparse *, double)
Update a Cholesky factorization.
void R_cholmod_common_envset(void)
cholmod_factor * sexp_as_cholmod_factor(cholmod_factor *, SEXP)
Coerce from CHMfactor to (cholmod_factor *)
int R_cholmod_finish(cholmod_common *)
SEXP cholmod_sparse_as_sexp(cholmod_sparse *, int, int, int, const char *, SEXP)
Coerce from (cholmod_sparse *) to CsparseMatrix.
double cholmod_factor_ldetA(cholmod_factor *)
Log determinant from Cholesky factorization.
cholmod_dense * sexp_as_cholmod_dense(cholmod_dense *, SEXP)
Coerce from [nlidz]geMatrix or vector to (cholmod_dense *)
void R_cholmod_common_envget(void)
SEXP cholmod_dense_as_sexp(cholmod_dense *, int)
Coerce from (cholmod_dense *) to [dz]geMatrix.
SEXP R_cholmod_common_envini(SEXP)
cholmod_dense * numeric_as_cholmod_dense(cholmod_dense *, double *, int, int)
Coerce from (double *) to (cholmod_dense *) with given dimensions.
SEXP cholmod_triplet_as_sexp(cholmod_triplet *, int, int, int, const char *, SEXP)
Coerce from (cholmod_triplet *) to TsparseMatrix.
cholmod_sparse * sexp_as_cholmod_sparse(cholmod_sparse *, SEXP, Rboolean, Rboolean)
Coerce from CsparseMatrix to (cholmod_sparse *)
SEXP cholmod_factor_as_sexp(cholmod_factor *, int)
Coerce from (cholmod_factor *) to CHMfactor.
cholmod_triplet * sexp_as_cholmod_triplet(cholmod_triplet *, SEXP, Rboolean)
Coerce from TsparseMatrix to (cholmod_triplet *)