#include <xmath.h>
Definition at line 269 of file xmath.h.
TCorr::TCorr |
( |
const TFltV & |
ValV1, |
|
|
const TFltV & |
ValV2 |
|
) |
| |
Definition at line 554 of file xmath.cpp.
556 static const double TINY=1.0e-20;
560 double MeanVal1=0;
double MeanVal2=0;
561 {
for (
int ValN=0; ValN<
ValVLen; ValN++){
562 MeanVal1+=ValV1[ValN]; MeanVal2+=ValV2[ValN];}}
567 double syy=0.0;
double sxy=0.0;
double sxx=0.0;
568 {
for (
int ValN=0; ValN<
ValVLen; ValN++){
569 xt=ValV1[ValN]-MeanVal1;
570 yt=ValV2[ValN]-MeanVal2;
TSizeTy Len() const
Returns the number of elements in the vector.
static double BetaI(const double &a, const double &b, const double &x)
double TCorr::GetCorrCf |
( |
| ) |
const |
|
inline |
double TCorr::GetCorrCfPrb |
( |
| ) |
const |
|
inline |
TStr TCorr::GetStr |
( |
| ) |
const |
void TCorr::Save |
( |
TSOut & |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: