Uses of Class
org.sadisamir.ndarray.NdArray

Packages that use NdArray
Package
Description
 
  • Uses of NdArray in org.sadisamir.ndarray

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