예제 #1
0
        public void CoordinationalMatrix_TestUSolve()
        {
            IVector resultActual = new Vector(new double[] { 1, 1, 1 });
            IVector vector       = coordinationalMatrix.UMult(resultActual, true);

            var result = coordinationalMatrix.USolve(vector, true);

            for (int i = 0; i < result.Size; i++)
            {
                Assert.Equal(result[i], resultActual[i], 8);
            }
        }
예제 #2
0
 public IVector USolve(IVector x)
 {
     return(FactorizedMatrix.USolve(x, true));
 }
예제 #3
0
 public IVector USolve(IVector x)
 {
     return(FA.USolve(x, true));
 }