Class PrimitiveAnyD.Wrapper

    • Method Detail

      • count

        public long count()
        Description copied from interface: Structure1D
        The total number of elements in this structure.

        You only need to implement this method if the structure can contain more than Integer.MAX_VALUE elements.

      • count

        public long count​(int dimension)
        Description copied from interface: StructureAnyD
        count() == count(0) * count(1) * count(2) * count(3) * ...
      • doubleValue

        public double doubleValue​(int index)
      • doubleValue

        public double doubleValue​(long index)
      • rank

        public int rank()
        Returns:
        The number of dimensions (the number of indices used to reference one element)
      • set

        public void set​(int index,
                        double value)
      • set

        public void set​(long index,
                        double value)
      • shape

        public long[] shape()
      • size

        public int size()
        Description copied from interface: Structure1D
        The total number of elements in this structure.
      • size

        public int size​(int dimension)