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
e96ae67a
Commit
e96ae67a
authored
3 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Refactor the bitrev_perm matfaust function to its own file in tools.
parent
28e49ca1
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wrapper/matlab/+matfaust/dst.m
+0
-6
0 additions, 6 deletions
wrapper/matlab/+matfaust/dst.m
wrapper/matlab/tools/bitrev_perm.m
+5
-0
5 additions, 0 deletions
wrapper/matlab/tools/bitrev_perm.m
with
5 additions
and
6 deletions
wrapper/matlab/+matfaust/dst.m
+
0
−
6
View file @
e96ae67a
...
...
@@ -62,12 +62,6 @@ function D = dst(n, varargin)
D
=
real
(
F
);
end
function
P
=
bitrev_perm
(
N
)
index
=
1
:
N
;
new_index
=
BitReversalPermutation
(
index
);
P
=
sparse
(
index
,
new_index
,
ones
(
1
,
N
),
N
,
N
);
end
function
O
=
omega
(
N
)
%% List of n-th root of unit raised to the power of -(k+1) (instead of k as
%in FFT, the purpose is to write the DST).
...
...
This diff is collapsed.
Click to expand it.
wrapper/matlab/tools/bitrev_perm.m
0 → 100644
+
5
−
0
View file @
e96ae67a
function P = bitrev_perm(N)
index = 1:N;
new_index = BitReversalPermutation(index);
P = sparse(index, new_index, ones(1, N), N, N);
end
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