Mentions légales du service

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

Implement MatButterfly::getNonZeros() and getNBytes().

parent fbf26f8e
Branches
Tags
No related merge requests found
...@@ -265,13 +265,13 @@ namespace Faust ...@@ -265,13 +265,13 @@ namespace Faust
template<typename FPP> template<typename FPP>
faust_unsigned_int MatButterfly<FPP, Cpu>::getNonZeros()const faust_unsigned_int MatButterfly<FPP, Cpu>::getNonZeros()const
{ {
//TODO return D1.diagonal().nonZeros() + D2.diagonal().nonZeros();
} }
template<typename FPP> template<typename FPP>
size_t MatButterfly<FPP, Cpu>::getNBytes() const size_t MatButterfly<FPP, Cpu>::getNBytes() const
{ {
//TODO return (D1.rows() + D2.rows() + (D2T.size() != 0?D2T.rows():0)) * sizeof(FPP) + subdiag_ids.size() * sizeof(int);
} }
template<typename FPP> template<typename FPP>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment