#include <hyp.fem.interfaces.h>
Public Methods | |
virtual void | SetMatrix (IMatrix *B)=0 |
virtual void | Extract (const t_size &MinX, const t_size &MaxX, const t_size &MinY, const t_size &MaxY, IMatrix *B)=0 |
virtual void | IncrValue (const t_size &X, const t_size &Y, const t_real &Scalar)=0 |
virtual void | SetDim (const t_size &X, const t_size &Y, const t_real &Scalar=0)=0 |
virtual void | SetValue (const t_size &X, const t_size &Y, const t_real &Scalar)=0 |
virtual t_real | GetValue (const t_size &X, const t_size &Y) const=0 |
virtual void | SetMatrix (const t_real &Scalar)=0 |
virtual t_size | GetNbRow () const=0 |
virtual t_size | GetNbColumn () const=0 |
virtual void | Multiply (const t_real &Scalar)=0 |
virtual void | Multiply (const IMatrix *B, IMatrix *C)=0 |
virtual void | Substract (const IMatrix *B)=0 |
virtual void | Invert ()=0 |
virtual void | Add (const IMatrix *B)=0 |
virtual void | Transpose (IMatrix *B)=0 |
virtual bool | IsSymmetrical ()=0 |
virtual void | EraseRow (const t_size &Row)=0 |
virtual void | EraseColumn (const t_size &Column)=0 |
virtual void | EraseRowsAndColumns (const t_mask_array &ColumnMask, const t_mask_array &RowMask)=0 |
In the following documentation, the matrix A is referencied as the component calling one of the method.
|
Adds the Matrix B to the Matrix A. A+=B.
|
|
Erases one of the columns of the Matrix A.
|
|
Erases one of the rows of the Matrix A.
|
|
Erases some of the columns and the rows of the Matrix A.
|
|
Extracts some elements of the matrix A to the Matrix B. The elements are delimited by a square defined itself by four coordinates. The boundaries of the square are extracted as well.
|
|
Gets the number of columns of the Matrix A.
|
|
Gets the number of rows of the Matrix A.
|
|
Retrieves one of the components of the Matrix A. Scalar=A[X][Y].
|
|
Increments one of the components of the Matrix A. A[X][Y]+=Scalar.
|
|
Inverts the Matrix A. A=A-1. |
|
Ckecks whether the Matrix A is symetric. A.Transpose(A)==Identity. |
|
Multiplies two Matrices and stockes the result in another Matrix. A*B=C.
|
|
Multiplies all the component of the Matrix A by a scalar. A*=Scalar.
|
|
Sets the dimension of the matrix A.
|
|
Initializes all the components of the matrix to a same value. A=Scalar.
|
|
B=A.
|
|
Sets one of the components of the Matrix A. A[X][Y]=Scalar.
|
|
Substracts the Matrix A by the Matrix B. A-=B.
|
|
Transposes the Matrix A and stocke the result in the Matrix B. B=Transpose(A).
|
|
|