Debian Codegraph @

dwtools/SSCP_def.h

raw
1 /* SSCP_def.h
2 *
3 * Copyright (C) 1993-2018 David Weenink
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19
20 #define ooSTRUCT SSCP
21 oo_DEFINE_CLASS (SSCP, TableOfReal)
22
23 oo_DOUBLE (numberOfObservations)
24 oo_VEC (centroid, numberOfColumns)
25
26 /*
27 The following definitions are only needed when we want to use many big diagonal or
28 almost diagonal matrices like for example in a GaussianMixture,
29 or for efficiently calculating many times a distance like a'S^(-1)a
30 */
31 #if oo_DECLARING || oo_DESTROYING
32 oo_INTEGER (expansionNumberOfRows)
33 oo_BOOLEAN (dataChanged)
34 oo_MAT (expansion, expansionNumberOfRows, numberOfColumns)
35 oo_DOUBLE (lnd)
36 oo_MAT (lowerCholeskyInverse, numberOfColumns, numberOfColumns)
37 oo_OBJECT (PCA, 0, pca)
38 #endif
39
40 #if oo_DECLARING
41 void v1_info ()
42 override;
43 #endif
44
45 oo_END_CLASS (SSCP)
46 #undef ooSTRUCT
47
48
49 /* End of file SSCP_def.h */