vec_math
Class grow_arr

java.lang.Object
  extended by vec_math.grow_arr

public class grow_arr
extends Object

Given is an array and a double value that should be added on the end of the field. Returned is the new, enlargened field.


Constructor Summary
grow_arr()
           
 
Method Summary
static double[] add_double(double val, double[] to_arr)
           
static float[] add_float(float val, float[] to_arr)
           
static double[] sort(double[] arr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

grow_arr

public grow_arr()
Method Detail

add_double

public static double[] add_double(double val,
                                  double[] to_arr)
Parameters:
val -
to_arr -
Returns:
double

add_float

public static float[] add_float(float val,
                                float[] to_arr)
Parameters:
val -
to_arr -
Returns:
float

sort

public static double[] sort(double[] arr)
Parameters:
arr -
Returns:
double