-
- Downloads
Simplify/Secure the mexHierarchical_fact function by reviewing the translation...
Simplify/Secure the mexHierarchical_fact function by reviewing the translation of matlab params struct to C++ Faust::Params equivalent. - Simplifying by refactoring utility functions to mx2Faust.h/c(pp) (mxArray2FaustParams() added), deleting the forest of if-else in testCoherence(). - Securing by avoiding to rely on number indices to identify fields but rather rely on constants (enum MAT_FIELD added for that purpose, with conversion functions from and to string). - This update will be useful to write matlab wrapper to FactHierarchicalFactF(G)FT. Related secondary change: - Removing useless M (matrix) argument in matfaust.FaustFactory.fact_hierarchical() in init. of params struct. It's not perfect: mxArray2FaustParams() could be refactored. This modification was discussed before for 32790a99 next to issue #66.
Showing
- wrapper/matlab/+matfaust/@FaustFactory/FaustFactory.m 1 addition, 1 deletionwrapper/matlab/+matfaust/@FaustFactory/FaustFactory.m
- wrapper/matlab/src/mexHierarchical_fact.cpp.in 39 additions, 265 deletionswrapper/matlab/src/mexHierarchical_fact.cpp.in
- wrapper/matlab/src/mexPalm4MSA.cpp.in 1 addition, 0 deletionswrapper/matlab/src/mexPalm4MSA.cpp.in
- wrapper/matlab/tools/mx2Faust.cpp 60 additions, 89 deletionswrapper/matlab/tools/mx2Faust.cpp
- wrapper/matlab/tools/mx2Faust.h 32 additions, 3 deletionswrapper/matlab/tools/mx2Faust.h
- wrapper/matlab/tools/mx2Faust.hpp 175 additions, 25 deletionswrapper/matlab/tools/mx2Faust.hpp
Loading
Please register or sign in to comment