SCM

SCM Repository

[matrix] Annotation of /pkg/src/init.c
ViewVC logotype

Annotation of /pkg/src/init.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 297 - (view) (download) (as text)

1 : bates 297 #include "LU.h"
2 :     #include "Mutils.h"
3 :     #include "cscMatrix.h"
4 :     #include "dense.h"
5 :     #include "factorizations.h"
6 :     #include "geMatrix.h"
7 :     #include "lmeRep.h"
8 :     #include "poMatrix.h"
9 :     #include "sscCrosstab.h"
10 :     #include "sscMatrix.h"
11 :     #include "ssclme.h"
12 :     #include "syMatrix.h"
13 :     #include "trMatrix.h"
14 :     #include "triplet.h"
15 :     #include "tscMatrix.h"
16 :     #include <R_ext/Rdynload.h>
17 :    
18 :     SEXP
19 :     Matrix_DSym,
20 :     Matrix_DIsqrtSym,
21 :     Matrix_DimSym,
22 :     Matrix_GpSym,
23 :     Matrix_LSym,
24 :     Matrix_LiSym,
25 :     Matrix_LinvSym,
26 :     Matrix_LpSym,
27 :     Matrix_LxSym,
28 :     Matrix_OmegaSym,
29 :     Matrix_ParentSym,
30 :     Matrix_RXXSym,
31 :     Matrix_RZXSym,
32 :     Matrix_XtXSym,
33 :     Matrix_ZtXSym,
34 :     Matrix_ZZxSym,
35 :     Matrix_bVarSym,
36 :     Matrix_cnamesSym,
37 :     Matrix_devianceSym,
38 :     Matrix_devCompSym,
39 :     Matrix_diagSym,
40 :     Matrix_iSym,
41 :     Matrix_ipermSym,
42 :     Matrix_jSym,
43 :     Matrix_matSym,
44 :     Matrix_ncSym,
45 :     Matrix_pSym,
46 :     Matrix_permSym,
47 :     Matrix_statusSym,
48 :     Matrix_uploSym,
49 :     Matrix_xSym,
50 :     Matrix_zSym;
51 :    
52 :     static R_CallMethodDef CallEntries[] = {
53 :     {"csc_check_column_sorting", (DL_FUNC) &csc_check_column_sorting, 1},
54 :     {"nlme_replaceSlot", (DL_FUNC) &nlme_replaceSlot, 3},
55 :     {"nlme_weight_matrix_list", (DL_FUNC) &nlme_weight_matrix_list, 4},
56 :     {"LU_expand", (DL_FUNC) &LU_expand, 1},
57 :     {"csc_crossprod", (DL_FUNC) &csc_crossprod, 1},
58 :     {"csc_matrix_crossprod", (DL_FUNC) &csc_matrix_crossprod, 2},
59 :     {"csc_validate", (DL_FUNC) &csc_validate, 1},
60 :     {"csc_to_triplet", (DL_FUNC) &csc_to_triplet, 1},
61 :     {"csc_to_matrix", (DL_FUNC) &csc_to_matrix, 1},
62 :     {"csc_to_geMatrix", (DL_FUNC) &csc_to_geMatrix, 1},
63 :     {"csc_to_imagemat", (DL_FUNC) &csc_to_imagemat, 1},
64 :     {"matrix_to_csc", (DL_FUNC) &matrix_to_csc, 1},
65 :     {"triplet_to_csc", (DL_FUNC) &triplet_to_csc, 1},
66 :     {"csc_getDiag", (DL_FUNC) &csc_getDiag, 1},
67 :     {"csc_transpose", (DL_FUNC) &csc_transpose, 1},
68 :     {"lsq_dense_Chol", (DL_FUNC) &lsq_dense_Chol, 2},
69 :     {"lsq_dense_QR", (DL_FUNC) &lsq_dense_QR, 2},
70 :     {"lapack_qr", (DL_FUNC) &lapack_qr, 2},
71 :     {"LU_validate", (DL_FUNC) &LU_validate, 1},
72 :     {"Cholesky_validate", (DL_FUNC) &Cholesky_validate, 1},
73 :     {"SVD_validate", (DL_FUNC) &SVD_validate, 1},
74 :     {"geMatrix_validate", (DL_FUNC) &geMatrix_validate, 1},
75 :     {"geMatrix_norm", (DL_FUNC) &geMatrix_norm, 2},
76 :     {"geMatrix_crossprod", (DL_FUNC) &geMatrix_crossprod, 1},
77 :     {"geMatrix_geMatrix_crossprod", (DL_FUNC) &geMatrix_geMatrix_crossprod, 2},
78 :     {"geMatrix_matrix_crossprod", (DL_FUNC) &geMatrix_matrix_crossprod, 2},
79 :     {"geMatrix_getDiag", (DL_FUNC) &geMatrix_getDiag, 1},
80 :     {"geMatrix_LU", (DL_FUNC) &geMatrix_LU, 1},
81 :     {"geMatrix_determinant", (DL_FUNC) &geMatrix_determinant, 2},
82 :     {"geMatrix_solve", (DL_FUNC) &geMatrix_solve, 1},
83 :     {"geMatrix_geMatrix_mm", (DL_FUNC) &geMatrix_geMatrix_mm, 2},
84 :     {"lmeRep_validate", (DL_FUNC) &lmeRep_validate, 1},
85 :     {"lmeRep_crosstab", (DL_FUNC) &lmeRep_crosstab, 1},
86 :     {"lmeRep_create", (DL_FUNC) &lmeRep_create, 2},
87 :     {"lmeRep_update_mm", (DL_FUNC) &lmeRep_update_mm, 3},
88 :     {"lmeRep_initial", (DL_FUNC) &lmeRep_initial, 1},
89 :     {"lmeRep_factor", (DL_FUNC) &lmeRep_factor, 1},
90 :     {"lmeRep_invert", (DL_FUNC) &lmeRep_invert, 1},
91 :     {"lmeRep_sigma", (DL_FUNC) &lmeRep_sigma, 2},
92 :     {"lmeRep_coef", (DL_FUNC) &lmeRep_coef, 2},
93 :     {"lmeRep_coefGets", (DL_FUNC) &lmeRep_coefGets, 3},
94 :     {"lmeRep_fixef", (DL_FUNC) &lmeRep_fixef, 1},
95 :     {"lmeRep_ranef", (DL_FUNC) &lmeRep_ranef, 1},
96 :     {"lmeRep_ECMEsteps", (DL_FUNC) &lmeRep_ECMEsteps, 4},
97 :     {"lmeRep_gradient", (DL_FUNC) &lmeRep_gradient, 3},
98 :     {"lmeRep_variances", (DL_FUNC) &lmeRep_variances, 1},
99 :     {"poMatrix_rcond", (DL_FUNC) &poMatrix_rcond, 2},
100 :     {"poMatrix_solve", (DL_FUNC) &poMatrix_solve, 1},
101 :     {"poMatrix_matrix_solve", (DL_FUNC) &poMatrix_matrix_solve, 2},
102 :     {"poMatrix_geMatrix_solve", (DL_FUNC) &poMatrix_geMatrix_solve, 2},
103 :     {"poMatrix_chol", (DL_FUNC) &poMatrix_chol, 1},
104 :     {"sscCrosstab", (DL_FUNC) &sscCrosstab, 2},
105 :     {"sscCrosstab_groupedPerm", (DL_FUNC) &sscCrosstab_groupedPerm, 1},
106 :     {"sscCrosstab_project2", (DL_FUNC) &sscCrosstab_project2, 1},
107 :     {"sscMatrix_validate", (DL_FUNC) &sscMatrix_validate, 1},
108 :     {"sscMatrix_chol", (DL_FUNC) &sscMatrix_chol, 2},
109 :     {"sscMatrix_inverse_factor", (DL_FUNC) &sscMatrix_inverse_factor, 1},
110 :     {"sscMatrix_matrix_solve", (DL_FUNC) &sscMatrix_matrix_solve, 2},
111 :     {"ssc_transpose", (DL_FUNC) &ssc_transpose, 1},
112 :     {"sscMatrix_to_triplet", (DL_FUNC) &sscMatrix_to_triplet, 1},
113 :     {"sscMatrix_ldl_symbolic", (DL_FUNC) &sscMatrix_ldl_symbolic, 2},
114 :     {"ssclme_create", (DL_FUNC) &ssclme_create, 2},
115 :     {"ssclme_transfer_dimnames", (DL_FUNC) &ssclme_transfer_dimnames, 3},
116 :     {"ssclme_update_mm", (DL_FUNC) &ssclme_update_mm, 3},
117 :     {"ssclme_inflate_and_factor", (DL_FUNC) &ssclme_inflate_and_factor, 1},
118 :     {"ssclme_factor", (DL_FUNC) &ssclme_factor, 1},
119 :     {"ssclme_invert", (DL_FUNC) &ssclme_invert, 1},
120 :     {"ssclme_initial", (DL_FUNC) &ssclme_initial, 1},
121 :     {"ssclme_fixef", (DL_FUNC) &ssclme_fixef, 1},
122 :     {"ssclme_ranef", (DL_FUNC) &ssclme_ranef, 1},
123 :     {"ssclme_sigma", (DL_FUNC) &ssclme_sigma, 2},
124 :     {"ssclme_coef", (DL_FUNC) &ssclme_coef, 2},
125 :     {"ssclme_coefUnc", (DL_FUNC) &ssclme_coefUnc, 1},
126 :     {"ssclme_coefGetsUnc", (DL_FUNC) &ssclme_coefGetsUnc, 2},
127 :     {"ssclme_coefGets", (DL_FUNC) &ssclme_coefGets, 3},
128 :     {"ssclme_EMsteps", (DL_FUNC) &ssclme_EMsteps, 4},
129 :     {"ssclme_fitted", (DL_FUNC) &ssclme_fitted, 4},
130 :     {"ssclme_variances", (DL_FUNC) &ssclme_variances, 1},
131 :     {"ssclme_grad", (DL_FUNC) &ssclme_grad, 4},
132 :     {"ssclme_gradient", (DL_FUNC) &ssclme_gradient, 3},
133 :     {"ssclme_Hessian", (DL_FUNC) &ssclme_Hessian, 3},
134 :     {"ssclme_collapse", (DL_FUNC) &ssclme_collapse, 1},
135 :     {"ssclme_to_lme", (DL_FUNC) &ssclme_to_lme, 8},
136 :     {"syMatrix_validate", (DL_FUNC) &syMatrix_validate, 1},
137 :     {"syMatrix_norm", (DL_FUNC) &syMatrix_norm, 2},
138 :     {"syMatrix_rcond", (DL_FUNC) &syMatrix_rcond, 2},
139 :     {"syMatrix_solve", (DL_FUNC) &syMatrix_solve, 1},
140 :     {"syMatrix_matrix_solve", (DL_FUNC) &syMatrix_matrix_solve, 2},
141 :     {"syMatrix_as_geMatrix", (DL_FUNC) &syMatrix_as_geMatrix, 1},
142 :     {"syMatrix_as_matrix", (DL_FUNC) &syMatrix_as_matrix, 1},
143 :     {"syMatrix_geMatrix_mm", (DL_FUNC) &syMatrix_geMatrix_mm, 2},
144 :     {"syMatrix_geMatrix_mm_R", (DL_FUNC) &syMatrix_geMatrix_mm_R, 2},
145 :     {"trMatrix_validate", (DL_FUNC) &trMatrix_validate, 1},
146 :     {"trMatrix_norm", (DL_FUNC) &trMatrix_norm, 2},
147 :     {"trMatrix_rcond", (DL_FUNC) &trMatrix_rcond, 2},
148 :     {"trMatrix_solve", (DL_FUNC) &trMatrix_solve, 1},
149 :     {"trMatrix_matrix_solve", (DL_FUNC) &trMatrix_matrix_solve, 2},
150 :     {"trMatrix_as_geMatrix", (DL_FUNC) &trMatrix_as_geMatrix, 1},
151 :     {"trMatrix_as_matrix", (DL_FUNC) &trMatrix_as_matrix, 1},
152 :     {"trMatrix_getDiag", (DL_FUNC) &trMatrix_getDiag, 1},
153 :     {"trMatrix_geMatrix_mm", (DL_FUNC) &trMatrix_geMatrix_mm, 2},
154 :     {"trMatrix_geMatrix_mm_R", (DL_FUNC) &trMatrix_geMatrix_mm_R, 2},
155 :     {"triplet_validate", (DL_FUNC) &triplet_validate, 1},
156 :     {"triplet_to_geMatrix", (DL_FUNC) &triplet_to_geMatrix, 1},
157 :     {"tsc_validate", (DL_FUNC) &tsc_validate, 1},
158 :     {"tsc_transpose", (DL_FUNC) &tsc_transpose, 1},
159 :     {"tsc_to_triplet", (DL_FUNC) &tsc_to_triplet, 1},
160 :     {NULL, NULL, 0}
161 :     };
162 :    
163 :     void R_init_Matrix(DllInfo *dll)
164 :     {
165 :     R_useDynamicSymbols(dll, FALSE);
166 :     R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
167 :     Matrix_DSym = install("D");
168 :     Matrix_DIsqrtSym = install("DIsqrt");
169 :     Matrix_DimSym = install("Dim");
170 :     Matrix_GpSym = install("Gp");
171 :     Matrix_LSym = install("L");
172 :     Matrix_LiSym = install("Li");
173 :     Matrix_LinvSym = install("Linv");
174 :     Matrix_LpSym = install("Lp");
175 :     Matrix_LxSym = install("Lx");
176 :     Matrix_OmegaSym = install("Omega");
177 :     Matrix_ParentSym = install("Parent");
178 :     Matrix_RXXSym = install("RXX");
179 :     Matrix_RZXSym = install("RZX");
180 :     Matrix_XtXSym = install("XtX");
181 :     Matrix_ZtXSym = install("ZtX");
182 :     Matrix_ZZxSym = install("ZZx");
183 :     Matrix_bVarSym = install("bVar");
184 :     Matrix_cnamesSym = install("cnames");
185 :     Matrix_devianceSym = install("deviance");
186 :     Matrix_devCompSym = install("devComp");
187 :     Matrix_diagSym = install("diag");
188 :     Matrix_iSym = install("i");
189 :     Matrix_ipermSym = install("iperm");
190 :     Matrix_jSym = install("j");
191 :     Matrix_matSym = install("mat");
192 :     Matrix_ncSym = install("nc");
193 :     Matrix_pSym = install("p");
194 :     Matrix_permSym = install("perm");
195 :     Matrix_statusSym = install("status");
196 :     Matrix_uploSym = install("uplo");
197 :     Matrix_xSym = install("x");
198 :     Matrix_zSym = install("z");
199 :     }

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