Hi guys,
I'm trying to use the JAMA libraries which are a templated set of classes,
but my experience in templated classes is limited.
Now, htis is the definition according to the lib's DOxygen breakdown:
template<class Real>
JAMA::Eigenvalu e<Real>::Eigenv alue<Real> ( const TNT::Array2D< Real >
& A ) [inline]
and I try to invoke it with:
TNT::Array2D<do uble> CovarMatrix(3,3 ,0.0);
//(Do stuff to Covar)
JAMA::Eigenvalu e<double> EV(CovarMatrix) ;
but the compilers not having any of it. Could someone please expain the
above notation to me.
Many Thanks
Mike
I'm trying to use the JAMA libraries which are a templated set of classes,
but my experience in templated classes is limited.
Now, htis is the definition according to the lib's DOxygen breakdown:
template<class Real>
JAMA::Eigenvalu e<Real>::Eigenv alue<Real> ( const TNT::Array2D< Real >
& A ) [inline]
and I try to invoke it with:
TNT::Array2D<do uble> CovarMatrix(3,3 ,0.0);
//(Do stuff to Covar)
JAMA::Eigenvalu e<double> EV(CovarMatrix) ;
but the compilers not having any of it. Could someone please expain the
above notation to me.
Many Thanks
Mike
Comment