- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
#define NAT unsigned int
class Matrix {...};
bool ortholin ( Matrix & a, const double * b, double * x )
{
const nat n = a.nRow;
const nat m = a.nCol;
// далее нигде не используется класс матрицы и идет Сишный код
}
bool ortholin ( nat n, nat m, const double * const * a, const double * b, double * x )
{
return ortholin ( Matrix ( n, m, a ), b, x );
}
Follow us!