Documentation API of the 'jhplot.math.Sorting' Java class

Class Sorting

  • public class Sortingextends Object
    Quick Sort algoritm.

    Allows to sort a column quickly, Using a generic version of C.A.R Hoare's Quick Sort algorithm.

    • Constructor Detail

      • Sorting

        public Sorting(double[] array,               boolean copyArray)
        Construct an ascending order.
        array - Array to sort.
        copyArray - Specify if the sort is made directly : true -> array is modified (usefull for big arrays !), false -> array is copied and not modified (more memory used).
    • Method Detail

      • invertIndex

        public static int[] invertIndex(int[] ind)
      • getIndex

        public int getIndex(int i)
        Get the ascending order of one line.
        i - Line number.
        Ascending order of the line.
      • getIndex

        public int[] getIndex()
        Get the ascending order of all lines.
        Ascending order of lines.
      • main

        public static void main(String[] args)

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.