Uses of Class
com.groupe8.ttykm.NDArray

  • Uses of NDArray in com.groupe8.ttykm

    Methods in com.groupe8.ttykm that return NDArray
    Modifier and Type
    Method
    Description
    NDArray.add(float scalar)
    Returns a new NDArray equal to this + scalar (element-wise).
    NDArray.add(NDArray other)
    Returns a new NDArray equal to this + other (element-wise).
    static NDArray
    NDArray.arange(float stop)
    Creates a 1D NDArray with values in [0, stop).
    static NDArray
    NDArray.arange(float start, float stop, float step)
    Creates a 1D NDArray with evenly spaced values in [start, stop).
    static NDArray
    NDArray.arange(int stop)
    Creates a 1D NDArray with values in [0, stop).
    static NDArray
    NDArray.arange(int start, int stop, int step)
    Creates a 1D NDArray with integer-typed convenience overload.
    static NDArray
    NDArray.array(float... values)
    Creates a 1D NDArray from the given values.
    static NDArray
    NDArray.array(float[][] values)
    Creates a 2D NDArray from a row-major 2D float array.
    NDArray.reshape(int... newShape)
    Returns a new NDArray with the same data but a different shape.
    static NDArray
    NDArray.zeros(int... shape)
    Creates an NDArray of zeros with the given shape.
    Methods in com.groupe8.ttykm with parameters of type NDArray
    Modifier and Type
    Method
    Description
    NDArray.add(NDArray other)
    Returns a new NDArray equal to this + other (element-wise).
    void
    NDArray.addInPlace(NDArray other)
    Adds other to this array in-place (+=).