public class GenMinResEx3 extends Object implements 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 and Description |
---|
GenMinResEx3() |
Modifier and Type | Method and Description |
---|---|
void |
amultp(double[] p,
double[] z)
Obtains the multiplication of the matrix
a and the input
p . |
static void |
main(String[] args) |
public void amultp(double[] p, double[] z)
a
and the input
p
. The result is returned in z
.amultp
in interface GenMinRes.Function
p
- a double
array with
p.length
=a[0].length
z
- a double
arrayCopyright © 2020 Rogue Wave Software. All rights reserved.