Matrix.cpp File Reference

#include "Matrix.h"

Include dependency graph for Matrix.cpp:

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.


Detailed Description

Author:
Developed under supervision of the PI Yuri Shprits

Definition in file Matrix.cpp.


Function Documentation

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

Freing memory for 3D matrix.

Definition at line 96 of file Matrix.cpp.

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

Freing memory for 2D matrix.

Definition at line 90 of file Matrix.cpp.

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

Freing memory for 1D matrix.

Definition at line 85 of file Matrix.cpp.

template<class T >
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().

Here is the caller graph for this function:

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

Initilizing memory for 3D matrix.

Definition at line 52 of file Matrix.cpp.

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

Initilizing memory for 2D matrix.

Definition at line 32 of file Matrix.cpp.

References i.

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

Allocating memory for 1D matrix.

Definition at line 21 of file Matrix.cpp.


Generated on Thu May 27 11:53:19 2010 for VERB_CODE_2.0 by  doxygen 1.5.9