|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.friendularity.api.struct.NumericNode<NumType>
public abstract class NumericNode<NumType>
Wrapper for an arbitrary numeric object. Currently allows the NumberMapper feature to be overridden by subclasses, but will prefer a delegate mapper if supplied.
| Constructor Summary | |
|---|---|
NumericNode(int dim,
NumType initNumObj)
|
|
| Method Summary | |
|---|---|
protected void |
clearResultCache()
|
void |
doUpdate(org.cogchar.bind.symja.MathGate mathGate)
|
NumType |
getOutputObject()
|
protected abstract void |
readDoublesIntoBuf(org.cogchar.bind.symja.MathGate mathGate,
double[] buffer)
This is our fundamental binding of a type to the MathGate concept. |
protected void |
writeAnyNumericFromAnyDoublesBuf(NumType outObj,
double[] buffer)
Long-name and protected scope. |
void |
writeNumericFromDoublesBuf(NumType outObj,
double[] buffer)
Writes into an existing NumType from a double-buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumericNode(int dim,
NumType initNumObj)
| Method Detail |
|---|
public NumType getOutputObject()
public void writeNumericFromDoublesBuf(NumType outObj,
double[] buffer)
NumericMapper
writeNumericFromDoublesBuf in interface NumericMapper<NumType>
protected void writeAnyNumericFromAnyDoublesBuf(NumType outObj,
double[] buffer)
outObj - buffer -
protected abstract void readDoublesIntoBuf(org.cogchar.bind.symja.MathGate mathGate,
double[] buffer)
mathGate - buffer - protected void clearResultCache()
public void doUpdate(org.cogchar.bind.symja.MathGate mathGate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||