edu.emory.mathcs.csparsej.tfloat.demo
Class Scs_demo
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tfloat.demo.Scs_demo
-
public class Scs_demo extends java.lang.ObjectSupport routines for Scs_demo*.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classScs_demo.SproblemA structure for a demo problem.
-
Constructor Summary
Constructors Constructor and Description Scs_demo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleandemo2(Scs_demo.Sproblem Prob)Solves a linear system using Cholesky, LU, and QR, with various orderings.static booleandemo3(Scs_demo.Sproblem Prob)Cholesky update/downdatestatic Scs_demo.Sproblemget_problem(java.lang.String fileName, float tol)Reads a problem from a file.
-
-
-
Method Detail
-
get_problem
public static Scs_demo.Sproblem get_problem(java.lang.String fileName, float tol)
Reads a problem from a file.- Parameters:
fileName- file nametol- drop tolerance- Returns:
- problem
-
demo2
public static boolean demo2(Scs_demo.Sproblem 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(Scs_demo.Sproblem Prob)
Cholesky update/downdate- Parameters:
Prob- problem- Returns:
- true if successful, false on error
-
-
DMelt 3.0 © DataMelt by jWork.ORG