public QrLeftLookingDecomposition_DSCC(ComputePermutation <DMatrixSparseCSC> permutation)
        {
            this.applyReduce = new ApplyFillReductionPermutation(permutation, false);

            // use the same work space to reduce the overall memory foot print
            this.structure.setGwork(gwork);
        }
Esempio 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));
        }
Esempio n. 3
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));
        }
Esempio n. 4
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));
        }
Esempio n. 5
0
 public ApplyFillReductionPermutation(ComputePermutation <DMatrixSparseCSC> fillReduce,
                                      bool symmetric)
 {
     this.fillReduce = fillReduce;
     this.symmetric  = symmetric;
 }
        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));
        }
Esempio n. 8
0
 public LuUpLooking_DSCC(ComputePermutation <DMatrixSparseCSC> reduceFill)
 {
     this.applyReduce = new ApplyFillReductionPermutation(reduceFill, false);
 }
Esempio n. 9
0
 public LinearSolverCholesky_DSCC(CholeskyUpLooking_DSCC cholesky,
                                  ComputePermutation <DMatrixSparseCSC> fillReduce)
 {
     this.cholesky = cholesky;
     this.reduce   = new ApplyFillReductionPermutation(fillReduce, true);
 }