Exemple #1
0
        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));
 }
Exemple #3
0
 public IVector LSolve(IVector x)
 {
     return(FA.LSolve(x, false));
 }
 public IVector LSolve(IVector x)
 {
     return(FA.LSolve(x, true));
 }