Class AbstractRealNDArray<T extends Number>

    • Constructor Detail

      • AbstractRealNDArray

        public AbstractRealNDArray()
    • Method Detail

      • dataTypeAsString

        public String dataTypeAsString()
        Description copied from interface: NDArray
        Returns a String representation of element type.
        Specified by:
        dataTypeAsString in interface NDArray<T extends Number>
        Returns:
        "Byte", "Short", "Integer", "Long", "Float", "Double", "Complex Float", or "Complex Double" depending on the type of array
      • copyFrom

        public NDArray<T> copyFrom​(NDArray<?> array)
        Description copied from interface: NDArray
        Updates this NDArray with the elements of the NDArray given as parameter.

        Note: the parameter NDArray must have the same shape and this NDArray!

        Specified by:
        copyFrom in interface NDArray<T extends Number>
        Parameters:
        array - NDArray from which values are copied to this NDArray
        Returns:
        this NDArray