return the distances to all vectors from input x . this is a basic using #getdistance int , int , sub-classes might provide an optimised implementation . concode_field_sep DistanceMetric metric concode_elem_sep ArrayList<String> inputLabels concode_elem_sep int numVectors concode_field_sep double getDistance concode_elem_sep int[] getNNearest concode_elem_sep int columns concode_elem_sep ArrayList<String> getInputLabels concode_elem_sep int rows concode_elem_sep InputVectorDistanceMatrix initFromFile concode_elem_sep DenseDoubleMatrix1D getDistancesFlatAsMatrix concode_elem_sep double[] getDistancesFlat concode_elem_sep boolean equals concode_elem_sep int flatArraySize concode_elem_sep int numVectors concode_elem_sep String toString concode_elem_sep DistanceMetric getMetric
double [ ] function ( int arg0 ) { double [ ] loc0 = new double [ numVectors ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] = getDistance ( arg0 , loc1 ) ; } return loc0 ; }