SCM

SCM Repository

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

View of /pkg/src/cs_utils.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1960 - (download) (as text) (annotate)
Fri Jul 6 16:54:43 2007 UTC (11 years, 11 months ago) by maechler
File size: 485 byte(s)
merge 'branches/Matrix-APIchange' back into the trunk
#ifndef CS_UTILS_H
#define CS_UTILS_H

#include "cs.h"
#include "Mutils.h"

typedef cs  *CSP ;

CSP Matrix_as_cs(CSP ans, SEXP x);
SEXP Matrix_cs_to_SEXP(CSP A, char *cl, int dofree);

#define AS_CSP(x) Matrix_as_cs((CSP)alloca(sizeof(cs)), x )

#if 0				/* unused */
css *Matrix_as_css(css *ans, SEXP x);
csn *Matrix_as_csn(csn *ans, SEXP x);
SEXP Matrix_css_to_SEXP(css *S, char *cl, int dofree, int m, int n);
SEXP Matrix_csn_to_SEXP(csn *N, char *cl, int dofree);
#endif  

#endif

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge