File: outSDo.h

package info (click to toggle)
r-cran-pcapp 1.9-73-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 800 kB
  • sloc: cpp: 5,961; ansic: 917; sh: 13; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 669 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "pcaPP.h"

class CSDoOut
{
	public:
		CSDoOut (int *pnParIn, double *pdX, double *pdMaxMaha, int *pnNChanged) ;

		void Calc () ;

	protected:
		void CalcCenter () ;

		void IterObs () ;
		void IterDiffObs (int n) ;
		void IterRand (int n) ;
		void IterRandDiffObs (int n) ;

		int DoDir (const SCVecD &vLoad) ;

		const t_size m_dwN, m_dwP, m_dwIterMethod, m_dwIterParam, m_dwCenterMethod, m_dwScatterMethod, m_dwReset ;

		SMatD m_mX ;
		SVecD m_vMaxMaha ;

		const t_size m_dwNDir ;
		SVecD m_vXProj, m_vCurDir ;
//		SVecN m_vChanged ;
		int * const m_pnNChanged ;
		double * const m_pdDiff ;


		double *m_pdXProj, * const m_pdEndXProj, *m_pdMaxMaha ;
} ;