|
enum | element_type { REAL,
COMPLEX,
INTEGER
} |
| An enumeration of element types. More...
|
|
typedef jdouble | raOp_t (const jdouble *, jint) |
| Defines a real accumulator operation.
|
|
typedef jcomplex | caOp_t (const jcomplex *, jint) |
| Defines a complex accumulator operation.
|
|
typedef void | ruOp_t (jdouble, jdouble *, jint) |
| Defines a real unary operation.
|
|
typedef void | cuOp_t (jcomplex, jcomplex *, jint) |
| Defines a complex unary operation.
|
|
typedef void | iuOp_t (jint, jint *, jint) |
| Defines an integer unary operation.
|
|
typedef void | ctorOp_t (const jcomplex *, jdouble *, jint) |
| Defines a complex-to-real operation.
|
|
typedef void | rtocOp_t (const jdouble *, jcomplex *, jint) |
| Defines a real-to-complex operation.
|
|
typedef void | itorOp_t (const jint *, jdouble *, jint) |
| Defines an integer-to-real operation.
|
|
|
template<class T > |
T | accumulatorOpProxy (JNIEnv *env, T(*op)(const T *, jint), jarray srcV, jboolean complex) |
|
template<class T > |
void | unaryOpProxy (JNIEnv *env, void(*op)(T, T *, jint), jarray srcV, T argument, jboolean complex) |
|
template<class T > |
void | binaryOpProxy (JNIEnv *env, jint type, jarray lhsV, jarray rhsV, jarray dstV, ElementOps::element_type elementType) |
|
template<class S , class T > |
void | convertProxy (JNIEnv *env, void(*op)(const S *, T *, jint), jarray srcV, jboolean isSrcComplex, jarray dstV, jboolean isDstComplex) |
|
template<class T > |
void | eAdd (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | eSub (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | eMul (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | eDiv (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | eMax (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | eMin (const T *a, const T *b, T *r, jint len) |
|
template<class T > |
void | uSqr (T a, T *v, jint len) |
|
template<class T > |
void | uInv (T a, T *v, jint len) |
|
template<class T > |
void | uAdd (T a, T *v, jint len) |
|
template<class T > |
void | uMul (T a, T *v, jint len) |
|
template<class T > |
void | uFill (T a, T *v, jint len) |
|
template<class T > |
void | uShuffle (T a, T *v, jint len) |
|
|
static jdouble | raOp (JNIEnv *env, jobject thisObj, jint type, jdoubleArray srcV) |
| Performs a real accumulator operation. More...
|
|
static jdoubleArray | caOp (JNIEnv *env, jobject thisObj, jint type, jdoubleArray srcV) |
| Performs a complex accumulator operation. More...
|
|
static void | ruOp (JNIEnv *env, jobject thisObj, jint type, jdouble a, jdoubleArray srcV) |
| Applies a real unary operation. More...
|
|
static void | cuOp (JNIEnv *env, jobject thisObj, jint type, jdouble aRe, jdouble aIm, jdoubleArray srcV) |
| Applies a complex unary operation. More...
|
|
static void | iuOp (JNIEnv *env, jobject thisObj, jint type, jint a, jintArray srcV) |
| Applies an integer unary operation. More...
|
|
static void | eOp (JNIEnv *env, jobject thisObj, jint type, jobject lhsV, jobject rhsV, jobject dstV, jboolean complex) |
| Applies a binary operation. More...
|
|
static void | convert (JNIEnv *env, jobject thisObj, jint type, jobject srcV, jboolean isSrcComplex, jobject dstV, jboolean isDstComplex) |
| Performs a conversion operation. More...
|
|
template<class T > |
static void | uAdd (T, T *, jint) |
| Templatized unary addition.
|
|
template<class T > |
static void | uMul (T, T *, jint) |
| Templatized unary multiplication.
|
|
template<class T > |
static void | uSqr (T, T *, jint) |
| Templatized unary square.
|
|
template<class T > |
static void | uInv (T, T *, jint) |
| Templatized unary inverse.
|
|
template<class T > |
static void | uFill (T, T *, jint) |
| Templatized unary fill.
|
|
template<class T > |
static void | uShuffle (T, T *, jint) |
| Templatized unary shuffle.
|
|
template<class T > |
static void | eAdd (const T *, const T *, T *, jint) |
| Templatized binary addition.
|
|
template<class T > |
static void | eSub (const T *, const T *, T *, jint) |
| Templatized binary subtraction.
|
|
template<class T > |
static void | eMul (const T *, const T *, T *, jint) |
| Templatized binary multiplication.
|
|
template<class T > |
static void | eDiv (const T *, const T *, T *, jint) |
| Templatized binary division.
|
|
template<class T > |
static void | eMax (const T *, const T *, T *, jint) |
| Templatized binary maximum.
|
|
template<class T > |
static void | eMin (const T *, const T *, T *, jint) |
| Templatized binary minimum.
|
|
A class for element-based operations.