Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
68867a5f
Commit
68867a5f
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Fix missing std namespace.
parent
24344391
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/algorithm/factorization/faust_SVDTJ.cpp.in
+3
-0
3 additions, 0 deletions
src/algorithm/factorization/faust_SVDTJ.cpp.in
wrapper/matlab/CMakeLists.txt
+2
-0
2 additions, 0 deletions
wrapper/matlab/CMakeLists.txt
wrapper/matlab/src/mexsvdtj.cpp.in
+5
-2
5 additions, 2 deletions
wrapper/matlab/src/mexsvdtj.cpp.in
with
10 additions
and
2 deletions
src/algorithm/factorization/faust_SVDTJ.cpp.in
+
3
−
0
View file @
68867a5f
...
...
@@ -5,6 +5,9 @@
#include "faust_SVDTJ.h"
#include "faust_TransformHelper.h"
#include <complex>
using namespace std;
namespace Faust
{
...
...
This diff is collapsed.
Click to expand it.
wrapper/matlab/CMakeLists.txt
+
2
−
0
View file @
68867a5f
...
...
@@ -160,6 +160,8 @@ foreach(SCALAR_AND_FSUFFIX IN LISTS MEX_TYPES_AND_SUFFIXES) # TODO: complex<floa
# Truncated Jacobi eigtj and svdtj
if
(
NOT
${
FAUST_SCALAR
}
MATCHES
"complex"
)
set
(
SVD_COMPLEX 1
)
set
(
REAL_TYPE
${
FAUST_SCALAR
}
)
configure_file
(
${
FAUST_MATLAB_MEX_SRC_DIR
}
/mex_eigtj.cpp.in
${
FAUST_MATLAB_MEX_SRC_DIR
}
/mex_eigtj
${
SCALAR
}
.cpp @ONLY
)
configure_file
(
${
FAUST_MATLAB_MEX_SRC_DIR
}
/mexsvdtj.cpp.in
${
FAUST_MATLAB_MEX_SRC_DIR
}
/mexsvdtj
${
SCALAR
}
.cpp @ONLY
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
wrapper/matlab/src/mexsvdtj.cpp.in
+
5
−
2
View file @
68867a5f
...
...
@@ -49,12 +49,15 @@
#include "mx2Faust.h"
#include "faust2Mx.h"
#include <stdexcept>
#include <complex>
using namespace Faust;
using namespace std;
typedef @FAUST_SCALAR@ SCALAR;
//typedef complex<SCALAR> CPLX_SCALAR; // re-enable if one day complex<float> is supported
//typedef
std::
complex<SCALAR> CPLX_SCALAR; // re-enable if one day complex<float> is supported
typedef complex<double> CPLX_SCALAR;
using namespace Faust;
//void svdtj_cplx(const mxArray* matlab_matrix, int J, int t, double tol, unsigned int verbosity, bool relErr, int order, const bool enable_large_Faust mxArray **plhs);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment