Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 37374535 authored by hhakim's avatar hhakim
Browse files

Remove empty definitions of multiply() in MatGeneric and replace by virtual pure function members.

parent c28e7c3b
Branches
Tags
No related merge requests found
...@@ -104,7 +104,7 @@ namespace Faust ...@@ -104,7 +104,7 @@ namespace Faust
//! \param opThis : character //! \param opThis : character
//! vec = (*this) * vec if opThis='N' //! vec = (*this) * vec if opThis='N'
// vec = (*this)' * vec if opThis='T' // vec = (*this)' * vec if opThis='T'
virtual void multiply(Faust::Vect<FPP,DEVICE> & vec, char opThis='N') const; virtual void multiply(Faust::Vect<FPP,DEVICE> & vec, char opThis='N') const=0;
//! \brief compute MatGeneric-MatDense multiplication //! \brief compute MatGeneric-MatDense multiplication
...@@ -112,7 +112,7 @@ namespace Faust ...@@ -112,7 +112,7 @@ namespace Faust
//! \param opThis : character //! \param opThis : character
//! M = (*this) * M if opThis='N' //! M = (*this) * M if opThis='N'
// M = (*this)' * M if opThis='T' // M = (*this)' * M if opThis='T'
virtual void multiply(Faust::MatDense<FPP,DEVICE> & M, char opThis) const; virtual void multiply(Faust::MatDense<FPP,DEVICE> & M, char opThis) const=0;
......
...@@ -127,19 +127,6 @@ Faust::MatGeneric<FPP,DEVICE>::~MatGeneric() ...@@ -127,19 +127,6 @@ Faust::MatGeneric<FPP,DEVICE>::~MatGeneric()
} }
template<typename FPP,Device DEVICE>
void Faust::MatGeneric<FPP,DEVICE>::multiply(Faust::Vect<FPP,DEVICE> & vec, char opThis) const
{
handleError("Faust::MatGeneric::","multiply (Vect): this function should not be called");
}
template<typename FPP,Device DEVICE>
void Faust::MatGeneric<FPP,DEVICE>::multiply(Faust::MatDense<FPP,DEVICE> & vec, char opThis) const
{
handleError("Faust::MatGeneric::","multiply (MatDense): this function should not be called");
}
template<typename FPP,Device DEVICE> template<typename FPP,Device DEVICE>
void Faust::MatGeneric<FPP,DEVICE>::Display() const void Faust::MatGeneric<FPP,DEVICE>::Display() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment