edu.emory.mathcs.csparsej.tdouble
Class Dcs_qrsol
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tdouble.Dcs_qrsol
-
public class Dcs_qrsol extends java.lang.ObjectSolve a least-squares or underdetermined problem.
-
-
Constructor Summary
Constructors Constructor and Description Dcs_qrsol()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleancs_qrsol(int order, Dcs_common.Dcs A, double[] b)Solve a least-squares problem (min ||Ax-b||_2, where A is m-by-n with m >= n) or underdetermined system (Ax=b, where m < n)
-
-
-
Method Detail
-
cs_qrsol
public static boolean cs_qrsol(int order, Dcs_common.Dcs A, double[] b)Solve a least-squares problem (min ||Ax-b||_2, where A is m-by-n with m >= n) or underdetermined system (Ax=b, where m < n)- Parameters:
order- ordering method to use (0 to 3)A- column-compressed matrixb- size max(m,n), b (size m) on input, x(size n) on output- Returns:
- true if successful, false on error
-
-
DMelt 3.0 © DataMelt by jWork.ORG