TriangleFunction Class Reference

TriangleFunction. More...

Inheritance diagram for TriangleFunction:

Inheritance graph
[legend]
Collaboration diagram for TriangleFunction:

Collaboration graph
[legend]
List of all members.

Constructors

 TriangleFunction (Real phase=0.0, Real span=1.0, Real amplitude=1.0)
 TriangleFunction (PropertySettings &prop)
virtual ~TriangleFunction ()

Interface

virtual void apply (RealVec &inputs, RealVec &outputs)
virtual TriangleFunctionclone () const

Detailed Description

Properties
Name Type [isVector] Access mode Description Class
typename string read-only Class's type Propertized
phase Real read/write X offset of the centre PeriodicFunction
span Real read/write distance between peaks PeriodicFunction
amplitude Real read/write nonnegative value of the wave's magnitude PeriodicFunction


Constructor & Destructor Documentation

TriangleFunction ( Real  phase = 0.0,
Real  span = 1.0,
Real  amplitude = 1.0 
)

Construct

TriangleFunction ( PropertySettings prop  ) 

Construct

virtual ~TriangleFunction (  )  [inline, virtual]

Destructor


Member Function Documentation

virtual void apply ( RealVec inputs,
RealVec outputs 
) [virtual]

Implement the Triangle function

Implements PeriodicFunction.

virtual TriangleFunction* clone (  )  const [virtual]

Clone this object

Implements PeriodicFunction.


The documentation for this class was generated from the following file:
BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!