Uses of Class
org.sadisamir.ndarray.NdArray
Packages that use NdArray
-
Uses of NdArray in org.sadisamir.ndarray
Methods in org.sadisamir.ndarray that return NdArrayModifier and TypeMethodDescriptionNdArray.add(float scalar) Returns a new array with a scalar added to every element.Returns a new array with element-wise addition.static NdArrayNdArray.arange(float stop) Creates a 1D array with values from 0 (inclusive) to stop (exclusive).static NdArrayNdArray.arange(float start, float stop) Creates a 1D array with values from start (inclusive) to stop (exclusive).static NdArrayNdArray.arange(float start, float stop, float step) Creates a 1D array with evenly spaced values within a given interval.static NdArrayNdArray.array(float[] data) Creates a 1D array from the given data.static NdArrayNdArray.array(float[][] data) Creates a 2D array from the given matrix.NdArray.reshape(int... newShape) Returns a reshaped view of this array.static NdArrayNdArray.zeros(int size) Creates a 1D array of zeros with the specified size.Methods in org.sadisamir.ndarray with parameters of type NdArrayModifier and TypeMethodDescriptionReturns a new array with element-wise addition.voidNdArray.addInPlace(NdArray other) Adds another array to this one in place.