use of org.ojalgo.type.context.NumberContext in project ojAlgo by optimatika.
the class SimpleCholeskyCase method setUp.
@BeforeEach
@Override
public void setUp() {
DEFINITION = new NumberContext(7, 4);
EVALUATION = new NumberContext(4, 3);
myBigAA = SimpleCholeskyCase.getFactorL();
myBigAX = SimpleCholeskyCase.getFactorR();
myBigAB = SimpleCholeskyCase.getOriginal();
myBigI = BasicMatrixTest.getIdentity(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
myBigSafe = BasicMatrixTest.getSafe(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
super.setUp();
}
use of org.ojalgo.type.context.NumberContext in project ojAlgo by optimatika.
the class SimpleEquationCase method setUp.
@BeforeEach
@Override
public void setUp() {
DEFINITION = new NumberContext(7, 1);
EVALUATION = new NumberContext(7, 9);
myBigAA = SimpleEquationCase.getBody();
myBigAX = SimpleEquationCase.getSolution();
myBigAB = SimpleEquationCase.getRHS();
myBigI = BasicMatrixTest.getIdentity(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
myBigSafe = BasicMatrixTest.getSafe(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
super.setUp();
}
use of org.ojalgo.type.context.NumberContext in project ojAlgo by optimatika.
the class SimpleLUCase method setUp.
@BeforeEach
@Override
public void setUp() {
DEFINITION = new NumberContext(7, 1);
EVALUATION = new NumberContext(7, 9);
myBigAA = SimpleLUCase.getMtrxL();
myBigAX = SimpleLUCase.getMtrxU();
myBigAB = SimpleLUCase.getOrginal();
myBigI = BasicMatrixTest.getIdentity(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
myBigSafe = BasicMatrixTest.getSafe(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
super.setUp();
}
use of org.ojalgo.type.context.NumberContext in project ojAlgo by optimatika.
the class SimpleLeastSquaresCase method setUp.
@BeforeEach
@Override
public void setUp() {
DEFINITION = new NumberContext(7, 4);
// TODO Something must be wrong here!
EVALUATION = new NumberContext(4, 4);
myBigAA = SimpleLeastSquaresCase.getFactorR();
myBigAX = SimpleLeastSquaresCase.getSolution();
myBigAB = SimpleLeastSquaresCase.getTransformedRHS();
myBigI = BasicMatrixTest.getIdentity(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
myBigSafe = BasicMatrixTest.getSafe(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
super.setUp();
}
use of org.ojalgo.type.context.NumberContext in project ojAlgo by optimatika.
the class SimpleSingularValueCase method setUp.
@BeforeEach
@Override
public void setUp() {
DEFINITION = new NumberContext(7, 1);
EVALUATION = new NumberContext(7, 9);
myBigAA = SimpleSingularValueCase.getMatrixQ1();
myBigAX = SimpleSingularValueCase.getMatrixD();
myBigAB = SimpleSingularValueCase.getOriginal();
myBigI = BasicMatrixTest.getIdentity(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
myBigSafe = BasicMatrixTest.getSafe(myBigAA.countRows(), myBigAA.countColumns(), DEFINITION);
super.setUp();
}
Aggregations