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

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.
        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.
        index - the index of the element to retrieve.
        the index-th element.
      • getSize

        public int getSize()
        Access the size of this array.
        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.
        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.
        n - the new array size.
      • toArray

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

DataMelt 1.1 © jWork.ORG

Warning: You see this message because an access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of dataMelt, please request the full DataMelt membership.

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