#include "Matrix.h"
Go to the source code of this file.
Functions | |
template<class T > | |
T * | matrix (long Rows) |
Allocating memory for 1D matrix. | |
template<class T > | |
T ** | matrix (long Rows, long Columns) |
Initilizing memory for 2D matrix. | |
template<class T > | |
T *** | matrix (int size_x, int size_y, int size_z) |
Initilizing memory for 3D matrix. | |
template<class T > | |
void | free_matrix (T *m) |
Freing memory for 1D matrix. | |
template<class T > | |
void | free_matrix (T **m) |
Freing memory for 2D matrix. | |
template<class T > | |
void | free_matrix (T ***m, int size_x, int size_y) |
Freing memory for 3D matrix. | |
template<class T > | |
double | Linear2D (double x, double y, T &old_grid_x, T &old_grid_y, T &f) |
Linear2D. |
Definition in file Matrix.cpp.
void free_matrix | ( | T *** | m, | |
int | size_x, | |||
int | size_y | |||
) | [inline] |
void free_matrix | ( | T ** | m | ) | [inline] |
void free_matrix | ( | T * | m | ) | [inline] |
double Linear2D | ( | double | x, | |
double | y, | |||
T & | old_grid_x, | |||
T & | old_grid_y, | |||
T & | f | |||
) | [inline] |
Linear2D.
Does not work probably or works only for regular grid. Some other wired interpolation attempts.
Definition at line 1448 of file Matrix.cpp.
References i.
Referenced by Matrix2D< T >::Interpolate().
T*** matrix | ( | int | size_x, | |
int | size_y, | |||
int | size_z | |||
) | [inline] |
T** matrix | ( | long | Rows, | |
long | Columns | |||
) | [inline] |
T* matrix | ( | long | Rows | ) | [inline] |