1 #ifndef __MATRIX_H_INCLUDED
2 #define __MATRIX_H_INCLUDED
22 template <
class UsedType>
178 void init(
int row,
int col);
210 void init(
string value);
248 void add(
int rol,
int col, UsedType number);
304 void ones(
int row,
int col);
332 void zeros(
int row,
int col);
362 void randU(
int row,
int col);
563 Matrix operator+(UsedType a);
637 Matrix operator-(UsedType a);
672 void operator=(
Matrix Mat1);
704 void operator=(
string value);
785 Matrix operator*(UsedType a);
859 Matrix operator/(UsedType a);
1009 Matrix operator^(UsedType exp);
1045 Matrix operator> (UsedType num);
1080 UsedType operator() (
int row,
int col);
1122 void operator() (
int row,
int col, UsedType value);
1152 void lineVector(
int left,
int rigth);
1524 UsedType getMat(
int row,
int col);
1526 void setMat(
int row,
int col, UsedType num);
1562 #endif // __MATRIX_H_INCLUDED
UsedType ** Mat
Membro que armazena o número de colunas da Matriz.
int cols
Membro que armazena o número de linhas da Matriz.
Classe Matriz, com o intuito de realizar operações entre matrizes entre outras funções.