Index
All Classes and Interfaces|All Packages
A
- add(float) - Method in class com.groupe8.ttykm.NDArray
-
Returns a new NDArray equal to this + scalar (element-wise).
- add(NDArray) - Method in class com.groupe8.ttykm.NDArray
-
Returns a new NDArray equal to this + other (element-wise).
- addInPlace(float) - Method in class com.groupe8.ttykm.NDArray
-
Adds a scalar to this array in-place (+=).
- addInPlace(NDArray) - Method in class com.groupe8.ttykm.NDArray
-
Adds other to this array in-place (+=).
- arange(float) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 1D NDArray with values in [0, stop).
- arange(float, float, float) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 1D NDArray with evenly spaced values in [start, stop).
- arange(int) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 1D NDArray with values in [0, stop).
- arange(int, int, int) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 1D NDArray with integer-typed convenience overload.
- array(float...) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 1D NDArray from the given values.
- array(float[][]) - Static method in class com.groupe8.ttykm.NDArray
-
Creates a 2D NDArray from a row-major 2D float array.
C
- com.groupe8.ttykm - package com.groupe8.ttykm
G
- get(int) - Method in class com.groupe8.ttykm.NDArray
-
Gets an element from a 1D array.
- get(int, int) - Method in class com.groupe8.ttykm.NDArray
-
Gets an element from a 2D array.
N
- NDArray - Class in com.groupe8.ttykm
-
A multidimensional array of floats, inspired by NumPy's ndarray.
- ndim - Variable in class com.groupe8.ttykm.NDArray
R
- reshape(int...) - Method in class com.groupe8.ttykm.NDArray
-
Returns a new NDArray with the same data but a different shape.
S
- set(int, float) - Method in class com.groupe8.ttykm.NDArray
-
Sets an element in a 1D array.
- set(int, int, float) - Method in class com.groupe8.ttykm.NDArray
-
Sets an element in a 2D array.
- shape() - Method in class com.groupe8.ttykm.NDArray
-
Returns a copy of the shape array.
- size - Variable in class com.groupe8.ttykm.NDArray
T
- toString() - Method in class com.groupe8.ttykm.NDArray
-
Returns a NumPy-style string representation. 1D: [1.0 2.0 3.0] 2D: [[1.0 2.0] [3.0 4.0]]
Z
- zeros(int...) - Static method in class com.groupe8.ttykm.NDArray
-
Creates an NDArray of zeros with the given shape.
All Classes and Interfaces|All Packages