All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jnt.linear_algebra.JBLAS
Simple kernels of the Basic Linear Algebra Subprograms (BLAS) in Java.
Note: These routines retain the functionality as the original Fortran BLAS, but some of the parameters have been changed due to the characteristics of the Java language.
For example, the increment parameters used to denote strides is no longer necessary. This was originally used to access row vectors (column vectors in C), but no longer applies, since Java arrays may not have their rows stored contiguously.
Also, passing a subvector (or submatrix) into routines cannot be accomplished by merely passing the location of the array, as it is done in C and Fortran. Instead the whole array, and its offsets need to be passed separately.
public JBLAS()
 public static final double[] plus(double x[],
                                   double y[])
 public static final double[] minus(double x[],
                                    double y[])
public static final double norm2(double x[])
 public static final void daxpy(int N,
                                double a,
                                double x[],
                                double y[])
 public static final void daxpy(int N,
                                double a,
                                double x[][],
                                int col,
                                double y[])
 public static final void daxpy(int N,
                                double a,
                                double x[][],
                                int colx,
                                double y[][],
                                int coly)
 public static final void daxpy(int N,
                                double a,
                                double x[],
                                double y[],
                                int offset)
 public static final void daxpy(int N,
                                double a,
                                double x[],
                                int offsetx,
                                double y[],
                                int offsety)
 public static final double ddot(int N,
                                 double x[],
                                 double y[])
 public static final double ddot(int N,
                                 double x[],
                                 double y[],
                                 int offset)
 public static final double[] LowerTriangularSolve(double A[][],
                                                   double b[])
 public static final double[] UpperTriangularSolve(double A[][],
                                                   double b[])
 public static final double[] mult(double A[][],
                                   double x[])
public static double[] new_copy(double x[])
public static int[] new_copy(int x[])
public static double[][] new_copy(double A[][])
 public static void insert_copy(double B[][],
                                double A[][])
All Packages Class Hierarchy This Package Previous Next Index