suanPan
|
An Amplitude class that can generate Amplitude pattern. More...
#include <Modulated.h>
Public Member Functions | |
Modulated (unsigned, double, std::vector< double > &&, unsigned=0) | |
double | get_amplitude (double) override |
void | print () override |
Public Member Functions inherited from Amplitude | |
Amplitude (unsigned=0, unsigned=0) | |
~Amplitude () override=default | |
virtual void | initialize (const shared_ptr< DomainBase > &) |
virtual double | get_amplitude (double) |
void | set_start_step (unsigned) |
unsigned | get_start_step () const |
void | set_start_time (double) |
double | set_start_time () const |
Public Member Functions inherited from Tag | |
Tag (unsigned=0) | |
Tag (const Tag &)=default | |
Tag (Tag &&)=default | |
Tag & | operator= (const Tag &)=delete |
Tag & | operator= (Tag &&)=delete |
virtual | ~Tag ()=default |
void | set_tag (unsigned) const |
unsigned | get_tag () const |
void | enable () |
void | disable () |
void | guard () |
void | unguard () |
bool | is_active () const |
bool | is_guarded () const |
virtual void | print () |
Additional Inherited Members | |
Protected Attributes inherited from Amplitude | |
unsigned | start_step |
double | start_time = 0. |
An Amplitude class that can generate Amplitude pattern.
\begin{gather}a=A\varPi\sin2\pi\omega_i\left(t-t_0\right)\end{gather}
Modulated::Modulated | ( | unsigned | T, |
double | AA, | ||
std::vector< double > && | WW, | ||
unsigned | ST = 0 |
||
) |
|
overridevirtual |
Reimplemented from Amplitude.
|
overridevirtual |
Reimplemented from Tag.