VERB_code_2.2  2
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Matrix.cpp File Reference
#include "Matrix.h"

Go to the source code of this file.

Macros

#define matrix_array_MATRIX_CPP
 

Functions

template<class T >
T * matrix (long Rows)
 
template<class T >
T ** matrix (long Rows, long Columns)
 
template<class T >
T *** matrix (int size_x, int size_y, int size_z)
 
template<class T >
void free_matrix (T *m)
 
template<class T >
void free_matrix (T **m)
 
template<class T >
void free_matrix (T ***m, int size_x, int size_y)
 
template<class T >
double Linear2D (double x, double y, T &old_grid_x, T &old_grid_y, T &f)
 

Detailed Description

Author
Developed under supervision of the PI Yuri Shprits

Definition in file Matrix.cpp.

Macro Definition Documentation

#define matrix_array_MATRIX_CPP

Definition at line 7 of file Matrix.cpp.

Function Documentation

template<class T >
T* matrix ( long  Rows)
inline

Allocating memory for 1D matrix

Todo:
Move to Matrix.cpp

Definition at line 22 of file Matrix.cpp.

References VC::m, and VF::T().

template<class T >
T** matrix ( long  Rows,
long  Columns 
)
inline

Initilizing memory for 2D matrix

Todo:
Move to Matrix.cpp

Definition at line 34 of file Matrix.cpp.

References VC::m, and VF::T().

template<class T >
T*** matrix ( int  size_x,
int  size_y,
int  size_z 
)
inline

Initializing memory for 3D matrix

Todo:
Move to Matrix.cpp

Definition at line 55 of file Matrix.cpp.

References VC::m, and VF::T().

template<class T >
void free_matrix ( T *  m)
inline

Freeing memory for 1D matrix

Todo:
Move to Matrix.cpp

Definition at line 89 of file Matrix.cpp.

References VC::m.

template<class T >
void free_matrix ( T **  m)
inline

Freeing memory for 2D matrix

Todo:
Move to Matrix.cpp

Definition at line 95 of file Matrix.cpp.

References VC::m.

template<class T >
void free_matrix ( T ***  m,
int  size_x,
int  size_y 
)
inline

Freeing memory for 3D matrix

Todo:
Move to Matrix.cpp

Definition at line 102 of file Matrix.cpp.

References VC::m.

template<class T >
double Linear2D ( double  x,
double  y,
T &  old_grid_x,
T &  old_grid_y,
T &  f 
)

Linear2D. Does not work probably or works only for regular grid. Some other wired interpolation attempts.

Definition at line 1880 of file Matrix.cpp.