You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
337 B
14 lines
337 B
template<class Element> struct TMatrixT;
|
|
typedef TMatrixT<double> TMatrixD;
|
|
|
|
void f(const TMatrixD &m);
|
|
|
|
template<class Element> struct TMatrixT {
|
|
template <class Element2> TMatrixT(const TMatrixT<Element2> &);
|
|
~TMatrixT() {}
|
|
void Determinant () { f(*this); }
|
|
};
|
|
|
|
template struct TMatrixT<float>;
|
|
template struct TMatrixT<double>;
|