Debian Codegraph @

dwtools/SSCP.h

raw symbols SCIP
1 #cxx . . $ `<file>/dwtools/SSCP.h`/ifndef _SSCP_h_
2 #define _SSCP_h_cxx . . $ `dwtools/SSCP.h:2:9`!
3 /* SSCP.h
4 *
5 * Copyright (C) 1993-2020 David Weenink
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "PCA.h"cxx . . $ `<file>/dwtools/PCA.h`/
22 #include "TableOfReal_extensions.h"cxx . . $ `<file>/dwtools/TableOfReal_extensions.h`/
23
24 #include "SSCP_def.h"cxx . . $ `<file>/dwtools/SSCP_def.h`/
25
26 #include "SSCP_enums.h"cxx . . $ `<file>/dwtools/SSCP_enums.h`/
27
28 /*
29 Ordered collection of SSCP's
30 All SSCP's must have the same dimensions and labels.
31 */
32 Collection_definecxx . . $ mutableSSCPList# (SSCPList, OrderedOf, SSCP) {
33 };
34
35 void SSCP_initcxx . . $ SSCP_init(82a7ba5d0b6123a). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# dimension, kSSCPstoragecxx . . $ kSSCPstorage# storage);
36
37 autoSSCPcxx . . $ autoSSCP# SSCP_createcxx . . $ SSCP_create(4c168c7b2577fb42). (integercxx . . $ integer# dimension);
38
39 void SSCP_resetcxx . . $ SSCP_reset(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
40
41 void SSCP_drawTwoDimensionalEllipse_insidecxx . . $ SSCP_drawTwoDimensionalEllipse_inside(6ceea6cb4979b94e). (SSCPcxx . . $ SSCP# me, Graphicscxx . . $ Graphics# g, double scale, conststring32cxx . . $ conststring32# label, double fontSize);
42
43 double SSCP_getEllipseScalefactorcxx . . $ SSCP_getEllipseScalefactor(bac7f046fcc98ec3). (SSCPcxx . . $ SSCP# me, double scale, bool confidence);
44
45 void SSCP_drawConcentrationEllipsecxx . . $ SSCP_drawConcentrationEllipse(dbc07c5574c1dc74). (SSCPcxx . . $ SSCP# me, Graphicscxx . . $ Graphics# g, double scale, int confidence,
46 integercxx . . $ integer# d1, integercxx . . $ integer# d2, double xmin, double xmax, double ymin, double ymax, bool garnish);
47
48 void SSCP_setNumberOfObservationscxx . . $ SSCP_setNumberOfObservations(5897e40c8b23316a). (SSCPcxx . . $ SSCP# me, double numberOfObservations);
49
50 void SSCP_setCentroidcxx . . $ SSCP_setCentroid(1b3914eceec964aa). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# component, double value); // only SSCP & Covariance
51
52 void SSCP_setValuecxx . . $ SSCP_setValue(c9fe9ff42982ca47). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# row, integercxx . . $ integer# col, double value); // only SSCP & Covariance
53
54 double SSCP_getNumberOfObservationscxx . . $ SSCP_getNumberOfObservations(aff8a8bd1da17c96). (SSCPcxx . . $ SSCP# me);
55
56 double SSCP_getDegreesOfFreedomcxx . . $ SSCP_getDegreesOfFreedom(aff8a8bd1da17c96). (SSCPcxx . . $ SSCP# me);
57
58 double SSCP_getTotalVariancecxx . . $ SSCP_getTotalVariance(aff8a8bd1da17c96). (SSCPcxx . . $ SSCP# me);
59
60 double SSCP_getCumulativeContributionOfComponentscxx . . $ SSCP_getCumulativeContributionOfComponents(a267c79d4e5823d6). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# from, integercxx . . $ integer# to);
61
62 double SSCP_getLnDeterminantcxx . . $ SSCP_getLnDeterminant(aff8a8bd1da17c96). (SSCPcxx . . $ SSCP# me);
63
64 double SSCP_getConcentrationEllipseAreacxx . . $ SSCP_getConcentrationEllipseArea(934631f20131a055).(SSCPcxx . . $ SSCP# me, double scale, bool confidence, integercxx . . $ integer# d1, integercxx . . $ integer# d2);
65
66 double SSCP_getFractionVariationcxx . . $ SSCP_getFractionVariation(a267c79d4e5823d6). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# from, integercxx . . $ integer# to);
67
68 autoSSCPcxx . . $ autoSSCP# TableOfReal_to_SSCPcxx . . $ TableOfReal_to_SSCP(e6b6a917f4e16020). (TableOfRealcxx . . $ TableOfReal# me, integercxx . . $ integer# rowb, integercxx . . $ integer# rowe, integercxx . . $ integer# colb, integercxx . . $ integer# cole);
69 autoSSCPcxx . . $ autoSSCP# TableOfReal_to_SSCP_rowWeightscxx . . $ TableOfReal_to_SSCP_rowWeights(cabd40e867b6e277). (TableOfRealcxx . . $ TableOfReal# me, integercxx . . $ integer# rowb, integercxx . . $ integer# rowe, integercxx . . $ integer# colb, integercxx . . $ integer# cole, integercxx . . $ integer# weightColumnNumber);
70
71 autoTableOfRealcxx . . $ autoTableOfReal# SSCP_TableOfReal_extractDistanceQuantileRangecxx . . $ SSCP_TableOfReal_extractDistanceQuantileRange(ed8c1a6d47fb8177). (SSCPcxx . . $ SSCP# me, TableOfRealcxx . . $ TableOfReal# thee, double qlow, double qhigh);
72
73 autoTableOfRealcxx . . $ autoTableOfReal# SSCP_to_TableOfRealcxx . . $ SSCP_to_TableOfReal(6feab841dd28acdd). (SSCPcxx . . $ SSCP# me);
74
75 autoTableOfRealcxx . . $ autoTableOfReal# SSCP_extractCentroidcxx . . $ SSCP_extractCentroid(6feab841dd28acdd). (SSCPcxx . . $ SSCP# me);
76
77 autoSSCPListcxx . . $ autoSSCPList# TableOfReal_to_SSCPList_byLabelcxx . . $ TableOfReal_to_SSCPList_byLabel(2e5f452c6e02ade1). (TableOfRealcxx . . $ TableOfReal# me);
78
79 autoPCAcxx . . $ autoPCA# SSCP_to_PCAcxx . . $ SSCP_to_PCA(67c2aab67f958214). (SSCPcxx . . $ SSCP# me);
80
81 void SSCP_expandWithPCAcxx . . $ SSCP_expandWithPCA(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
82
83 void SSCP_unExpandPCAcxx . . $ SSCP_unExpandPCA(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
84
85 void SSCP_getDiagonality_bartlettcxx . . $ SSCP_getDiagonality_bartlett(15c910b590f419bf). (SSCPcxx . . $ SSCP# me, integercxx . . $ integer# numberOfContraints, double *out_chisq, double *out_prob, double *out_df);
86
87 autoSSCPcxx . . $ autoSSCP# SSCPList_to_SSCP_sumcxx . . $ SSCPList_to_SSCP_sum(b57a97f114ea42f6). (SSCPListcxx . . $ SSCPList# me);
88 /* Sum the sscp's and weigh each means with it's numberOfObservations. */
89
90 autoSSCPcxx . . $ autoSSCP# SSCPList_to_SSCP_poolcxx . . $ SSCPList_to_SSCP_pool(b57a97f114ea42f6). (SSCPListcxx . . $ SSCPList# me);
91
92 void SSCPList_getHomegeneityOfCovariances_boxcxx . . $ SSCPList_getHomegeneityOfCovariances_box(24d19a09738a9d38). (SSCPListcxx . . $ SSCPList# me, double *out_probability, double *out_chisq, double *out_df);
93
94 autoSSCPcxx . . $ autoSSCP# SSCP_toTwoDimensionscxx . . $ SSCP_toTwoDimensions(98df761079133683). (SSCPcxx . . $ SSCP# me, constVECVUcxx . . $ constVECVU# const& v1, constVECVUcxx . . $ constVECVU# const& v2);
95
96 autoSSCPListcxx . . $ autoSSCPList# SSCPList_toTwoDimensionscxx . . $ SSCPList_toTwoDimensions(132e4bc636c03e30). (SSCPListcxx . . $ SSCPList# me, constVECVUcxx . . $ constVECVU# const& v1, constVECVUcxx . . $ constVECVU# const& v2);
97
98 autoSSCPListcxx . . $ autoSSCPList# SSCPList_extractTwoDimensionscxx . . $ SSCPList_extractTwoDimensions(1217d8d0c61689e6). (SSCPListcxx . . $ SSCPList# me, integercxx . . $ integer# d1, integercxx . . $ integer# d2);
99
100 /* For inheritors */
101
102 void SSCPList_drawConcentrationEllipsescxx . . $ SSCPList_drawConcentrationEllipses(fd6755b3615ec33c). (SSCPListcxx . . $ SSCPList# me, Graphicscxx . . $ Graphics# g, double scale,
103 bool confidence, conststring32cxx . . $ conststring32# label, integercxx . . $ integer# d1, integercxx . . $ integer# d2, double xmin, double xmax,
104 double ymin, double ymax, double fontSize, bool garnish);
105
106 void SSCPList_getEllipsesBoundingBoxCoordinatescxx . . $ SSCPList_getEllipsesBoundingBoxCoordinates(3598c17e44b4f508). (SSCPListcxx . . $ SSCPList# me, double scale, bool confidence,
107 double *xmin, double *xmax, double *ymin, double *ymax);
108
109 void SSCP_expandcxx . . $ SSCP_expand(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
110 /*
111 Expand a reduced storage SSCP. For efficiency reasons, the unexpanded matrix is also kept in memory.
112 Successive calls to SSCP_expand don't change anything unless dataChanged is true.
113 */
114
115 void SSCP_unExpandcxx . . $ SSCP_unExpand(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
116 /* Use only if the memory is really needed! */
117
118 void SSCP_expandWithLowerCholeskyInversecxx . . $ SSCP_expandWithLowerCholeskyInverse(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me); // create lower square root of covariance matrix
119
120 void SSCP_unExpandLowerCholeskycxx . . $ SSCP_unExpandLowerCholesky(b2bffa5b59e040d8). (SSCPcxx . . $ SSCP# me);
121
122 /* End of file SSCP.h */
123 #endif