Class AbstractBigIntegerNDArray

    • Method Detail

      • dtype

        public Class<?> dtype()
        Description copied from interface: NDArray
        Returns the type of values returned by get method. Possible values: Float.class, Double.class, Complex.class Byte.class, Short.class, Integer.class, Long.class.
        Returns:
        the type of values returned by get method.
      • set

        public void set​(Number value,
                        int linearIndex)
        Description copied from interface: NDArray
        Sets the value of an element specified by linear indexing.

        Linear indexing: It selects the ith element using the column-major iteration order that linearly spans the entire array. in its particular dimension.

        Negative indexing is supported, e.g. -1 refers to the last element, -2 refers to the item before the last one, etc.

        Parameters:
        value - value to be assigned
        linearIndex - linear coordinates
      • set

        public void set​(Number value,
                        int... indices)
        Description copied from interface: NDArray
        Sets the value of an element specified by cartesian indexing.

        Cartesian indexing: The ordinary way to index into an N-dimensional array is to use exactly N indices; each index selects the position(s) in its particular dimension.

        Negative indexing is supported, e.g. assuming a 3×4 NDArray, index [2,-1] equals to [2,3], and [-1,-3] is an equivalent of [2,1].

        Parameters:
        value - value to be assigned
        indices - cartesian coordinates