class: etk::template<T> Matrix


Description:



Synopsis:

+                                Matrix             (Vector2D<int32_t> size,
T* defaultVal);
+ Matrix (int32_t width,
int32_t heigh,
T* defaultVal);
+ Matrix (const Matrix<double> & obj);
+ Matrix (const Matrix<float> & obj);
+ Matrix (const Matrix<int32_t> & obj);
+ virtual ~Matrix ();
+ const Matrix<T> & operator = (const Matrix<T> & obj);
+ const Matrix<T> & operator = (T & value);
+ bool operator == (const Matrix<T> & obj) const;
+ bool operator != (const Matrix<T> & obj) const;
+ const Matrix<T> & operator += (const Matrix<T> & obj);
+ Matrix<T> operator + (const Matrix<T> & obj);
+ const Matrix<T> & operator -= (const Matrix<T> & obj);
+ Matrix<T> operator - (const Matrix<T> & obj);
+ const Matrix<T> & operator *= (const Matrix<T> & obj);
+ Matrix<T> operator * (const Matrix<T> & obj);
+ const T* operator [ ] (int32_t line) const;
+ T* operator [ ] (int32_t line);
+ T & operator ()(int32_tline,int32_t colomn);
+ Matrix<T> operator - ();
+ void clearLowerTriangle ();

Detail:

Matrix

+  Matrix (Vector2D<int32_t> size,
T* defaultVal);
Constructor


Matrix

+  Matrix (int32_t width,
int32_t heigh,
T* defaultVal);



Matrix

+  Matrix (const Matrix<double> & obj);



Matrix

+  Matrix (const Matrix<float> & obj);



Matrix

+  Matrix (const Matrix<int32_t> & obj);



~Matrix

+ virtual  ~Matrix ();
Destructor


operator =

+ const Matrix<T> & operator = (const Matrix<T> & obj);
= assigment


operator =

+ const Matrix<T> & operator = (T & value);



operator ==

+ bool operator == (const Matrix<T> & obj) const;
== operator


operator !=

+ bool operator != (const Matrix<T> & obj) const;
!= operator


operator +=

+ const Matrix<T> & operator += (const Matrix<T> & obj);
+= operator


operator +

+ Matrix<T> operator + (const Matrix<T> & obj);
+ operator


operator -=

+ const Matrix<T> & operator -= (const Matrix<T> & obj);
-= operator


operator -

+ Matrix<T> operator - (const Matrix<T> & obj);
- operator


operator *=

+ const Matrix<T> & operator *= (const Matrix<T> & obj);
= operator


operator *

+ Matrix<T> operator * (const Matrix<T> & obj);
operator


operator [ ]

+ const T* operator [ ] (int32_t line) const;
[] operator


operator [ ]

+ T* operator [ ] (int32_t line);



operator

+ T & operator ()(int32_tline,int32_t colomn);
() operator


operator -

+ Matrix<T> operator - ();
- operator


clearLowerTriangle

+ void clearLowerTriangle ();
Clear the Lower triangle of the current Matrix <pre> x x x x x 0 x x x x 0 0 x x x 0 0 0 x x 0 0 0 0 x </pre>