|
IEigenvalueSolver solver;
@Before
public void setUp() throws Exception
{
IDoubleArray m = new SparseRealMatrix(4, 4);
m.set(0, 0, -16);
m.set(0, 1, 9);
m.set(1, 0, -12);
m.set(1, 1, 5);
m.set(2, 2, 6);
m.set(2, 3, -2);
m.set(3, 3, 4);
System.out.println(m);
solver = new SparseArpackEigenvalueDecomposition(m);
}
|