SCM

SCM Repository

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

Diff of /pkg/src/Mutils.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 412, Tue Dec 28 15:06:55 2004 UTC revision 493, Thu Feb 3 18:47:20 2005 UTC
# Line 3  Line 3 
3    
4  #include <Rdefines.h>  #include <Rdefines.h>
5  #include <Rconfig.h>  #include <Rconfig.h>
6    #include "cblas.h"
7    
8    /* 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  char norm_type(char *typstr);  char norm_type(char *typstr);
22  char rcond_type(char *typstr);  char rcond_type(char *typstr);
23  double get_double_by_name(SEXP obj, char *nm);  double get_double_by_name(SEXP obj, char *nm);
24  SEXP set_double_by_name(SEXP obj, double val, char *nm);  SEXP set_double_by_name(SEXP obj, double val, char *nm);
25  SEXP as_det_obj(double val, int log, int sign);  SEXP as_det_obj(double val, int log, int sign);
26  SEXP get_factorization(SEXP obj, char *nm);  SEXP get_factors(SEXP obj, char *nm);
27  SEXP set_factorization(SEXP obj, SEXP val, char *nm);  SEXP set_factors(SEXP obj, SEXP val, char *nm);
28  SEXP cscMatrix_set_Dim(SEXP x, int nrow);  SEXP dgCMatrix_set_Dim(SEXP x, int nrow);
29  int csc_unsorted_columns(int ncol, const int p[], const int i[]);  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[]);  void csc_sort_columns(int ncol, const int p[], int i[], double x[]);
31  SEXP triple_as_SEXP(int nrow, int ncol, int nz,  SEXP triple_as_SEXP(int nrow, int ncol, int nz,
# Line 28  Line 42 
42  void nlme_check_Lapack_error(int info, const char *laName);  void nlme_check_Lapack_error(int info, const char *laName);
43  SEXP nlme_replaceSlot(SEXP obj, SEXP names, SEXP value);  SEXP nlme_replaceSlot(SEXP obj, SEXP names, SEXP value);
44  SEXP nlme_weight_matrix_list(SEXP MLin, SEXP wts, SEXP adjst, SEXP MLout);  SEXP nlme_weight_matrix_list(SEXP MLin, SEXP wts, SEXP adjst, SEXP MLout);
45    SEXP Matrix_make_named(int TYP, char **names);
46                                  /* stored pointers to symbols */                                  /* stored pointers to symbols */
47                                  /* initialized in R_init_Matrix */                                  /* initialized in R_init_Matrix */
48  extern  extern
49  #include "Syms.h"  #include "Syms.h"
50    
51    /* zero an array */
52    #define AZERO(x, n) {int _I_, _SZ_ = (n); for(_I_ = 0; _I_ < _SZ_; _I_++) (x)[_I_] = 0;}
53    
54    
55  #endif  #endif
56    

Legend:
Removed from v.412  
changed lines
  Added in v.493

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