73 |
PROD=NSYM+1, |
PROD=NSYM+1, |
74 |
TRANS=PROD+1, |
TRANS=PROD+1, |
75 |
TRACE=TRANS+1, |
TRACE=TRANS+1, |
76 |
SWAP=TRACE+1 |
SWAP=TRACE+1, |
77 |
|
MINVAL=SWAP+1, |
78 |
|
MAXVAL=MINVAL+1 |
79 |
}; |
}; |
80 |
|
|
81 |
ESCRIPT_DLL_API |
ESCRIPT_DLL_API |
311 |
const DataTypes::ValueType* |
const DataTypes::ValueType* |
312 |
resolveNodeUnary(int tid, int sampleNo, size_t& roffset); |
resolveNodeUnary(int tid, int sampleNo, size_t& roffset); |
313 |
|
|
314 |
|
|
315 |
|
const DataTypes::ValueType* |
316 |
|
resolveNodeReduction(int tid, int sampleNo, size_t& roffset); |
317 |
|
|
318 |
const DataTypes::ValueType* |
const DataTypes::ValueType* |
319 |
resolveNodeSample(int tid, int sampleNo, size_t& roffset); |
resolveNodeSample(int tid, int sampleNo, size_t& roffset); |
320 |
|
|
417 |
resolveUnary(ValueType& v, size_t offset,int sampleNo, size_t& roffset) const; |
resolveUnary(ValueType& v, size_t offset,int sampleNo, size_t& roffset) const; |
418 |
|
|
419 |
/** |
/** |
420 |
|
\brief Compute the value of the expression (reduction operation) for the given sample. |
421 |
|
\return Vector which stores the value of the subexpression for the given sample. |
422 |
|
\param v A vector to store intermediate results. |
423 |
|
\param offset Index in v to begin storing results. |
424 |
|
\param sampleNo Sample number to evaluate. |
425 |
|
\param roffset (output parameter) the offset in the return vector where the result begins. |
426 |
|
|
427 |
|
The return value will be an existing vector so do not deallocate it. |
428 |
|
If the result is stored in v it should be stored at the offset given. |
429 |
|
Everything from offset to the end of v should be considered available for this method to use. |
430 |
|
*/ |
431 |
|
ValueType* |
432 |
|
resolveReduction(ValueType& v, size_t offset, int sampleNo, size_t& roffset) const; |
433 |
|
|
434 |
|
/** |
435 |
\brief Compute the value of the expression (unary non-pointwise operation) for the given sample. |
\brief Compute the value of the expression (unary non-pointwise operation) for the given sample. |
436 |
\return Vector which stores the value of the subexpression for the given sample. |
\return Vector which stores the value of the subexpression for the given sample. |
437 |
\param v A vector to store intermediate results. |
\param v A vector to store intermediate results. |