Ejemplo n.º 1
0
        public static LinearSolverSparse <DMatrixSparseCSC, DMatrixRMaj> qr(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);
            QrLeftLookingDecomposition_DSCC       qr = new QrLeftLookingDecomposition_DSCC(cp);

            return(new LinearSolverQrLeftLooking_DSCC(qr));
        }
Ejemplo n.º 2
0
        public static LinearSolverSparse <DMatrixSparseCSC, DMatrixRMaj> lu(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);
            LuUpLooking_DSCC lu = new LuUpLooking_DSCC(cp);

            return(new LinearSolverLu_DSCC(lu));
        }
Ejemplo n.º 3
0
        public static LinearSolverSparse <DMatrixSparseCSC, DMatrixRMaj> cholesky(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);
            CholeskyUpLooking_DSCC chol = (CholeskyUpLooking_DSCC)DecompositionFactory_DSCC.cholesky();

            return(new LinearSolverCholesky_DSCC(chol, cp));
        }
Ejemplo n.º 4
0
        public static LUSparseDecomposition_F64 <DMatrixSparseCSC> lu(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);

            return(new LuUpLooking_DSCC(cp));
        }
Ejemplo n.º 5
0
        public static QRSparseDecomposition <DMatrixSparseCSC> qr(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);

            return(new QrLeftLookingDecomposition_DSCC(cp));
        }