1 #ifndef __JOSCPROB__JCOMPLEXPHASE__
2 #define __JOSCPROB__JCOMPLEXPHASE__
16 namespace JPP {
using namespace JOSCPROB; }
26 template<
class T =
double>
84 return this->
isDefined() ? !(phase < 0.0 || phase > 2 * M_PI) :
true;
189 return (this->
isDefined() ? !(minPhase < 0.0 || minPhase > 2 * M_PI ||
190 maxPhase < 0.0 || maxPhase > 2 * M_PI) :
true);
JOscParameter_t::JParameter_t JParameter_t
Abstract base class for oscillation parameter.
JComplexPhase(argument_type grid)
Constructor.
static JComplexPhase_t make_parameter(const abscissa_type &value)
Auxiliary function to create a complex phase parameter grid.
JComplexPhase< JGrid_t > JComplexPhase_t
JOscParameter< JGrid_t > JOscParameter_t
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
JComplexPhase< T > JComplexPhase_t
JComplexPhase()
Default constructor.
static JComplexPhase_t make_parameter(argument_type value)
Auxiliary function to create a complex phase parameter grid.
void setValue(argument_type value)
Set parameter.
JOscParameter_t::argument_type argument_type
Implementation of oscillation complex phase.
JOscParameter< T > JOscParameter_t
JComplexPhase(argument_type value)
Constructor.
const bool isDefined() const
Get status of parameter.
JParameter_t::argument_type argument_type
bool is_valid() const override
Check validity of oscillation parameter.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
JGrid_t::abscissa_type abscissa_type
JClass< T >::argument_type argument_type
JComplexPhase(const int nx, const abscissa_type &xmin, const abscissa_type &xmax)
Constructor.
bool is_valid() const override
Check validity of oscillation parameter.
JOscParameter_t::JParameter_t JParameter_t
JOscParameter_t::argument_type argument_type
const T & getValue() const
Get value of parameter.
JComplexPhase(const abscissa_type &value)
Constructor.
Exception for accessing a value in a collection that is outside of its range.
JComplexPhase_t & operator=(argument_type value)
Assignment operator.
JComplexPhase()
Default constructor.
JComplexPhase_t & operator=(argument_type grid)
Assignment operator.