Class DenseNdArray<T>

    • Constructor Detail

    • Method Detail

      • copyTo

        public NdArray<T> copyTo​(NdArray<T> dst)
        Description copied from interface: NdArray
        Copy the content of this array to the destination array.

        The Shaped.shape() of the destination array must be equal to the shape of this array, or an exception is thrown. After the copy, the content of both arrays can be altered independently, without affecting each other.

        Parameters:
        dst - array to receive a copy of the content of this array
        Returns:
        this array