interpolation of a straigt line given by two coordinates c0 and c1 . the method will return a double array which describes the coordinate at distance r on this straight line , whith a parametrisation of 0.0 at c0 and 1.0 at c1 . note : this method is non-robust due to floating-point rounding errors . inexact results according to floating-point rounding errors may be caused . concode_field_sep PlaceHolder placeHolder concode_field_sep double getDistance concode_elem_sep double[] add concode_elem_sep double[][] split concode_elem_sep double getDistanceSquare concode_elem_sep double getDistanceToOrigin concode_elem_sep double[] subtract concode_elem_sep double[] normalize concode_elem_sep double[] scale
double [ ] function ( double [ ] arg0 , double [ ] arg1 , double arg2 ) { int loc0 = arg0 . length ; double [ ] loc1 = new double [ loc0 ] ; double loc2 = 1.0 - arg2 ; for ( int loc3 = 0 ; loc3 < loc0 ; ++ loc3 ) { loc1 [ loc3 ] = loc2 * arg0 [ loc3 ] + arg2 * arg1 [ loc3 ] ; } return loc1 ; }