Example #1
0
 public static int gerfs(LapackLayout Layout, LapackTranspose Transpose,
                         int n, int nrhs, double[] a, int lda, double[] af, int ldaf, int[] ipiv,
                         double[] b, int ldb, double[] x, int ldx, out double[] fErr, out double[] bErr)
 {
     fErr = new double[nrhs > 1 ? nrhs : 1];
     bErr = new double[nrhs > 1 ? nrhs : 1];
     return(gerfs(Layout, Transpose, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, fErr, bErr));
 }
Example #2
0
 public static int gerfsx(LapackLayout Layout, LapackTranspose Transpose, LapackEquil Equed,
                          int n, int nrhs, double[] a, int lda, double[] af, int ldaf, int[] ipiv,
                          double[] r, double[] c, double[] b, int ldb, double[] x, int ldx,
                          out double rCond, out double[] bErr,
                          int nErrBnds, out double[] errBndsNorm, out double[] errBndsConp,
                          int nParams, double[] Params)
 {
     bErr        = new double[nrhs > 1 ? nrhs : 1];
     errBndsNorm = new double[nrhs * nErrBnds];
     errBndsConp = new double[nrhs * nErrBnds];
     return(gerfsx(Layout, Transpose, Equed,
                   n, nrhs, a, lda, af, ldaf, ipiv,
                   r, c, b, ldb, x, ldx, out rCond, bErr,
                   nErrBnds, errBndsNorm, errBndsConp, nParams, Params));
 }
Example #3
0
 public static extern int getrs(LapackLayout Layout, LapackTranspose Trans,
                                int n, int nrhs, double[] a, int lda, int[] ipiv,
                                double[] b, int ldb);
Example #4
0
 public static extern int gerfsx(LapackLayout Layout, LapackTranspose Transpose, LapackEquil Equed,
                                 int n, int nrhs, double[] a, int lda, double[] af, int ldaf, int[] ipiv,
                                 double[] r, double[] c, double[] b, int ldb, double[] x, int ldx,
                                 out double rCond, double[] bErr,
                                 int nErrBnds, double[] errBndsNorm, double[] errBndsConp,
                                 int nParams, double[] Params);
Example #5
0
 public static extern int gerfs(LapackLayout Layout, LapackTranspose Transpose,
                                int n, int nrhs, double[] a, int lda, double[] af, int ldaf, int[] ipiv,
                                double[] b, int ldb, double[] x, int ldx, double[] fErr, double[] bErr);