| Bsoft 2.0.5 Bernard's software package

matrix_util.h
Go to the documentation of this file.
1
9 #include "Matrix.h"
10 #include "rwimg.h"
11
12 // Function prototypes
13 int matrix_normalize(Matrix& m);
14 double matrix_find_cutoff_for_number(Matrix m, int n);
15 int matrix_log_1_R(Matrix matrix);
16 int* matrix_find_linear_sequence(Matrix, int window);
17 int matrix_permute(int i, int j, Matrix, int* order,
18 double* best_R, int* best_order);
19 double matrix_calc_dist_fit(Matrix, int* order);
20 Bimage* img_from_matrix(Matrix& matrix, long scale);
21
Matrix.h
Generalized matrix class.
matrix_find_linear_sequence
int * matrix_find_linear_sequence(Matrix, int window)
Finds a linear sequence of elements based on a pairwise matrix.
Definition: matrix_util.cpp:129
Bimage
General image parameter class.
Definition: Bimage.h:163
matrix_normalize
int matrix_normalize(Matrix &m)
Normalizes a matrix.
Definition: matrix_util.cpp:27
matrix_find_cutoff_for_number
double matrix_find_cutoff_for_number(Matrix m, int n)
Calculates a cutoff to ensure that the given number of elements fall below it.
Definition: matrix_util.cpp:78
img_from_matrix
Bimage * img_from_matrix(Matrix &matrix, long scale)
Converts a matrix to an image.
Definition: matrix_util.cpp:298
matrix_calc_dist_fit
double matrix_calc_dist_fit(Matrix, int *order)
Calculates an R-factor for a specific order of elements in a pairwise matrix.
Definition: matrix_util.cpp:232
matrix_permute
int matrix_permute(int i, int j, Matrix, int *order, double *best_R, int *best_order)
Permutes the order of a pairwise matrix and calculate a distance criterion.
Definition: matrix_util.cpp:182
Matrix
Definition: Matrix.h:21
matrix_log_1_R
int matrix_log_1_R(Matrix matrix)
Calculates the logarithmic derivative of an R-factor in a matrix.
Definition: matrix_util.cpp:107
rwimg.h
Header file for 2D and 3D image I/O.