#ifndef MATRIX_SSC_H
#define MATRIX_SSC_H

#include "Mutils.h"
#include "Csparse.h"
/* -> diag_tC() */
#include "chm_common.h"

SEXP R_chkName_Cholesky(SEXP nm, SEXP perm, SEXP LDL, SEXP super);
SEXP R_chm_factor_name (         SEXP perm, SEXP LDL, SEXP super);

SEXP dsCMatrix_Cholesky(SEXP A, SEXP perm, SEXP LDL, SEXP super, SEXP Imult);
SEXP dsCMatrix_LDL_D(SEXP Ap, SEXP permP, SEXP resultKind);
SEXP dsCMatrix_chol(SEXP x, SEXP pivot);
SEXP dsCMatrix_Csparse_solve(SEXP a, SEXP b);
SEXP dsCMatrix_matrix_solve(SEXP a, SEXP b);
SEXP dsCMatrix_to_dgTMatrix(SEXP x);

#endif
