public void CoordinationalMatrix_TestLSolve() { IVector resultActual = new Vector(new double[] { 1, 1, 1 }); IVector vector = coordinationalMatrix.LMult(resultActual, true); var result = coordinationalMatrix.LSolve(vector, true); for (int i = 0; i < result.Size; i++) { Assert.Equal(result[i], resultActual[i], 8); } }
public IVector LSolve(IVector x) { return(FactorizedMatrix.LSolve(x, true)); }
public IVector LSolve(IVector x) { return(FA.LSolve(x, false)); }
public IVector LSolve(IVector x) { return(FA.LSolve(x, true)); }