Package PamView.chart
Class PairedSort
java.lang.Object
PamView.chart.PairedSort
functions for sorting paired arrays, i.e. order the first array and
 then move second array around so that it still matches the first array.
- Author:
 - dg50
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic int[]getSortIndexes(double[] array) static double[][]sortPairedArray(double[][] array) sort a 2d array by the content of it's first element 
- 
Constructor Details
- 
PairedSort
public PairedSort() 
 - 
 - 
Method Details
- 
sortPairedArray
public static double[][] sortPairedArray(double[][] array) sort a 2d array by the content of it's first element- Parameters:
 array- d2 array to sort.- Returns:
 - a new array. Old content not overwritten
 
 - 
getSortIndexes
public static int[] getSortIndexes(double[] array)  
 -