Example #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));
        }
Example #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));
        }
Example #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));
        }
        public static LUSparseDecomposition_F64 <DMatrixSparseCSC> lu(FillReducing permutation)
        {
            ComputePermutation <DMatrixSparseCSC> cp = FillReductionFactory_DSCC.create(permutation);

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

            return(new QrLeftLookingDecomposition_DSCC(cp));
        }