/* This code is based on C code of public domain XGobi software. This code is provided "as is" without any warranty of any kind. We don't warrant, guarantee or make any representations regarding the correctness, reliability, currentness of this code. We welcome your questions and comments, and request that you share any modifications with us. Sunhee Kwon shkwon@iastate.edu Dianne Cook dicook@iastate.edu */ public class Blas_j2 extends Object { public static double max_vec(double x[], int n) { double max1 = x[0]; for (int i=1; i max1) {max1=x[i];} } return max1; } public static double min_vec(double x[], int n) { double min1 = x[0]; for (int i=1; i