NEST
2.6.0,not_revisioned_source_dir@0
|
Abstract base class for parameters. More...
#include <parameter.h>
Public Member Functions | |
Parameter () | |
Default constructor. More... | |
Parameter (double_t cutoff) | |
Constructor. More... | |
Parameter (const DictionaryDatum &d) | |
Constructor Parameter that can be set in the Dictionary: cutoff - Values less than the cutoff are set to zero. More... | |
virtual | ~Parameter () |
Virtual destructor. More... | |
double_t | value (const Position< 2 > &p, librandom::RngPtr &rng) const |
double_t | value (const Position< 3 > &p, librandom::RngPtr &rng) const |
virtual double_t | raw_value (const Position< 2 > &, librandom::RngPtr &) const |
Raw value disregarding cutoff. More... | |
virtual double_t | raw_value (const Position< 3 > &, librandom::RngPtr &) const |
Raw value disregarding cutoff. More... | |
double_t | value (const std::vector< double_t > &pt, librandom::RngPtr &rng) const |
virtual Parameter * | clone () const =0 |
Clone method. More... | |
virtual Parameter * | multiply_parameter (const Parameter &other) const |
Create the product of this parameter with another. More... | |
virtual Parameter * | divide_parameter (const Parameter &other) const |
Create the quotient of this parameter with another. More... | |
virtual Parameter * | add_parameter (const Parameter &other) const |
Create the sum of this parameter with another. More... | |
virtual Parameter * | subtract_parameter (const Parameter &other) const |
Create the difference of this parameter with another. More... | |
Private Attributes | |
double_t | cutoff_ |
Abstract base class for parameters.
|
inline |
Default constructor.
|
inline |
Constructor.
cutoff | Values less than the cutoff are set to zero. |
|
inline |
Constructor Parameter that can be set in the Dictionary: cutoff - Values less than the cutoff are set to zero.
d | dictionary with parameter values |
References nest::names::cutoff, cutoff_, and nest::names::d.
|
inlinevirtual |
Virtual destructor.
Create the sum of this parameter with another.
|
pure virtual |
Clone method.
Implemented in nest::ConverseParameter, nest::DifferenceParameter, nest::SumParameter, nest::QuotientParameter, nest::ProductParameter, nest::AnchoredParameter< D >, nest::LognormalParameter, nest::NormalParameter, nest::UniformParameter, nest::Gaussian2DParameter, nest::GaussianParameter, nest::ExponentialParameter, nest::LinearParameter, and nest::ConstantParameter.
Create the quotient of this parameter with another.
Create the product of this parameter with another.
|
inlinevirtual |
Raw value disregarding cutoff.
Reimplemented in nest::ConverseParameter, nest::DifferenceParameter, nest::SumParameter, nest::QuotientParameter, nest::ProductParameter, nest::LognormalParameter, nest::NormalParameter, nest::UniformParameter, nest::Gaussian2DParameter, nest::RadialParameter, and nest::ConstantParameter.
Referenced by nest::AnchoredParameter< D >::raw_value(), nest::ConverseParameter::raw_value(), and value().
|
inlinevirtual |
Raw value disregarding cutoff.
Reimplemented in nest::ConverseParameter, nest::DifferenceParameter, nest::SumParameter, nest::QuotientParameter, nest::ProductParameter, nest::LognormalParameter, nest::NormalParameter, nest::UniformParameter, nest::Gaussian2DParameter, nest::RadialParameter, and nest::ConstantParameter.
Create the difference of this parameter with another.
|
inline |
References cutoff_, and raw_value().
Referenced by nest::ProductParameter::raw_value(), nest::QuotientParameter::raw_value(), nest::SumParameter::raw_value(), nest::DifferenceParameter::raw_value(), and value().
|
inline |
References cutoff_, and raw_value().
double_t nest::Parameter::value | ( | const std::vector< double_t > & | pt, |
librandom::RngPtr & | rng | ||
) | const |
References value().
|
private |
Referenced by Parameter(), and value().