NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Protected Attributes | List of all members
nest::ConverseParameter Class Reference

Parameter class for a parameter oriented in the opposite direction. More...

#include <parameter.h>

Inheritance diagram for nest::ConverseParameter:
nest::Parameter

Public Member Functions

 ConverseParameter (const Parameter &p)
 Construct the converse of the given parameter. More...
 
 ConverseParameter (const ConverseParameter &p)
 Copy constructor. More...
 
 ~ConverseParameter ()
 
double_t raw_value (const Position< 2 > &p, librandom::RngPtr &rng) const
 
double_t raw_value (const Position< 3 > &p, librandom::RngPtr &rng) const
 Raw value disregarding cutoff. More...
 
Parameterclone () const
 Clone method. More...
 
- Public Member Functions inherited from nest::Parameter
 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
 
double_t value (const std::vector< double_t > &pt, librandom::RngPtr &rng) const
 
virtual Parametermultiply_parameter (const Parameter &other) const
 Create the product of this parameter with another. More...
 
virtual Parameterdivide_parameter (const Parameter &other) const
 Create the quotient of this parameter with another. More...
 
virtual Parameteradd_parameter (const Parameter &other) const
 Create the sum of this parameter with another. More...
 
virtual Parametersubtract_parameter (const Parameter &other) const
 Create the difference of this parameter with another. More...
 

Protected Attributes

Parameterp_
 

Detailed Description

Parameter class for a parameter oriented in the opposite direction.

Constructor & Destructor Documentation

nest::ConverseParameter::ConverseParameter ( const Parameter p)
inline

Construct the converse of the given parameter.

A copy is made of the supplied Parameter object.

Referenced by clone().

nest::ConverseParameter::ConverseParameter ( const ConverseParameter p)
inline

Copy constructor.

nest::ConverseParameter::~ConverseParameter ( )
inline

References p_.

Member Function Documentation

Parameter* nest::ConverseParameter::clone ( ) const
inlinevirtual

Clone method.

Returns
dynamically allocated copy of parameter object

Implements nest::Parameter.

References ConverseParameter().

double_t nest::ConverseParameter::raw_value ( const Position< 2 > &  p,
librandom::RngPtr rng 
) const
inlinevirtual
Returns
the value of the parameter.

Reimplemented from nest::Parameter.

References p_, and nest::Parameter::raw_value().

double_t nest::ConverseParameter::raw_value ( const Position< 3 > &  ,
librandom::RngPtr  
) const
inlinevirtual

Raw value disregarding cutoff.

Returns
the value of the parameter at the given point.

Reimplemented from nest::Parameter.

References p_, and nest::Parameter::raw_value().

Member Data Documentation

Parameter* nest::ConverseParameter::p_
protected

Referenced by raw_value(), and ~ConverseParameter().


The documentation for this class was generated from the following file: