Package com.imsl.test.example.math
Class GenMinResEx3
java.lang.Object
com.imsl.test.example.math.GenMinResEx3
- All Implemented Interfaces:
GenMinRes.Function
Solves a small linear system stored in sparse form.
A solution to a small linear system in which the coefficient matrix has been stored inSparseMatrix
form is found. An initial guess of all ones is
set before solving the system.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GenMinResEx3
public GenMinResEx3()
-
-
Method Details
-
amultp
public void amultp(double[] p, double[] z) Obtains the multiplication of the matrixaand the inputp. The result is returned inz.- Specified by:
amultpin interfaceGenMinRes.Function- Parameters:
p- adoublearray withp.length=a[0].lengthz- adoublearray
-
main
- Throws:
Exception
-