Interface AccessAnyD<N extends java.lang.Comparable<N>>

    • Method Detail

      • toString

        static java.lang.String toString​(AccessAnyD<?> array)
      • byteValue

        default byte byteValue​(int... ref)
      • byteValue

        default byte byteValue​(long... ref)
      • doubleValue

        default double doubleValue​(int... ref)
      • doubleValue

        default double doubleValue​(long... ref)
      • elements

        default ElementViewAnyD<N,​?> elements()
        Description copied from interface: Access1D
        Returns an Iterable of ElementView1D. It allows to iterate over the instance's element "positions" without actually extracting the elements (unless you explicitly do so).
        Specified by:
        elements in interface Access1D<N extends java.lang.Comparable<N>>
      • floatValue

        default float floatValue​(int... ref)
      • floatValue

        default float floatValue​(long... ref)
      • get

        default N get​(int... ref)
      • get

        default N get​(long... ref)
      • intValue

        default int intValue​(int... ref)
      • intValue

        default int intValue​(long... ref)
      • longValue

        default long longValue​(int... ref)
      • longValue

        default long longValue​(long... ref)
      • select

        default AccessAnyD<N> select​(long[]... selections)
        Creates a view of the underlying data structure of only the selected elements. There should be one long[] of indices per dimension of the AccessAnyD, but any such array that is null, empty or missing will be replaced by a "full selection" in that dimension. For instance if you have 3-dimensional array and want to select only the second and third columns of any/all matrices: select(null, {1,2}) You have to input null for the row indices (otherwise there is no way of knowing that {1,2} refers to column indices) but may leave out specification of matrix indices.
      • shortValue

        default short shortValue​(int... ref)
      • shortValue

        default short shortValue​(long... ref)