2021-06-27 22:12:02 +01:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
|
|
|
/* Header for class space_kscience_kmath_noa_JNoa */
|
|
|
|
|
|
|
|
#ifndef _Included_space_kscience_kmath_noa_JNoa
|
|
|
|
#define _Included_space_kscience_kmath_noa_JNoa
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2021-07-05 20:20:44 +01:00
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: testException
|
2021-07-06 12:50:52 +01:00
|
|
|
* Signature: (I)I
|
2021-07-05 20:20:44 +01:00
|
|
|
*/
|
2021-07-06 12:50:52 +01:00
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_testException
|
|
|
|
(JNIEnv *, jclass, jint);
|
2021-07-05 20:20:44 +01:00
|
|
|
|
2021-06-27 22:12:02 +01:00
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: cudaIsAvailable
|
|
|
|
* Signature: ()Z
|
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL Java_space_kscience_kmath_noa_JNoa_cudaIsAvailable
|
|
|
|
(JNIEnv *, jclass);
|
|
|
|
|
2021-07-06 19:10:13 +01:00
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getNumThreads
|
|
|
|
* Signature: ()I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getNumThreads
|
|
|
|
(JNIEnv *, jclass);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setNumThreads
|
|
|
|
* Signature: (I)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setNumThreads
|
|
|
|
(JNIEnv *, jclass, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setSeed
|
|
|
|
* Signature: (I)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setSeed
|
|
|
|
(JNIEnv *, jclass, jint);
|
|
|
|
|
2021-07-07 11:58:48 +01:00
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: disposeTensor
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_disposeTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
2021-07-08 09:37:16 +01:00
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fromBlobDouble
|
|
|
|
* Signature: ([D[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fromBlobDouble
|
|
|
|
(JNIEnv *, jclass, jdoubleArray, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fromBlobFloat
|
|
|
|
* Signature: ([F[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fromBlobFloat
|
|
|
|
(JNIEnv *, jclass, jfloatArray, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fromBlobLong
|
|
|
|
* Signature: ([J[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fromBlobLong
|
|
|
|
(JNIEnv *, jclass, jlongArray, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fromBlobInt
|
|
|
|
* Signature: ([I[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fromBlobInt
|
|
|
|
(JNIEnv *, jclass, jintArray, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyTensor
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyToDevice
|
|
|
|
* Signature: (JI)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyToDevice
|
|
|
|
(JNIEnv *, jclass, jlong, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyToDouble
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyToDouble
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyToFloat
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyToFloat
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyToLong
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyToLong
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: copyToInt
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_copyToInt
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: viewTensor
|
|
|
|
* Signature: (J[I)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_viewTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: tensorToString
|
|
|
|
* Signature: (J)Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL Java_space_kscience_kmath_noa_JNoa_tensorToString
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getDim
|
|
|
|
* Signature: (J)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getDim
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getNumel
|
|
|
|
* Signature: (J)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getNumel
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getShapeAt
|
|
|
|
* Signature: (JI)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getShapeAt
|
|
|
|
(JNIEnv *, jclass, jlong, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getStrideAt
|
|
|
|
* Signature: (JI)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getStrideAt
|
|
|
|
(JNIEnv *, jclass, jlong, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getDevice
|
|
|
|
* Signature: (J)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getDevice
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getItemDouble
|
|
|
|
* Signature: (J)D
|
|
|
|
*/
|
|
|
|
JNIEXPORT jdouble JNICALL Java_space_kscience_kmath_noa_JNoa_getItemDouble
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getItemFloat
|
|
|
|
* Signature: (J)F
|
|
|
|
*/
|
|
|
|
JNIEXPORT jfloat JNICALL Java_space_kscience_kmath_noa_JNoa_getItemFloat
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getItemLong
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_getItemLong
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getItemInt
|
|
|
|
* Signature: (J)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getItemInt
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getDouble
|
|
|
|
* Signature: (J[I)D
|
|
|
|
*/
|
|
|
|
JNIEXPORT jdouble JNICALL Java_space_kscience_kmath_noa_JNoa_getDouble
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getFloat
|
|
|
|
* Signature: (J[I)F
|
|
|
|
*/
|
|
|
|
JNIEXPORT jfloat JNICALL Java_space_kscience_kmath_noa_JNoa_getFloat
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getLong
|
|
|
|
* Signature: (J[I)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_getLong
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: getInt
|
|
|
|
* Signature: (J[I)I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL Java_space_kscience_kmath_noa_JNoa_getInt
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setDouble
|
|
|
|
* Signature: (J[ID)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setDouble
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray, jdouble);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setFloat
|
|
|
|
* Signature: (J[IF)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setFloat
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray, jfloat);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setLong
|
|
|
|
* Signature: (J[IJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setLong
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setInt
|
|
|
|
* Signature: (J[II)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setInt
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randDouble
|
|
|
|
* Signature: ([II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randDouble
|
|
|
|
(JNIEnv *, jclass, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randnDouble
|
|
|
|
* Signature: ([II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randnDouble
|
|
|
|
(JNIEnv *, jclass, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randFloat
|
|
|
|
* Signature: ([II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randFloat
|
|
|
|
(JNIEnv *, jclass, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randnFloat
|
|
|
|
* Signature: ([II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randnFloat
|
|
|
|
(JNIEnv *, jclass, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randintLong
|
|
|
|
* Signature: (JJ[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randintLong
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randintInt
|
|
|
|
* Signature: (JJ[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randintInt
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randLike
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randLike
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randLikeAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_randLikeAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randnLike
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randnLike
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randnLikeAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_randnLikeAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randintLike
|
|
|
|
* Signature: (JJJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_randintLike
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: randintLikeAssign
|
|
|
|
* Signature: (JJJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_randintLikeAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fullDouble
|
|
|
|
* Signature: (D[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fullDouble
|
|
|
|
(JNIEnv *, jclass, jdouble, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fullFloat
|
|
|
|
* Signature: (F[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fullFloat
|
|
|
|
(JNIEnv *, jclass, jfloat, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fullLong
|
|
|
|
* Signature: (J[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fullLong
|
|
|
|
(JNIEnv *, jclass, jlong, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: fullInt
|
|
|
|
* Signature: (I[II)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_fullInt
|
|
|
|
(JNIEnv *, jclass, jint, jintArray, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesDouble
|
|
|
|
* Signature: (DJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_timesDouble
|
|
|
|
(JNIEnv *, jclass, jdouble, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesFloat
|
|
|
|
* Signature: (FJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_timesFloat
|
|
|
|
(JNIEnv *, jclass, jfloat, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesLong
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_timesLong
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesInt
|
|
|
|
* Signature: (IJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_timesInt
|
|
|
|
(JNIEnv *, jclass, jint, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesDoubleAssign
|
|
|
|
* Signature: (DJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_timesDoubleAssign
|
|
|
|
(JNIEnv *, jclass, jdouble, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesFloatAssign
|
|
|
|
* Signature: (FJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_timesFloatAssign
|
|
|
|
(JNIEnv *, jclass, jfloat, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesLongAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_timesLongAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesIntAssign
|
|
|
|
* Signature: (IJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_timesIntAssign
|
|
|
|
(JNIEnv *, jclass, jint, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusDouble
|
|
|
|
* Signature: (DJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_plusDouble
|
|
|
|
(JNIEnv *, jclass, jdouble, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusFloat
|
|
|
|
* Signature: (FJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_plusFloat
|
|
|
|
(JNIEnv *, jclass, jfloat, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusLong
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_plusLong
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusInt
|
|
|
|
* Signature: (IJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_plusInt
|
|
|
|
(JNIEnv *, jclass, jint, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusDoubleAssign
|
|
|
|
* Signature: (DJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_plusDoubleAssign
|
|
|
|
(JNIEnv *, jclass, jdouble, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusFloatAssign
|
|
|
|
* Signature: (FJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_plusFloatAssign
|
|
|
|
(JNIEnv *, jclass, jfloat, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusLongAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_plusLongAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusIntAssign
|
|
|
|
* Signature: (IJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_plusIntAssign
|
|
|
|
(JNIEnv *, jclass, jint, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesTensor
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_timesTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: timesTensorAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_timesTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: divTensor
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_divTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: divTensorAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_divTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusTensor
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_plusTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: plusTensorAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_plusTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: minusTensor
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_minusTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: minusTensorAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_minusTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: unaryMinus
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_unaryMinus
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: absTensor
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_absTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: absTensorAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_absTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: transposeTensor
|
|
|
|
* Signature: (JII)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_transposeTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jint, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: transposeTensorAssign
|
|
|
|
* Signature: (JII)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_transposeTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jint, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: expTensor
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_expTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: expTensorAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_expTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: logTensor
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_logTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: logTensorAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_logTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: sumTensor
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_sumTensor
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: sumTensorAssign
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_sumTensorAssign
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: matmul
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_matmul
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: matmulAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_matmulAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: matmulRightAssign
|
|
|
|
* Signature: (JJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_matmulRightAssign
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: diagEmbed
|
|
|
|
* Signature: (JIII)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_diagEmbed
|
|
|
|
(JNIEnv *, jclass, jlong, jint, jint, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: svdTensor
|
|
|
|
* Signature: (JJJJ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_svdTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jlong, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: symeigTensor
|
|
|
|
* Signature: (JJJZ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_symeigTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jlong, jboolean);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: requiresGrad
|
|
|
|
* Signature: (J)Z
|
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL Java_space_kscience_kmath_noa_JNoa_requiresGrad
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: setRequiresGrad
|
|
|
|
* Signature: (JZ)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_space_kscience_kmath_noa_JNoa_setRequiresGrad
|
|
|
|
(JNIEnv *, jclass, jlong, jboolean);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: detachFromGraph
|
|
|
|
* Signature: (J)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_detachFromGraph
|
|
|
|
(JNIEnv *, jclass, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: autogradTensor
|
|
|
|
* Signature: (JJZ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_autogradTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong, jboolean);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: space_kscience_kmath_noa_JNoa
|
|
|
|
* Method: autohessTensor
|
|
|
|
* Signature: (JJ)J
|
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_space_kscience_kmath_noa_JNoa_autohessTensor
|
|
|
|
(JNIEnv *, jclass, jlong, jlong);
|
|
|
|
|
2021-06-27 22:12:02 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|