|
La Matriz Abstracta no Polimorfica:
|
Ir al código fuente de este archivo.
Clases | |
| class | test_Gauss |
Clase simple para probar Gauss(). Más... | |
'defines' | |
| #define | USE_Matrix_List |
'typedefs' | |
| typedef Mx::Matrix_List < rational< long > > | Rat_Matrix |
Funciones | |
| template<class MAT > | |
| void | print (std::ostream &COUT, MAT &V) |
cout << M; | |
| Rat_Matrix | makeMatrix_long (const char **V, int rows, int cols) |
Retorna una matriz de enteros "M" construida en base a la hilera "V". | |
| int | main () |
Programa principal para probar el algoritmo Gauss(). | |
| #define USE_Matrix_List |
Definición en la línea 11 del archivo test_Gauss.cpp.
| typedef Mx::Matrix_List< rational<long> > Rat_Matrix |
Definición en la línea 19 del archivo test_Gauss.cpp.
| void print | ( | std::ostream & | COUT, |
| MAT & | V | ||
| ) |
cout << M;
Definición en la línea 71 del archivo test_Gauss.cpp.
| Rat_Matrix makeMatrix_long | ( | const char ** | V, |
| int | rows, | ||
| int | cols | ||
| ) |
Retorna una matriz de enteros "M" construida en base a la hilera "V".
{{ // test::makeMatrix_long()
const char *M_val[3] = {
" 0 1 2 3 4 5 6" ,
"10 11 12 13 14 15 16" ,
"20 21 22 23 24 25 26"
};
Rat_Matrix M = makeMatrix_long( M_val, 3, 7 );
for (unsigned i=0; i<M.rows(); ++i) {
for (unsigned j=0; j<M.cols(); ++j) {
cout << M(i,j);
}
cout << endl;
}
}}
Definición en la línea 170 del archivo test_Gauss.cpp.
| int main | ( | ) |
Programa principal para probar el algoritmo Gauss().
Definición en la línea 240 del archivo test_Gauss.cpp.
1.8.0