Documentation API of the 'jhplot.math.num.DoubleArray' Java class
DoubleArray
jhplot.math.num

Class DoubleArray



  • public class DoubleArrayextends Object
    An expandable double array.
    • Constructor Detail

      • DoubleArray

        public DoubleArray()
    • Method Detail

      • add

        public void add(double value)
        Adds an element to the end of this expandable array.
        Parameters:
        value - to be added to end of array
      • clear

        public void clear()
        Remove all elements from this collection.
      • get

        public double get(int index)
        Access the element at the given index.
        Parameters:
        index - the index of the element to retrieve.
        Returns:
        the index-th element.
      • getSize

        public int getSize()
        Access the size of this array.
        Returns:
        the size.
      • set

        public void set(int index,                double value)
        Modify the element at the given index. The array may be expanded to hold a value at the given index.
        Parameters:
        index - the index of the element to modify.
        value - the new index-th element value.
      • setSize

        public void setSize(int n)
        Modify the size of this array.
        Parameters:
        n - the new array size.
      • toArray

        public double[] toArray()
        Convert this array into a native array.
        Returns:
        the native array.

DMelt 1.2 © DataMelt by jWork.ORG

DoubleArray
jhplot.math.num

Class DoubleArray



  • public class DoubleArrayextends Object
    An expandable double array.

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.