SCM Repository

[matrix] View of /pkg/src/chm_common.h
ViewVC logotype

View of /pkg/src/chm_common.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 922 - (download) (as text) (annotate)
Sun Sep 18 16:33:54 2005 UTC (14 years, 4 months ago) by bates
File size: 420 byte(s)
Added CHOLMOD-based C functions.  Still need methods defined in R and some error checking
#ifndef CHM_COMMON_H
#define CHM_COMMON_H

#include "CHOLMOD/Include/cholmod.h"
#include "Mutils.h"

cholmod_common c;

cholmod_sparse *as_cholmod_sparse(SEXP x);
cholmod_triplet *as_cholmod_triplet(SEXP x);
cholmod_dense *as_cholmod_dense(SEXP x);

SEXP chm_sparse_to_SEXP(cholmod_sparse *a, int free);
SEXP chm_triplet_to_SEXP(cholmod_triplet *a, int free);
SEXP chm_dense_to_SEXP(cholmod_dense *a, int free);

ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge