void CalcNorm | ( | double | p, | |
double | q, | |||
double & | norm, | |||
double & | c, | |||
double & | s | |||
) | [static] |
Computes .
int ComputeBilinearForm | ( | double ** | dis, | |
int | ni | |||
) | [static] |
Computes the bilinear form to be put in diagonal form from the distance matrix dis
.
Computes the bilinear form:
from the developped formula:
int diag | ( | double ** | dis, | |
int | NumberOfPoints, | |||
double ** | Distances, | |||
svector< double > & | EigenValues, | |||
bool | project | |||
) |
Isometrically embed a set of points with given distances among them in the Euclidean space .
dis | coordinates of the points (returned value) | |
NumberOfPoints | number of points > 2 | |
Distances | distances among the points | |
EigenValues | eigenvalues of dis (returned value) | |
project | indicates if one should project the matrix of distances before putting it in diagonal form (always true except when using the Laplacian) |
Distances
matrix into the dis
matrix, dis
to be put in diagonal form dis
dis
int symqr | ( | double ** | dis, | |
int | ni, | |||
int | nf, | |||
double & | trace, | |||
svector< double > & | EigenValues | |||
) | [static] |
Computes the eigenvalues of the ni
ni
matrix dis
.
const double epsilon = 1.E-12 |
rounding precision