Jive reference manual
|
#include <jem/numeric/func/ConstantFunc.h>
Public Member Functions | |
ConstantFunc (double value=0.0) | |
virtual void | readFrom (ObjectInput &in) |
virtual void | writeTo (ObjectOutput &out) const |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual idx_t | argCount () const |
virtual double | getValue (const double *args) const |
virtual double | getDeriv (idx_t iarg, const double *args) const |
virtual idx_t | markUsedArgs (bool *mask) const |
Public Member Functions inherited from jem::numeric::Function | |
double | eval () const |
double | eval (double arg) const |
double | eval (double arg0, double arg1) const |
double | eval (double arg0, double arg1, double arg2) const |
double | deriv (double arg) const |
double | deriv (idx_t iarg, double arg0, double arg1) const |
double | deriv (idx_t iarg, double arg0, double arg1, double arg2) const |
Public Member Functions inherited from jem::Object | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Public Attributes | |
double | value |
Protected Member Functions | |
virtual | ~ConstantFunc () |
Protected Member Functions inherited from jem::numeric::Function | |
virtual | ~Function () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Protected Member Functions inherited from jem::io::Serializable | |
virtual | ~Serializable () |
virtual void | emitVtableFunc_ () |
Protected Member Functions inherited from jem::Interface | |
virtual | ~Interface () |
Empty destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
|
explicit |
|
protectedvirtual |
|
virtual |
Implements jem::io::Serializable.
|
virtual |
Implements jem::io::Serializable.
|
virtual |
Returns a short textual description of this object. The toString
method of the class Object
returns:
getClass()->getName() + "@" + String( hashValue() )
String
representing this object. Reimplemented from jem::Object.
|
virtual |
Implements jem::numeric::Function.
|
virtual |
Implements jem::numeric::Function.
|
virtual |
Reimplemented from jem::numeric::Function.
|
virtual |
Reimplemented from jem::numeric::Function.
double jem::numeric::ConstantFunc::value |