#include <ASimuSpectral.hpp>
Abstract Class for operating the Spectral simulations
Public Member Functions | |
| ASimuSpectral (const ACov *cova=nullptr) | |
| ASimuSpectral (const ASimuSpectral &r) | |
| ASimuSpectral & | operator= (const ASimuSpectral &r) |
| virtual | ~ASimuSpectral () |
| void | setCov (const ACov *&cova) |
| const ACov * | getCov () |
| bool | isPrepared () const |
| getPhi () | |
| Id | getNs () const |
| Id | getNDim () const |
| Id | getNVar () const |
| Id | simulate (Id ns, Id seed=4273, bool verbose=false, const ACov *cov0=nullptr, Id nd=100) |
| Id | compute (Db *dbout, Id iuid=0, bool verbose=false, const NamingConvention &namconv=NamingConvention("Simu"), const String &qualifier="simu") |
| gstlrn::ASimuSpectral::ASimuSpectral | ( | const ACov * | cova = nullptr | ) |
| gstlrn::ASimuSpectral::ASimuSpectral | ( | const ASimuSpectral & | r | ) |
|
virtual |
| Id gstlrn::ASimuSpectral::compute | ( | Db * | dbout, |
| Id | iuid = 0, |
||
| bool | verbose = false, |
||
| const NamingConvention & | namconv = NamingConvention("Simu"), |
||
| const String & | qualifier = "simu" |
||
| ) |
|
inline |
| Id gstlrn::ASimuSpectral::getNDim | ( | ) | const |
| Id gstlrn::ASimuSpectral::getNs | ( | ) | const |
| Id gstlrn::ASimuSpectral::getNVar | ( | ) | const |
|
inline |
|
inline |
| ASimuSpectral & gstlrn::ASimuSpectral::operator= | ( | const ASimuSpectral & | r | ) |
|
inline |
| Id gstlrn::ASimuSpectral::simulate | ( | Id | ns, |
| Id | seed = 4273, |
||
| bool | verbose = false, |
||
| const ACov * | cov0 = nullptr, |
||
| Id | nd = 100 |
||
| ) |
Simulate the spectrum components for Rn or S2
| ns | Number of components |
| seed | Seed for random number generation: avoid setting the seed) |
| verbose | Verbose flag |
| cov0 | the auxiliary covariance function used for importance sampling |
| nd | Maximum order of the spectrum on S2 |