#include <jem/numeric/func/UserFunc.h>
|
| UserFunc () |
|
| UserFunc (ufunc::CodeBlock *code) |
|
| UserFunc (const String &args, const String &expr) |
|
virtual String | toString () const |
| Returns a short textual description of this object. More...
|
|
virtual void | readFrom (ObjectInput &in) |
|
virtual void | writeTo (ObjectOutput &out) const |
|
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 |
|
void | resolve (int options=0) |
|
void | resolve (const Dictionary &symbols, int options=0) |
|
void | resolve (const NameSpace &symbols, int options=0) |
|
void | unresolve () |
|
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 |
|
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...
|
|
jem::numeric::UserFunc::UserFunc |
( |
| ) |
|
jem::numeric::UserFunc::UserFunc |
( |
ufunc::CodeBlock * |
code | ) |
|
|
explicit |
jem::numeric::UserFunc::UserFunc |
( |
const String & |
args, |
|
|
const String & |
expr |
|
) |
| |
virtual jem::numeric::UserFunc::~UserFunc |
( |
| ) |
|
|
protectedvirtual |
virtual String jem::numeric::UserFunc::toString |
( |
| ) |
const |
|
virtual |
Returns a short textual description of this object. The toString
method of the class Object
returns:
getClass()->getName() + "@" + String( hashValue() )
- Returns
- A
String
representing this object.
Reimplemented from jem::Object.
virtual void jem::numeric::UserFunc::readFrom |
( |
ObjectInput & |
in | ) |
|
|
virtual |
virtual void jem::numeric::UserFunc::writeTo |
( |
ObjectOutput & |
out | ) |
const |
|
virtual |
virtual idx_t jem::numeric::UserFunc::argCount |
( |
| ) |
const |
|
virtual |
virtual double jem::numeric::UserFunc::getValue |
( |
const double * |
args | ) |
const |
|
virtual |
virtual double jem::numeric::UserFunc::getDeriv |
( |
idx_t |
iarg, |
|
|
const double * |
args |
|
) |
| const |
|
virtual |
virtual idx_t jem::numeric::UserFunc::markUsedArgs |
( |
bool * |
mask | ) |
const |
|
virtual |
void jem::numeric::UserFunc::resolve |
( |
int |
options = 0 | ) |
|
void jem::numeric::UserFunc::resolve |
( |
const Dictionary & |
symbols, |
|
|
int |
options = 0 |
|
) |
| |
void jem::numeric::UserFunc::resolve |
( |
const NameSpace & |
symbols, |
|
|
int |
options = 0 |
|
) |
| |
void jem::numeric::UserFunc::unresolve |
( |
| ) |
|
static Ref<Self> jem::numeric::UserFunc::parse |
( |
ArgList & |
args, |
|
|
const String & |
expr |
|
) |
| |
|
static |
const int jem::numeric::UserFunc::RESOLVE_STRICT |
|
static |