Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AWG control
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
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
Show more breadcrumbs
whuie2
AWG control
Commits
f72511f5
Commit
f72511f5
authored
1 year ago
by
xiyehu2
Browse files
Options
Downloads
Patches
Plain Diff
sync changes
parent
affcdbe5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Cpp/lib/Waveform.cpp
+4
-0
4 additions, 0 deletions
Cpp/lib/Waveform.cpp
Cpp/lib/Waveform.h
+2
-1
2 additions, 1 deletion
Cpp/lib/Waveform.h
with
6 additions
and
1 deletion
Cpp/lib/Waveform.cpp
+
4
−
0
View file @
f72511f5
...
...
@@ -46,3 +46,7 @@ void Waveform::WaveformParam::setAmplitude(
)
{
this
->
amplitudes
=
otherAmp
;
}
void
Waveform
::
WaveformParam
::
saveParam
(
std
::
string
fileName
)
{
// this->freqTones
}
This diff is collapsed.
Click to expand it.
Cpp/lib/Waveform.h
+
2
−
1
View file @
f72511f5
#pragma once
#include
<Eigen/Dense>
#include
<string>
namespace
Waveform
{
class
WaveformParam
{
public:
...
...
@@ -19,7 +20,7 @@ namespace Waveform {
void
setFreqTone
(
const
Eigen
::
VectorXi
otherTone
);
void
setPhase
(
const
Eigen
::
VectorXd
otherPhase
);
void
setAmplitude
(
const
Eigen
::
VectorXd
otherAmp
);
void
saveParam
(
std
::
string
fileName
);
};
...
...
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