edu.emory.mathcs.csparsej.tdouble.demo
Class Dcs_demo
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tdouble.demo.Dcs_demo
-
public class Dcs_demo extends java.lang.ObjectSupport routines for Dcs_demo*.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classDcs_demo.DproblemA structure for a demo problem.
-
Constructor Summary
Constructors Constructor and Description Dcs_demo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleandemo2(Dcs_demo.Dproblem Prob)Solves a linear system using Cholesky, LU, and QR, with various orderings.static booleandemo3(Dcs_demo.Dproblem Prob)Cholesky update/downdatestatic Dcs_demo.Dproblemget_problem(java.lang.String fileName, double tol)Reads a problem from a file.
-
-
-
Method Detail
-
get_problem
public static Dcs_demo.Dproblem get_problem(java.lang.String fileName, double tol)
Reads a problem from a file.- Parameters:
fileName- file nametol- drop tolerance- Returns:
- problem
-
demo2
public static boolean demo2(Dcs_demo.Dproblem Prob)
Solves a linear system using Cholesky, LU, and QR, with various orderings.- Parameters:
Prob- problem- Returns:
- true if successful, false on error
-
demo3
public static boolean demo3(Dcs_demo.Dproblem Prob)
Cholesky update/downdate- Parameters:
Prob- problem- Returns:
- true if successful, false on error
-
-
DMelt 3.0 © DataMelt by jWork.ORG