Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c2d3b0fd authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

code faust_MatGeneric.hpp

parent bede6de9
Branches
Tags
No related merge requests found
#include "faust_exception.h"
template<typename FPP,Device DEVICE>
void Faust::MatGeneric<FPP,DEVICE>::setOp(const char op, faust_unsigned_int& nbRowOp, faust_unsigned_int& nbColOp)const
{
if(op == 'N')
{
nbRowOp=getNbRow();
nbColOp=getNbCol();
}
else if(op == 'T')
{
nbRowOp=getNbCol();
nbColOp=getNbRow();
}
else
handleError("Faust::MatGeneric::","setOp : invalid character");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment