SCM

SCM Repository

[matrix] Annotation of /pkg/Matrix/src/Mutils.h
ViewVC logotype

Annotation of /pkg/Matrix/src/Mutils.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 476 - (view) (download) (as text)
Original Path: pkg/src/Mutils.h

1 : bates 10 #ifndef MATRIX_MUTILS_H
2 :     #define MATRIX_MUTILS_H
3 :    
4 :     #include <Rdefines.h>
5 : bates 268 #include <Rconfig.h>
6 : bates 441 #include "cblas.h"
7 : bates 10
8 : bates 447 /* short forms of some enum constants from cblas.h */
9 :     #define RMJ CblasRowMajor
10 :     #define CMJ CblasColMajor
11 :     #define NTR CblasNoTrans
12 :     #define TRN CblasTrans
13 :     #define CTR CblasConjTrans
14 :     #define UPP CblasUpper
15 :     #define LOW CblasLower
16 :     #define NUN CblasNonUnit
17 :     #define UNT CblasUnit
18 :     #define LFT CblasLeft
19 :     #define RGT CblasRight
20 :    
21 : bates 10 char norm_type(char *typstr);
22 :     char rcond_type(char *typstr);
23 :     double get_double_by_name(SEXP obj, char *nm);
24 :     SEXP set_double_by_name(SEXP obj, double val, char *nm);
25 :     SEXP as_det_obj(double val, int log, int sign);
26 : bates 476 SEXP get_factors(SEXP obj, char *nm);
27 :     SEXP set_factors(SEXP obj, SEXP val, char *nm);
28 : bates 10 SEXP cscMatrix_set_Dim(SEXP x, int nrow);
29 :     int csc_unsorted_columns(int ncol, const int p[], const int i[]);
30 :     void csc_sort_columns(int ncol, const int p[], int i[], double x[]);
31 :     SEXP triple_as_SEXP(int nrow, int ncol, int nz,
32 :     const int Ti [], const int Tj [], const double Tx [],
33 :     char *Rclass);
34 :     SEXP csc_check_column_sorting(SEXP A);
35 :     void csc_components_transpose(int m, int n, int nnz,
36 :     const int xp[], const int xi[],
37 :     const double xx[],
38 :     int ap[], int ai[], double ax[]);
39 :     void ssc_symbolic_permute(int n, int upper, const int perm[],
40 :     int Ap[], int Ai[]);
41 :     double *nlme_symmetrize(double *a, const int nc);
42 :     void nlme_check_Lapack_error(int info, const char *laName);
43 : bates 164 SEXP nlme_replaceSlot(SEXP obj, SEXP names, SEXP value);
44 :     SEXP nlme_weight_matrix_list(SEXP MLin, SEXP wts, SEXP adjst, SEXP MLout);
45 : bates 10
46 :     /* stored pointers to symbols */
47 : bates 296 /* initialized in R_init_Matrix */
48 : bates 329 extern
49 :     #include "Syms.h"
50 : bates 10
51 : bates 432 /* zero an array */
52 : bates 441 #define AZERO(x, n) {int _I_, _SZ_ = (n); for(_I_ = 0; _I_ < _SZ_; _I_++) (x)[_I_] = 0;}
53 : bates 432
54 : bates 441
55 : bates 10 #endif
56 :    

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