in matrixsolvermec hanisms.hpp I have the following:
[HTML]template <class V, class I> class LUTridiagonalSo lver
{ ...
void calculateBetaGa mma();
}[/HTML]
Then in matrixsolvermec hanisms.cpp I have the following:
[HTML]template <class V, class I> void LUTridiagonalSo lver<V,I>::calc ulateBetaGamma( ){
...}[/HTML]
I am getting the following errors about this:
syntax error : missing ';' before '<'
'LUTridiagonalS olver' : illegal use of type 'void'
unrecognizable template declaration/definition
syntax error : '<'
'calculateBetaG amma' : is not a member of '`global namespace''
[HTML]template <class V, class I> class LUTridiagonalSo lver
{ ...
void calculateBetaGa mma();
}[/HTML]
Then in matrixsolvermec hanisms.cpp I have the following:
[HTML]template <class V, class I> void LUTridiagonalSo lver<V,I>::calc ulateBetaGamma( ){
...}[/HTML]
I am getting the following errors about this:
syntax error : missing ';' before '<'
'LUTridiagonalS olver' : illegal use of type 'void'
unrecognizable template declaration/definition
syntax error : '<'
'calculateBetaG amma' : is not a member of '`global namespace''
Comment