Mentions légales du service

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

Minor change: refactoring isConjugate in parent class TransformHelperGen.

parent 9043c95a
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,6 @@ namespace Faust
TransformHelper<FPP,Cpu>* adjoint() const;
TransformHelper<FPP,Cpu>* vertcat(const TransformHelper<FPP,Cpu>*);
TransformHelper<FPP,Cpu>* horzcat(const TransformHelper<FPP,Cpu>*);
bool isConjugate() const;
double normL1() const;
double normFro() const;
double normInf() const;
......
......@@ -965,14 +965,6 @@ template<typename FPP>
}
template<typename FPP>
bool TransformHelper<FPP,Cpu>::isConjugate() const
{
return this->is_conjugate;
}
template<typename FPP>
double TransformHelper<FPP,Cpu>::normL1() const {
return this->transform->normL1(this->is_transposed);
......
......@@ -42,6 +42,7 @@ namespace Faust
const char isTransposed2char() const;
bool isTransposed() const;
bool isConjugate() const;
void enable_gpu_meth_for_mul(){}; //TODO: remove later (it is only a special case of TransformHelper Cpu)
virtual faust_unsigned_int size() const=0;
......
......@@ -460,4 +460,10 @@ namespace Faust
clone->copy_mul_mode_state(*th);
return clone;
}
template<typename FPP, FDevice DEV>
bool TransformHelperGen<FPP,DEV>::isConjugate() const
{
return this->is_conjugate;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment