Quantum Fog  0.9.3
MATRIX.h
1 #pragma once
2 
3 //******************************************
4 template<class TYPE>
5 class MATRIX
6 {
7 private:
8  TYPE * * its_elements_p_p;
9  USHORT its_num_of_rows;
10  USHORT its_num_of_cols;
11 public:
12  VOID clear();
13  VOID copy(const MATRIX<TYPE> & s);
14  VOID set_to_default_mat(
15  const TYPE & default_value,
16  USHORT num_of_rows,
17  USHORT num_of_cols);
18  MATRIX();
19  MATRIX(
20  const TYPE & default_value,
21  USHORT num_of_rows,
22  USHORT num_of_cols);
23  MATRIX(const MATRIX<TYPE> & s );
24  MATRIX<TYPE> & operator=( const MATRIX<TYPE> & rhs ) ;
25  virtual ~MATRIX();
26 
27  USHORT get_num_of_rows() const;
28  USHORT get_num_of_cols() const;
29  TYPE & entry(USHORT row , USHORT col) const;
30 
31 };
32 
Definition: MATRIX.h:5