├── .Rinstignore ├── DESCRIPTION ├── LICENCE ├── MD5 ├── NAMESPACE ├── R ├── 00_Class.R ├── 00_Generic.R ├── Auxiliaries.R ├── BunchKaufman.R ├── Cholesky.R ├── HBMM.R ├── KhatriRao.R ├── Math.R ├── Ops.R ├── Schur.R ├── Summary.R ├── abstract.R ├── all.equal.R ├── cbind2.R ├── coerce-SparseM.R ├── coerce-graph.R ├── coerce.R ├── colSums.R ├── condest.R ├── construct.R ├── dense.R ├── determinant.R ├── diagonal.R ├── dim.R ├── expm.R ├── image.R ├── index.R ├── is.na.R ├── kappa.R ├── kronecker.R ├── lu.R ├── matmult.R ├── models.R ├── nearPD.R ├── nnzero.R ├── not.R ├── objects.R ├── perm.R ├── posdef.R ├── qr.R ├── rankMatrix.R ├── show.R ├── solve.R ├── sparse.R ├── subassign.R ├── subscript.R ├── vector.R ├── which.R └── zzz.R ├── build ├── partial.rdb └── vignette.rds ├── cleanup ├── data ├── CAex.R ├── KNex.R ├── USCounties.R ├── datalist └── wrld_1deg.R ├── inst ├── NEWS.Rd ├── doc │ ├── Comparisons.R │ ├── Comparisons.Rnw │ ├── Comparisons.pdf │ ├── Design-issues.R │ ├── Design-issues.Rnw │ ├── Design-issues.pdf │ ├── Intro2Matrix.R │ ├── Intro2Matrix.Rnw │ ├── Intro2Matrix.pdf │ ├── Introduction.R │ ├── Introduction.Rnw │ ├── Introduction.pdf │ ├── SuiteSparse │ │ ├── AMD │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ └── README.txt │ │ ├── CAMD │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ └── README.txt │ │ ├── CCOLAMD │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ └── README.txt │ │ ├── CHOLMOD │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ ├── README.txt │ │ │ └── SuiteSparse_metis │ │ │ │ ├── Changelog │ │ │ │ ├── LICENSE.txt │ │ │ │ └── README.txt │ │ ├── COLAMD │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ └── README.txt │ │ ├── CXSparse │ │ │ ├── Doc │ │ │ │ ├── ChangeLog │ │ │ │ └── License.txt │ │ │ └── README.txt │ │ ├── ChangeLog │ │ ├── LICENSE.txt │ │ ├── README.md │ │ └── SuiteSparse_config │ │ │ └── README.txt │ ├── sparseModels.R │ ├── sparseModels.Rnw │ └── sparseModels.pdf ├── external │ ├── CAex_slots.rda │ ├── KNex_slots.rda │ ├── USCounties_slots.rda │ ├── Z_NA_rnk.rds │ ├── jgl009.mtx │ ├── lund_a.mtx │ ├── lund_a.rsa │ ├── pores_1.mtx │ ├── symA.rda │ ├── symW.rda │ ├── test3comp.rda │ ├── utm300.rua │ ├── wrld_1deg_slots.rda │ └── wrong.mtx ├── include │ ├── Matrix.h │ ├── Matrix │ │ ├── Matrix.h │ │ ├── alloca.h │ │ ├── cholmod-utils.h │ │ ├── cholmod.h │ │ ├── remap.h │ │ ├── stubs.c │ │ └── version.h │ ├── Matrix_stubs.c │ └── cholmod.h ├── po │ ├── de │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ ├── en@quot │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ ├── fr │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ ├── it │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ ├── ko │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ ├── lt │ │ └── LC_MESSAGES │ │ │ ├── Matrix.mo │ │ │ └── R-Matrix.mo │ └── pl │ │ └── LC_MESSAGES │ │ ├── Matrix.mo │ │ └── R-Matrix.mo ├── scripts │ ├── SuiteSparse.patch │ ├── cholmod.h.patch │ ├── disclaimer.txt │ ├── rules.mk │ ├── rules.sh │ ├── sources.mk │ └── ssget.sh ├── test-tools-1.R ├── test-tools-Matrix.R └── test-tools.R ├── man ├── BunchKaufman-class.Rd ├── BunchKaufman-methods.Rd ├── CAex.Rd ├── CHMfactor-class.Rd ├── Cholesky-class.Rd ├── Cholesky-methods.Rd ├── CsparseMatrix-class.Rd ├── Diagonal.Rd ├── Hilbert.Rd ├── KNex.Rd ├── KhatriRao.Rd ├── Matrix-class.Rd ├── Matrix-defunct.Rd ├── Matrix-deprecated.Rd ├── Matrix-notyet.Rd ├── Matrix.Rd ├── MatrixClass.Rd ├── MatrixFactorization-class.Rd ├── RsparseMatrix-class.Rd ├── Schur-class.Rd ├── Schur-methods.Rd ├── TsparseMatrix-class.Rd ├── USCounties.Rd ├── abIndex-class.Rd ├── abIseq.Rd ├── all.equal-methods.Rd ├── asUniqueT.Rd ├── band-methods.Rd ├── bandSparse.Rd ├── bdiag.Rd ├── boolmatmult-methods.Rd ├── cbind2-methods.Rd ├── chol-methods.Rd ├── chol2inv-methods.Rd ├── coerce-methods-SparseM.Rd ├── coerce-methods-graph.Rd ├── colSums-methods.Rd ├── condest.Rd ├── dMatrix-class.Rd ├── ddenseMatrix-class.Rd ├── ddiMatrix-class.Rd ├── denseLU-class.Rd ├── denseMatrix-class.Rd ├── dgCMatrix-class.Rd ├── dgRMatrix-class.Rd ├── dgTMatrix-class.Rd ├── dgeMatrix-class.Rd ├── diagU2N.Rd ├── diagonalMatrix-class.Rd ├── dimScale.Rd ├── dmperm.Rd ├── dpoMatrix-class.Rd ├── drop0.Rd ├── dsCMatrix-class.Rd ├── dsRMatrix-class.Rd ├── dsparseMatrix-class.Rd ├── dsyMatrix-class.Rd ├── dtCMatrix-class.Rd ├── dtRMatrix-class-sparse.Rd ├── dtpMatrix-class.Rd ├── dtrMatrix-class-dense.Rd ├── expand-methods.Rd ├── expm-methods.Rd ├── externalFormats.Rd ├── facmul-methods.Rd ├── fastMisc.Rd ├── forceSymmetric-methods.Rd ├── formatSparseM.Rd ├── generalMatrix-class.Rd ├── image-methods.Rd ├── indMatrix-class.Rd ├── index-class.Rd ├── invertPerm.Rd ├── is.na-methods.Rd ├── is.null.DN.Rd ├── isSymmetric-methods.Rd ├── isTriangular-methods.Rd ├── kronecker-methods.Rd ├── ldenseMatrix-class.Rd ├── ldiMatrix-class.Rd ├── lgeMatrix-class.Rd ├── lsparseMatrix-class.Rd ├── lsyMatrix-class.Rd ├── ltrMatrix-class.Rd ├── lu-methods.Rd ├── macros │ └── local.Rd ├── mat2triplet.Rd ├── matmult-methods.Rd ├── nMatrix-class.Rd ├── ndenseMatrix-class.Rd ├── nearPD.Rd ├── ngeMatrix-class.Rd ├── nnzero-methods.Rd ├── norm-methods.Rd ├── nsparseMatrix-class.Rd ├── nsyMatrix-class.Rd ├── ntrMatrix-class.Rd ├── pMatrix-class.Rd ├── pack-methods.Rd ├── packedMatrix-class.Rd ├── printSpMatrix.Rd ├── qr-methods.Rd ├── rankMatrix.Rd ├── rcond-methods.Rd ├── rep2abI.Rd ├── rleDiff-class.Rd ├── rsparsematrix.Rd ├── solve-methods.Rd ├── spMatrix.Rd ├── sparse.model.matrix.Rd ├── sparseLU-class.Rd ├── sparseMatrix-class.Rd ├── sparseMatrix.Rd ├── sparseQR-class.Rd ├── sparseVector-class.Rd ├── sparseVector.Rd ├── subassign-methods.Rd ├── subscript-methods.Rd ├── symmetricMatrix-class.Rd ├── symmpart-methods.Rd ├── triangularMatrix-class.Rd ├── unpackedMatrix-class.Rd ├── updown-methods.Rd └── wrld_1deg.Rd ├── po ├── Matrix.pot ├── R-Matrix.pot ├── R-de.po ├── R-fr.po ├── R-it.po ├── R-ko.po ├── R-lt.po ├── R-pl.po ├── de.po ├── fr.po ├── it.po ├── ko.po ├── lt.po └── pl.po ├── src ├── Csparse.c ├── Csparse.h ├── Lapack-etc.h ├── Makevars ├── Matrix-win.def ├── Mdefines.h ├── Msymbols.h ├── SuiteSparse │ ├── AMD │ │ ├── Include │ │ │ ├── amd.h │ │ │ └── amd_internal.h │ │ ├── Makefile │ │ └── Source │ │ │ ├── amd_1.c │ │ │ ├── amd_2.c │ │ │ ├── amd_aat.c │ │ │ ├── amd_control.c │ │ │ ├── amd_defaults.c │ │ │ ├── amd_dump.c │ │ │ ├── amd_info.c │ │ │ ├── amd_l1.c │ │ │ ├── amd_l2.c │ │ │ ├── amd_l_aat.c │ │ │ ├── amd_l_control.c │ │ │ ├── amd_l_defaults.c │ │ │ ├── amd_l_dump.c │ │ │ ├── amd_l_info.c │ │ │ ├── amd_l_order.c │ │ │ ├── amd_l_post_tree.c │ │ │ ├── amd_l_postorder.c │ │ │ ├── amd_l_preprocess.c │ │ │ ├── amd_l_valid.c │ │ │ ├── amd_order.c │ │ │ ├── amd_post_tree.c │ │ │ ├── amd_postorder.c │ │ │ ├── amd_preprocess.c │ │ │ ├── amd_valid.c │ │ │ └── amd_version.c │ ├── CAMD │ │ ├── Include │ │ │ ├── camd.h │ │ │ └── camd_internal.h │ │ ├── Makefile │ │ └── Source │ │ │ ├── camd_1.c │ │ │ ├── camd_2.c │ │ │ ├── camd_aat.c │ │ │ ├── camd_control.c │ │ │ ├── camd_defaults.c │ │ │ ├── camd_dump.c │ │ │ ├── camd_info.c │ │ │ ├── camd_l1.c │ │ │ ├── camd_l2.c │ │ │ ├── camd_l_aat.c │ │ │ ├── camd_l_control.c │ │ │ ├── camd_l_defaults.c │ │ │ ├── camd_l_dump.c │ │ │ ├── camd_l_info.c │ │ │ ├── camd_l_order.c │ │ │ ├── camd_l_postorder.c │ │ │ ├── camd_l_preprocess.c │ │ │ ├── camd_l_valid.c │ │ │ ├── camd_order.c │ │ │ ├── camd_postorder.c │ │ │ ├── camd_preprocess.c │ │ │ ├── camd_valid.c │ │ │ └── camd_version.c │ ├── CCOLAMD │ │ ├── Include │ │ │ └── ccolamd.h │ │ ├── Makefile │ │ └── Source │ │ │ ├── ccolamd.c │ │ │ ├── ccolamd_l.c │ │ │ └── ccolamd_version.c │ ├── CHOLMOD │ │ ├── Check │ │ │ ├── cholmod_check.c │ │ │ ├── cholmod_l_check.c │ │ │ ├── cholmod_l_read.c │ │ │ ├── cholmod_l_write.c │ │ │ ├── cholmod_read.c │ │ │ └── cholmod_write.c │ │ ├── Cholesky │ │ │ ├── cholmod_amd.c │ │ │ ├── cholmod_analyze.c │ │ │ ├── cholmod_colamd.c │ │ │ ├── cholmod_etree.c │ │ │ ├── cholmod_factorize.c │ │ │ ├── cholmod_l_amd.c │ │ │ ├── cholmod_l_analyze.c │ │ │ ├── cholmod_l_colamd.c │ │ │ ├── cholmod_l_etree.c │ │ │ ├── cholmod_l_factorize.c │ │ │ ├── cholmod_l_postorder.c │ │ │ ├── cholmod_l_rcond.c │ │ │ ├── cholmod_l_resymbol.c │ │ │ ├── cholmod_l_rowcolcounts.c │ │ │ ├── cholmod_l_rowfac.c │ │ │ ├── cholmod_l_solve.c │ │ │ ├── cholmod_l_spsolve.c │ │ │ ├── cholmod_postorder.c │ │ │ ├── cholmod_rcond.c │ │ │ ├── cholmod_resymbol.c │ │ │ ├── cholmod_rowcolcounts.c │ │ │ ├── cholmod_rowfac.c │ │ │ ├── cholmod_solve.c │ │ │ ├── cholmod_spsolve.c │ │ │ ├── t_cholmod_lsolve_template.c │ │ │ ├── t_cholmod_ltsolve_template.c │ │ │ ├── t_cholmod_psolve_worker.c │ │ │ ├── t_cholmod_rcond_worker.c │ │ │ ├── t_cholmod_resymbol_worker.c │ │ │ ├── t_cholmod_rowfac_worker.c │ │ │ ├── t_cholmod_solve_worker.c │ │ │ └── t_cholmod_spsolve_worker.c │ │ ├── Include │ │ │ ├── cholmod.h │ │ │ ├── cholmod_internal.h │ │ │ ├── cholmod_template.h │ │ │ └── cholmod_types.h │ │ ├── Makefile │ │ ├── MatrixOps │ │ │ ├── cholmod_drop.c │ │ │ ├── cholmod_horzcat.c │ │ │ ├── cholmod_l_drop.c │ │ │ ├── cholmod_l_horzcat.c │ │ │ ├── cholmod_l_norm.c │ │ │ ├── cholmod_l_scale.c │ │ │ ├── cholmod_l_sdmult.c │ │ │ ├── cholmod_l_ssmult.c │ │ │ ├── cholmod_l_submatrix.c │ │ │ ├── cholmod_l_symmetry.c │ │ │ ├── cholmod_l_vertcat.c │ │ │ ├── cholmod_norm.c │ │ │ ├── cholmod_scale.c │ │ │ ├── cholmod_sdmult.c │ │ │ ├── cholmod_ssmult.c │ │ │ ├── cholmod_submatrix.c │ │ │ ├── cholmod_symmetry.c │ │ │ ├── cholmod_vertcat.c │ │ │ ├── t_cholmod_drop_worker.c │ │ │ ├── t_cholmod_horzcat_worker.c │ │ │ ├── t_cholmod_norm_worker.c │ │ │ ├── t_cholmod_scale_worker.c │ │ │ ├── t_cholmod_sdmult_worker.c │ │ │ ├── t_cholmod_ssmult_worker.c │ │ │ ├── t_cholmod_submatrix_worker.c │ │ │ └── t_cholmod_vertcat_worker.c │ │ ├── Modify │ │ │ ├── cholmod_l_rowadd.c │ │ │ ├── cholmod_l_rowdel.c │ │ │ ├── cholmod_l_updown.c │ │ │ ├── cholmod_rowadd.c │ │ │ ├── cholmod_rowdel.c │ │ │ ├── cholmod_updown.c │ │ │ ├── t_cholmod_rowadd_worker.c │ │ │ ├── t_cholmod_rowdel_worker.c │ │ │ ├── t_cholmod_updown_numkr.c │ │ │ ├── t_cholmod_updown_wdim.c │ │ │ └── t_cholmod_updown_worker.c │ │ ├── Partition │ │ │ ├── cholmod_camd.c │ │ │ ├── cholmod_ccolamd.c │ │ │ ├── cholmod_csymamd.c │ │ │ ├── cholmod_l_camd.c │ │ │ ├── cholmod_l_ccolamd.c │ │ │ ├── cholmod_l_csymamd.c │ │ │ ├── cholmod_l_metis.c │ │ │ ├── cholmod_l_nesdis.c │ │ │ ├── cholmod_metis.c │ │ │ ├── cholmod_metis_wrapper.c │ │ │ ├── cholmod_metis_wrapper.h │ │ │ └── cholmod_nesdis.c │ │ ├── SuiteSparse_metis │ │ │ ├── GKlib │ │ │ │ ├── GKlib.h │ │ │ │ ├── b64.c │ │ │ │ ├── blas.c │ │ │ │ ├── conf │ │ │ │ │ └── check_thread_storage.c │ │ │ │ ├── csr.c │ │ │ │ ├── error.c │ │ │ │ ├── evaluate.c │ │ │ │ ├── fkvkselect.c │ │ │ │ ├── fs.c │ │ │ │ ├── getopt.c │ │ │ │ ├── gk_arch.h │ │ │ │ ├── gk_defs.h │ │ │ │ ├── gk_externs.h │ │ │ │ ├── gk_getopt.h │ │ │ │ ├── gk_macros.h │ │ │ │ ├── gk_mkblas.h │ │ │ │ ├── gk_mkmemory.h │ │ │ │ ├── gk_mkpqueue.h │ │ │ │ ├── gk_mkpqueue2.h │ │ │ │ ├── gk_mkrandom.h │ │ │ │ ├── gk_mksort.h │ │ │ │ ├── gk_mkutils.h │ │ │ │ ├── gk_proto.h │ │ │ │ ├── gk_struct.h │ │ │ │ ├── gk_types.h │ │ │ │ ├── gkregex.c │ │ │ │ ├── gkregex.h │ │ │ │ ├── graph.c │ │ │ │ ├── htable.c │ │ │ │ ├── io.c │ │ │ │ ├── itemsets.c │ │ │ │ ├── mcore.c │ │ │ │ ├── memory.c │ │ │ │ ├── ms_inttypes.h │ │ │ │ ├── ms_stat.h │ │ │ │ ├── ms_stdint.h │ │ │ │ ├── omp.c │ │ │ │ ├── original │ │ │ │ │ ├── GKlib.h │ │ │ │ │ ├── error.c │ │ │ │ │ ├── gk_arch.h │ │ │ │ │ ├── gk_mkrandom.h │ │ │ │ │ ├── gk_proto.h │ │ │ │ │ └── memory.c │ │ │ │ ├── pdb.c │ │ │ │ ├── pqueue.c │ │ │ │ ├── random.c │ │ │ │ ├── rw.c │ │ │ │ ├── seq.c │ │ │ │ ├── sort.c │ │ │ │ ├── string.c │ │ │ │ ├── test │ │ │ │ │ ├── fis.c │ │ │ │ │ ├── gkgraph.c │ │ │ │ │ ├── gksort.c │ │ │ │ │ ├── rw.c │ │ │ │ │ └── strings.c │ │ │ │ ├── timers.c │ │ │ │ ├── tokenizer.c │ │ │ │ └── util.c │ │ │ ├── include │ │ │ │ ├── metis.h │ │ │ │ └── original │ │ │ │ │ └── metis.h │ │ │ └── libmetis │ │ │ │ ├── auxapi.c │ │ │ │ ├── balance.c │ │ │ │ ├── bucketsort.c │ │ │ │ ├── checkgraph.c │ │ │ │ ├── coarsen.c │ │ │ │ ├── compress.c │ │ │ │ ├── contig.c │ │ │ │ ├── debug.c │ │ │ │ ├── defs.h │ │ │ │ ├── fm.c │ │ │ │ ├── fortran.c │ │ │ │ ├── frename.c │ │ │ │ ├── gklib.c │ │ │ │ ├── gklib_defs.h │ │ │ │ ├── gklib_rename.h │ │ │ │ ├── graph.c │ │ │ │ ├── initpart.c │ │ │ │ ├── kmetis.c │ │ │ │ ├── kwayfm.c │ │ │ │ ├── kwayrefine.c │ │ │ │ ├── macros.h │ │ │ │ ├── mcutil.c │ │ │ │ ├── mesh.c │ │ │ │ ├── meshpart.c │ │ │ │ ├── metislib.h │ │ │ │ ├── minconn.c │ │ │ │ ├── mincover.c │ │ │ │ ├── mmd.c │ │ │ │ ├── ometis.c │ │ │ │ ├── options.c │ │ │ │ ├── parmetis.c │ │ │ │ ├── pmetis.c │ │ │ │ ├── proto.h │ │ │ │ ├── refine.c │ │ │ │ ├── rename.h │ │ │ │ ├── separator.c │ │ │ │ ├── sfm.c │ │ │ │ ├── srefine.c │ │ │ │ ├── stat.c │ │ │ │ ├── stdheaders.h │ │ │ │ ├── struct.h │ │ │ │ ├── timing.c │ │ │ │ ├── util.c │ │ │ │ └── wspace.c │ │ ├── Supernodal │ │ │ ├── cholmod_l_super_numeric.c │ │ │ ├── cholmod_l_super_solve.c │ │ │ ├── cholmod_l_super_symbolic.c │ │ │ ├── cholmod_super_numeric.c │ │ │ ├── cholmod_super_solve.c │ │ │ ├── cholmod_super_symbolic.c │ │ │ ├── t_cholmod_super_numeric_worker.c │ │ │ └── t_cholmod_super_solve_worker.c │ │ └── Utility │ │ │ ├── cholmod_aat.c │ │ │ ├── cholmod_add.c │ │ │ ├── cholmod_add_size_t.c │ │ │ ├── cholmod_alloc_factor.c │ │ │ ├── cholmod_alloc_work.c │ │ │ ├── cholmod_allocate_dense.c │ │ │ ├── cholmod_allocate_factor.c │ │ │ ├── cholmod_allocate_sparse.c │ │ │ ├── cholmod_allocate_triplet.c │ │ │ ├── cholmod_allocate_work.c │ │ │ ├── cholmod_band.c │ │ │ ├── cholmod_band_nnz.c │ │ │ ├── cholmod_calloc.c │ │ │ ├── cholmod_change_factor.c │ │ │ ├── cholmod_clear_flag.c │ │ │ ├── cholmod_copy.c │ │ │ ├── cholmod_copy_dense.c │ │ │ ├── cholmod_copy_dense2.c │ │ │ ├── cholmod_copy_factor.c │ │ │ ├── cholmod_copy_sparse.c │ │ │ ├── cholmod_copy_triplet.c │ │ │ ├── cholmod_cumsum.c │ │ │ ├── cholmod_dbound.c │ │ │ ├── cholmod_defaults.c │ │ │ ├── cholmod_dense_nnz.c │ │ │ ├── cholmod_dense_to_sparse.c │ │ │ ├── cholmod_divcomplex.c │ │ │ ├── cholmod_ensure_dense.c │ │ │ ├── cholmod_error.c │ │ │ ├── cholmod_eye.c │ │ │ ├── cholmod_factor_to_sparse.c │ │ │ ├── cholmod_finish.c │ │ │ ├── cholmod_free.c │ │ │ ├── cholmod_free_dense.c │ │ │ ├── cholmod_free_factor.c │ │ │ ├── cholmod_free_sparse.c │ │ │ ├── cholmod_free_triplet.c │ │ │ ├── cholmod_free_work.c │ │ │ ├── cholmod_hypot.c │ │ │ ├── cholmod_l_aat.c │ │ │ ├── cholmod_l_add.c │ │ │ ├── cholmod_l_add_size_t.c │ │ │ ├── cholmod_l_alloc_factor.c │ │ │ ├── cholmod_l_alloc_work.c │ │ │ ├── cholmod_l_allocate_dense.c │ │ │ ├── cholmod_l_allocate_factor.c │ │ │ ├── cholmod_l_allocate_sparse.c │ │ │ ├── cholmod_l_allocate_triplet.c │ │ │ ├── cholmod_l_allocate_work.c │ │ │ ├── cholmod_l_band.c │ │ │ ├── cholmod_l_band_nnz.c │ │ │ ├── cholmod_l_calloc.c │ │ │ ├── cholmod_l_change_factor.c │ │ │ ├── cholmod_l_clear_flag.c │ │ │ ├── cholmod_l_copy.c │ │ │ ├── cholmod_l_copy_dense.c │ │ │ ├── cholmod_l_copy_dense2.c │ │ │ ├── cholmod_l_copy_factor.c │ │ │ ├── cholmod_l_copy_sparse.c │ │ │ ├── cholmod_l_copy_triplet.c │ │ │ ├── cholmod_l_cumsum.c │ │ │ ├── cholmod_l_dbound.c │ │ │ ├── cholmod_l_defaults.c │ │ │ ├── cholmod_l_dense_nnz.c │ │ │ ├── cholmod_l_dense_to_sparse.c │ │ │ ├── cholmod_l_divcomplex.c │ │ │ ├── cholmod_l_ensure_dense.c │ │ │ ├── cholmod_l_error.c │ │ │ ├── cholmod_l_eye.c │ │ │ ├── cholmod_l_factor_to_sparse.c │ │ │ ├── cholmod_l_finish.c │ │ │ ├── cholmod_l_free.c │ │ │ ├── cholmod_l_free_dense.c │ │ │ ├── cholmod_l_free_factor.c │ │ │ ├── cholmod_l_free_sparse.c │ │ │ ├── cholmod_l_free_triplet.c │ │ │ ├── cholmod_l_free_work.c │ │ │ ├── cholmod_l_hypot.c │ │ │ ├── cholmod_l_malloc.c │ │ │ ├── cholmod_l_maxrank.c │ │ │ ├── cholmod_l_mult_size_t.c │ │ │ ├── cholmod_l_nnz.c │ │ │ ├── cholmod_l_ones.c │ │ │ ├── cholmod_l_pack_factor.c │ │ │ ├── cholmod_l_ptranspose.c │ │ │ ├── cholmod_l_realloc.c │ │ │ ├── cholmod_l_realloc_multiple.c │ │ │ ├── cholmod_l_reallocate_column.c │ │ │ ├── cholmod_l_reallocate_factor.c │ │ │ ├── cholmod_l_reallocate_sparse.c │ │ │ ├── cholmod_l_reallocate_triplet.c │ │ │ ├── cholmod_l_sbound.c │ │ │ ├── cholmod_l_score_comp.c │ │ │ ├── cholmod_l_set_empty.c │ │ │ ├── cholmod_l_sort.c │ │ │ ├── cholmod_l_sparse_to_dense.c │ │ │ ├── cholmod_l_sparse_to_triplet.c │ │ │ ├── cholmod_l_speye.c │ │ │ ├── cholmod_l_spzeros.c │ │ │ ├── cholmod_l_start.c │ │ │ ├── cholmod_l_transpose.c │ │ │ ├── cholmod_l_transpose_sym.c │ │ │ ├── cholmod_l_transpose_unsym.c │ │ │ ├── cholmod_l_triplet_to_sparse.c │ │ │ ├── cholmod_l_version.c │ │ │ ├── cholmod_l_xtype.c │ │ │ ├── cholmod_l_zeros.c │ │ │ ├── cholmod_malloc.c │ │ │ ├── cholmod_maxrank.c │ │ │ ├── cholmod_memdebug.c │ │ │ ├── cholmod_mult_size_t.c │ │ │ ├── cholmod_mult_uint64_t.c │ │ │ ├── cholmod_nnz.c │ │ │ ├── cholmod_ones.c │ │ │ ├── cholmod_pack_factor.c │ │ │ ├── cholmod_ptranspose.c │ │ │ ├── cholmod_realloc.c │ │ │ ├── cholmod_realloc_multiple.c │ │ │ ├── cholmod_reallocate_column.c │ │ │ ├── cholmod_reallocate_factor.c │ │ │ ├── cholmod_reallocate_sparse.c │ │ │ ├── cholmod_reallocate_triplet.c │ │ │ ├── cholmod_sbound.c │ │ │ ├── cholmod_score_comp.c │ │ │ ├── cholmod_set_empty.c │ │ │ ├── cholmod_sort.c │ │ │ ├── cholmod_sparse_to_dense.c │ │ │ ├── cholmod_sparse_to_triplet.c │ │ │ ├── cholmod_speye.c │ │ │ ├── cholmod_spzeros.c │ │ │ ├── cholmod_start.c │ │ │ ├── cholmod_transpose.c │ │ │ ├── cholmod_transpose_sym.c │ │ │ ├── cholmod_transpose_unsym.c │ │ │ ├── cholmod_triplet_to_sparse.c │ │ │ ├── cholmod_version.c │ │ │ ├── cholmod_xtype.c │ │ │ ├── cholmod_zeros.c │ │ │ ├── t_cholmod_aat.c │ │ │ ├── t_cholmod_aat_worker.c │ │ │ ├── t_cholmod_add.c │ │ │ ├── t_cholmod_add_size_t.c │ │ │ ├── t_cholmod_add_worker.c │ │ │ ├── t_cholmod_alloc_factor.c │ │ │ ├── t_cholmod_alloc_work.c │ │ │ ├── t_cholmod_allocate_dense.c │ │ │ ├── t_cholmod_allocate_sparse.c │ │ │ ├── t_cholmod_allocate_triplet.c │ │ │ ├── t_cholmod_band.c │ │ │ ├── t_cholmod_band_nnz.c │ │ │ ├── t_cholmod_band_worker.c │ │ │ ├── t_cholmod_bound.c │ │ │ ├── t_cholmod_change_factor.c │ │ │ ├── t_cholmod_change_factor_1_worker.c │ │ │ ├── t_cholmod_change_factor_2_template.c │ │ │ ├── t_cholmod_change_factor_2_worker.c │ │ │ ├── t_cholmod_change_factor_3_template.c │ │ │ ├── t_cholmod_change_factor_3_worker.c │ │ │ ├── t_cholmod_change_xdtype.c │ │ │ ├── t_cholmod_change_xdtype_template.c │ │ │ ├── t_cholmod_clear_flag.c │ │ │ ├── t_cholmod_copy.c │ │ │ ├── t_cholmod_copy_dense.c │ │ │ ├── t_cholmod_copy_dense2.c │ │ │ ├── t_cholmod_copy_dense2_worker.c │ │ │ ├── t_cholmod_copy_factor.c │ │ │ ├── t_cholmod_copy_factor_worker.c │ │ │ ├── t_cholmod_copy_sparse.c │ │ │ ├── t_cholmod_copy_sparse_worker.c │ │ │ ├── t_cholmod_copy_triplet.c │ │ │ ├── t_cholmod_copy_worker.c │ │ │ ├── t_cholmod_cumsum.c │ │ │ ├── t_cholmod_defaults.c │ │ │ ├── t_cholmod_dense_nnz.c │ │ │ ├── t_cholmod_dense_nnz_worker.c │ │ │ ├── t_cholmod_dense_to_sparse.c │ │ │ ├── t_cholmod_dense_to_sparse_worker.c │ │ │ ├── t_cholmod_ensure_dense.c │ │ │ ├── t_cholmod_error.c │ │ │ ├── t_cholmod_eye.c │ │ │ ├── t_cholmod_eye_worker.c │ │ │ ├── t_cholmod_factor_to_sparse.c │ │ │ ├── t_cholmod_finish.c │ │ │ ├── t_cholmod_free.c │ │ │ ├── t_cholmod_free_dense.c │ │ │ ├── t_cholmod_free_factor.c │ │ │ ├── t_cholmod_free_sparse.c │ │ │ ├── t_cholmod_free_triplet.c │ │ │ ├── t_cholmod_free_work.c │ │ │ ├── t_cholmod_malloc.c │ │ │ ├── t_cholmod_maxrank.c │ │ │ ├── t_cholmod_mult_size_t.c │ │ │ ├── t_cholmod_nnz.c │ │ │ ├── t_cholmod_ones.c │ │ │ ├── t_cholmod_ones_worker.c │ │ │ ├── t_cholmod_pack_factor.c │ │ │ ├── t_cholmod_pack_factor_worker.c │ │ │ ├── t_cholmod_ptranspose.c │ │ │ ├── t_cholmod_realloc.c │ │ │ ├── t_cholmod_realloc_multiple.c │ │ │ ├── t_cholmod_reallocate_column.c │ │ │ ├── t_cholmod_reallocate_column_worker.c │ │ │ ├── t_cholmod_reallocate_factor.c │ │ │ ├── t_cholmod_reallocate_sparse.c │ │ │ ├── t_cholmod_reallocate_triplet.c │ │ │ ├── t_cholmod_score_comp.c │ │ │ ├── t_cholmod_set_empty.c │ │ │ ├── t_cholmod_sort.c │ │ │ ├── t_cholmod_sort_worker.c │ │ │ ├── t_cholmod_sparse_to_dense.c │ │ │ ├── t_cholmod_sparse_to_dense_worker.c │ │ │ ├── t_cholmod_sparse_to_triplet.c │ │ │ ├── t_cholmod_sparse_to_triplet_worker.c │ │ │ ├── t_cholmod_speye.c │ │ │ ├── t_cholmod_speye_worker.c │ │ │ ├── t_cholmod_spzeros.c │ │ │ ├── t_cholmod_start.c │ │ │ ├── t_cholmod_transpose.c │ │ │ ├── t_cholmod_transpose_sym.c │ │ │ ├── t_cholmod_transpose_sym_permuted.c │ │ │ ├── t_cholmod_transpose_sym_template.c │ │ │ ├── t_cholmod_transpose_sym_unpermuted.c │ │ │ ├── t_cholmod_transpose_sym_worker.c │ │ │ ├── t_cholmod_transpose_unsym.c │ │ │ ├── t_cholmod_transpose_unsym_template.c │ │ │ ├── t_cholmod_transpose_unsym_worker.c │ │ │ ├── t_cholmod_triplet_to_sparse.c │ │ │ ├── t_cholmod_triplet_to_sparse_worker.c │ │ │ ├── t_cholmod_version.c │ │ │ └── t_cholmod_zeros.c │ ├── COLAMD │ │ ├── Include │ │ │ └── colamd.h │ │ ├── Makefile │ │ └── Source │ │ │ ├── colamd.c │ │ │ ├── colamd_l.c │ │ │ └── colamd_version.c │ ├── CXSparse │ │ ├── Include │ │ │ └── cs.h │ │ ├── Makefile │ │ └── Source │ │ │ ├── cs_add.c │ │ │ ├── cs_amd.c │ │ │ ├── cs_chol.c │ │ │ ├── cs_cholsol.c │ │ │ ├── cs_ci_add.c │ │ │ ├── cs_ci_amd.c │ │ │ ├── cs_ci_chol.c │ │ │ ├── cs_ci_cholsol.c │ │ │ ├── cs_ci_compress.c │ │ │ ├── cs_ci_counts.c │ │ │ ├── cs_ci_cumsum.c │ │ │ ├── cs_ci_dfs.c │ │ │ ├── cs_ci_dmperm.c │ │ │ ├── cs_ci_droptol.c │ │ │ ├── cs_ci_dropzeros.c │ │ │ ├── cs_ci_dupl.c │ │ │ ├── cs_ci_entry.c │ │ │ ├── cs_ci_ereach.c │ │ │ ├── cs_ci_etree.c │ │ │ ├── cs_ci_fkeep.c │ │ │ ├── cs_ci_gaxpy.c │ │ │ ├── cs_ci_happly.c │ │ │ ├── cs_ci_house.c │ │ │ ├── cs_ci_ipvec.c │ │ │ ├── cs_ci_leaf.c │ │ │ ├── cs_ci_load.c │ │ │ ├── cs_ci_lsolve.c │ │ │ ├── cs_ci_ltsolve.c │ │ │ ├── cs_ci_lu.c │ │ │ ├── cs_ci_lusol.c │ │ │ ├── cs_ci_malloc.c │ │ │ ├── cs_ci_maxtrans.c │ │ │ ├── cs_ci_multiply.c │ │ │ ├── cs_ci_norm.c │ │ │ ├── cs_ci_permute.c │ │ │ ├── cs_ci_pinv.c │ │ │ ├── cs_ci_post.c │ │ │ ├── cs_ci_print.c │ │ │ ├── cs_ci_pvec.c │ │ │ ├── cs_ci_qr.c │ │ │ ├── cs_ci_qrsol.c │ │ │ ├── cs_ci_randperm.c │ │ │ ├── cs_ci_reach.c │ │ │ ├── cs_ci_scatter.c │ │ │ ├── cs_ci_scc.c │ │ │ ├── cs_ci_schol.c │ │ │ ├── cs_ci_spsolve.c │ │ │ ├── cs_ci_sqr.c │ │ │ ├── cs_ci_symperm.c │ │ │ ├── cs_ci_tdfs.c │ │ │ ├── cs_ci_transpose.c │ │ │ ├── cs_ci_updown.c │ │ │ ├── cs_ci_usolve.c │ │ │ ├── cs_ci_util.c │ │ │ ├── cs_ci_utsolve.c │ │ │ ├── cs_cl_add.c │ │ │ ├── cs_cl_amd.c │ │ │ ├── cs_cl_chol.c │ │ │ ├── cs_cl_cholsol.c │ │ │ ├── cs_cl_compress.c │ │ │ ├── cs_cl_counts.c │ │ │ ├── cs_cl_cumsum.c │ │ │ ├── cs_cl_dfs.c │ │ │ ├── cs_cl_dmperm.c │ │ │ ├── cs_cl_droptol.c │ │ │ ├── cs_cl_dropzeros.c │ │ │ ├── cs_cl_dupl.c │ │ │ ├── cs_cl_entry.c │ │ │ ├── cs_cl_ereach.c │ │ │ ├── cs_cl_etree.c │ │ │ ├── cs_cl_fkeep.c │ │ │ ├── cs_cl_gaxpy.c │ │ │ ├── cs_cl_happly.c │ │ │ ├── cs_cl_house.c │ │ │ ├── cs_cl_ipvec.c │ │ │ ├── cs_cl_leaf.c │ │ │ ├── cs_cl_load.c │ │ │ ├── cs_cl_lsolve.c │ │ │ ├── cs_cl_ltsolve.c │ │ │ ├── cs_cl_lu.c │ │ │ ├── cs_cl_lusol.c │ │ │ ├── cs_cl_malloc.c │ │ │ ├── cs_cl_maxtrans.c │ │ │ ├── cs_cl_multiply.c │ │ │ ├── cs_cl_norm.c │ │ │ ├── cs_cl_permute.c │ │ │ ├── cs_cl_pinv.c │ │ │ ├── cs_cl_post.c │ │ │ ├── cs_cl_print.c │ │ │ ├── cs_cl_pvec.c │ │ │ ├── cs_cl_qr.c │ │ │ ├── cs_cl_qrsol.c │ │ │ ├── cs_cl_randperm.c │ │ │ ├── cs_cl_reach.c │ │ │ ├── cs_cl_scatter.c │ │ │ ├── cs_cl_scc.c │ │ │ ├── cs_cl_schol.c │ │ │ ├── cs_cl_spsolve.c │ │ │ ├── cs_cl_sqr.c │ │ │ ├── cs_cl_symperm.c │ │ │ ├── cs_cl_tdfs.c │ │ │ ├── cs_cl_transpose.c │ │ │ ├── cs_cl_updown.c │ │ │ ├── cs_cl_usolve.c │ │ │ ├── cs_cl_util.c │ │ │ ├── cs_cl_utsolve.c │ │ │ ├── cs_compress.c │ │ │ ├── cs_convert.c │ │ │ ├── cs_counts.c │ │ │ ├── cs_cumsum.c │ │ │ ├── cs_dfs.c │ │ │ ├── cs_dl_add.c │ │ │ ├── cs_dl_amd.c │ │ │ ├── cs_dl_chol.c │ │ │ ├── cs_dl_cholsol.c │ │ │ ├── cs_dl_compress.c │ │ │ ├── cs_dl_counts.c │ │ │ ├── cs_dl_cumsum.c │ │ │ ├── cs_dl_dfs.c │ │ │ ├── cs_dl_dmperm.c │ │ │ ├── cs_dl_droptol.c │ │ │ ├── cs_dl_dropzeros.c │ │ │ ├── cs_dl_dupl.c │ │ │ ├── cs_dl_entry.c │ │ │ ├── cs_dl_ereach.c │ │ │ ├── cs_dl_etree.c │ │ │ ├── cs_dl_fkeep.c │ │ │ ├── cs_dl_gaxpy.c │ │ │ ├── cs_dl_happly.c │ │ │ ├── cs_dl_house.c │ │ │ ├── cs_dl_ipvec.c │ │ │ ├── cs_dl_leaf.c │ │ │ ├── cs_dl_load.c │ │ │ ├── cs_dl_lsolve.c │ │ │ ├── cs_dl_ltsolve.c │ │ │ ├── cs_dl_lu.c │ │ │ ├── cs_dl_lusol.c │ │ │ ├── cs_dl_malloc.c │ │ │ ├── cs_dl_maxtrans.c │ │ │ ├── cs_dl_multiply.c │ │ │ ├── cs_dl_norm.c │ │ │ ├── cs_dl_permute.c │ │ │ ├── cs_dl_pinv.c │ │ │ ├── cs_dl_post.c │ │ │ ├── cs_dl_print.c │ │ │ ├── cs_dl_pvec.c │ │ │ ├── cs_dl_qr.c │ │ │ ├── cs_dl_qrsol.c │ │ │ ├── cs_dl_randperm.c │ │ │ ├── cs_dl_reach.c │ │ │ ├── cs_dl_scatter.c │ │ │ ├── cs_dl_scc.c │ │ │ ├── cs_dl_schol.c │ │ │ ├── cs_dl_spsolve.c │ │ │ ├── cs_dl_sqr.c │ │ │ ├── cs_dl_symperm.c │ │ │ ├── cs_dl_tdfs.c │ │ │ ├── cs_dl_transpose.c │ │ │ ├── cs_dl_updown.c │ │ │ ├── cs_dl_usolve.c │ │ │ ├── cs_dl_util.c │ │ │ ├── cs_dl_utsolve.c │ │ │ ├── cs_dmperm.c │ │ │ ├── cs_droptol.c │ │ │ ├── cs_dropzeros.c │ │ │ ├── cs_dupl.c │ │ │ ├── cs_entry.c │ │ │ ├── cs_ereach.c │ │ │ ├── cs_etree.c │ │ │ ├── cs_fkeep.c │ │ │ ├── cs_gaxpy.c │ │ │ ├── cs_happly.c │ │ │ ├── cs_house.c │ │ │ ├── cs_ipvec.c │ │ │ ├── cs_leaf.c │ │ │ ├── cs_load.c │ │ │ ├── cs_lsolve.c │ │ │ ├── cs_ltsolve.c │ │ │ ├── cs_lu.c │ │ │ ├── cs_lusol.c │ │ │ ├── cs_malloc.c │ │ │ ├── cs_maxtrans.c │ │ │ ├── cs_multiply.c │ │ │ ├── cs_norm.c │ │ │ ├── cs_permute.c │ │ │ ├── cs_pinv.c │ │ │ ├── cs_post.c │ │ │ ├── cs_print.c │ │ │ ├── cs_pvec.c │ │ │ ├── cs_qr.c │ │ │ ├── cs_qrsol.c │ │ │ ├── cs_randperm.c │ │ │ ├── cs_reach.c │ │ │ ├── cs_scatter.c │ │ │ ├── cs_scc.c │ │ │ ├── cs_schol.c │ │ │ ├── cs_spsolve.c │ │ │ ├── cs_sqr.c │ │ │ ├── cs_symperm.c │ │ │ ├── cs_tdfs.c │ │ │ ├── cs_transpose.c │ │ │ ├── cs_updown.c │ │ │ ├── cs_usolve.c │ │ │ ├── cs_util.c │ │ │ ├── cs_utsolve.c │ │ │ └── cxsparse_version.c │ └── SuiteSparse_config │ │ ├── Makefile │ │ ├── SuiteSparse_config.c │ │ └── SuiteSparse_config.h ├── attrib.c ├── attrib.h ├── bind.c ├── bind.h ├── cholmod-common.c ├── cholmod-common.h ├── cholmod-etc.c ├── cholmod-etc.h ├── coerce.c ├── coerce.h ├── cs-etc.c ├── cs-etc.h ├── dense.c ├── dense.h ├── determinant.c ├── determinant.h ├── expm.c ├── expm.h ├── factor.c ├── factor.h ├── idz.c ├── idz.h ├── init.c ├── kappa.c ├── kappa.h ├── matmult.c ├── matmult.h ├── objects.c ├── objects.h ├── perm.c ├── perm.h ├── solve.c ├── solve.h ├── sparse.c ├── sparse.h ├── subassign.c ├── subassign.h ├── subscript.c ├── subscript.h ├── t_rle.c ├── t_subassign.c ├── utils-R.c ├── utils-R.h ├── utils.c ├── utils.h ├── validity.c ├── validity.h ├── vector.c ├── vector.h └── version.h ├── tests ├── Class+Meth.R ├── Simple.R ├── abIndex-tsts.R ├── base-matrix-fun.R ├── bind.R ├── bind.Rout.save ├── dg_Matrix.R ├── dpo-test.R ├── dtpMatrix.R ├── factorizing.R ├── group-methods.R ├── indexing.R ├── indexing.Rout.save ├── matprod.R ├── matr-exp.R ├── other-pkgs.R ├── packed-unpacked.R ├── spModel.matrix.R ├── symmDN.R ├── validObj.R └── write-read.R └── vignettes ├── Comparisons.Rnw ├── Design-issues.Rnw ├── Intro2Matrix.Rnw ├── Introduction.Rnw ├── Matrix.bib ├── myVignette.sty └── sparseModels.Rnw /.Rinstignore: -------------------------------------------------------------------------------- 1 | ## currently unused 2 | -------------------------------------------------------------------------------- /build/partial.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/build/partial.rdb -------------------------------------------------------------------------------- /build/vignette.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/build/vignette.rds -------------------------------------------------------------------------------- /cleanup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ## INSTALL does not clean up after ./configure or in subdirectories of src/; 4 | ## we do not have a ./configure, hence we only need the following: 5 | 6 | ssdir=SuiteSparse 7 | for sslib in SuiteSparse_config CXSparse AMD COLAMD CAMD CCOLAMD CHOLMOD; do 8 | (cd src/${ssdir}/${sslib} && make clean) 9 | done 10 | -------------------------------------------------------------------------------- /data/CAex.R: -------------------------------------------------------------------------------- 1 | stopifnot(requireNamespace("Matrix" , quietly = TRUE)) # includes 'methods' 2 | 3 | CAex <- 4 | local({ 5 | load(system.file(file.path("external", "CAex_slots.rda"), package = "Matrix")) 6 | ## -> 'L' 7 | r <- methods::new("dgCMatrix") 8 | for (n in c("Dim", "i","p","x")) 9 | methods::slot(r, n) <- L[[n]] 10 | r 11 | }) 12 | 13 | ## The reverse { CAex |--> L } is 14 | if(FALSE) { 15 | sNms <- c("Dim", "i", "p", "x") 16 | L <- lapply(sNms, function(N) slot(CAex, N)); names(L) <- sNms 17 | save(L, file = "/u/maechler/R/Pkgs/Matrix/inst/external/CAex_slots.rda") 18 | } 19 | -------------------------------------------------------------------------------- /data/KNex.R: -------------------------------------------------------------------------------- 1 | stopifnot(requireNamespace("Matrix" , quietly = TRUE)) # includes 'methods' 2 | 3 | KNex <- 4 | local({ 5 | load(system.file(file.path("external", "KNex_slots.rda"), package = "Matrix")) 6 | ## -> 'L' 7 | r <- list(mm = methods::new("dgCMatrix"), y = L[["y"]]) 8 | `slot<-` <- methods::`slot<-` 9 | for (n in c("Dim", "i","p","x")) ## needs methods::slot<- 10 | slot(r$mm, n) <- L[[n]] 11 | r 12 | }) 13 | -------------------------------------------------------------------------------- /data/USCounties.R: -------------------------------------------------------------------------------- 1 | stopifnot(requireNamespace("Matrix" , quietly = TRUE)) # includes 'methods' 2 | 3 | USCounties <- 4 | local({ 5 | load(system.file(file.path("external", "USCounties_slots.rda"), 6 | package = "Matrix")) 7 | ## -> 'L' 8 | r <- methods::new("dsCMatrix") 9 | `slot<-` <- methods::`slot<-` 10 | for (n in c("Dim", "i","p","x")) 11 | slot(r, n) <- L[[n]] 12 | r 13 | }) 14 | 15 | ## The reverse: 16 | if(FALSE) { 17 | L <- list() 18 | for (n in c("Dim", "i","p","x")) L[[n]] <- slot(USCounties, n) 19 | } 20 | 21 | -------------------------------------------------------------------------------- /data/datalist: -------------------------------------------------------------------------------- 1 | CAex 2 | KNex 3 | USCounties 4 | wrld_1deg 5 | -------------------------------------------------------------------------------- /data/wrld_1deg.R: -------------------------------------------------------------------------------- 1 | stopifnot(requireNamespace("Matrix" , quietly = TRUE)) # includes 'methods' 2 | 3 | wrld_1deg <- 4 | local({ 5 | load(system.file(file.path("external", "wrld_1deg_slots.rda"), 6 | package = "Matrix")) 7 | ## -> 'L' 8 | r <- methods::new("dsCMatrix") 9 | for (n in c("Dim", "i","p","x")) 10 | methods::slot(r, n) <- L[[n]] 11 | r 12 | }) 13 | 14 | if(FALSE) {## The reverse: 15 | L <- list() 16 | for (n in c("Dim", "i","p","x")) L[[n]] <- slot(wrld_1deg, n) 17 | } 18 | -------------------------------------------------------------------------------- /inst/doc/Comparisons.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/doc/Comparisons.pdf -------------------------------------------------------------------------------- /inst/doc/Design-issues.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/doc/Design-issues.pdf -------------------------------------------------------------------------------- /inst/doc/Intro2Matrix.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/doc/Intro2Matrix.pdf -------------------------------------------------------------------------------- /inst/doc/Introduction.R: -------------------------------------------------------------------------------- 1 | ### R code from vignette source 'Introduction.Rnw' 2 | 3 | ################################################### 4 | ### code chunk number 1: preliminaries 5 | ################################################### 6 | options(width=75) 7 | 8 | 9 | -------------------------------------------------------------------------------- /inst/doc/Introduction.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/doc/Introduction.pdf -------------------------------------------------------------------------------- /inst/doc/sparseModels.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/doc/sparseModels.pdf -------------------------------------------------------------------------------- /inst/external/CAex_slots.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/CAex_slots.rda -------------------------------------------------------------------------------- /inst/external/KNex_slots.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/KNex_slots.rda -------------------------------------------------------------------------------- /inst/external/USCounties_slots.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/USCounties_slots.rda -------------------------------------------------------------------------------- /inst/external/Z_NA_rnk.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/Z_NA_rnk.rds -------------------------------------------------------------------------------- /inst/external/jgl009.mtx: -------------------------------------------------------------------------------- 1 | %%MatrixMarket matrix coordinate pattern general 2 | 9 9 50 3 | 1 1 4 | 2 1 5 | 4 1 6 | 5 1 7 | 6 1 8 | 7 1 9 | 8 1 10 | 9 1 11 | 2 2 12 | 3 2 13 | 8 2 14 | 9 2 15 | 2 3 16 | 3 3 17 | 4 3 18 | 5 3 19 | 6 3 20 | 7 3 21 | 8 3 22 | 9 3 23 | 4 4 24 | 5 4 25 | 6 4 26 | 7 4 27 | 8 4 28 | 9 4 29 | 4 5 30 | 5 5 31 | 6 5 32 | 7 5 33 | 8 5 34 | 9 5 35 | 4 6 36 | 5 6 37 | 6 6 38 | 7 6 39 | 8 6 40 | 9 6 41 | 1 7 42 | 2 7 43 | 3 7 44 | 8 7 45 | 9 7 46 | 8 8 47 | 9 8 48 | 1 9 49 | 2 9 50 | 3 9 51 | 8 9 52 | 9 9 53 | -------------------------------------------------------------------------------- /inst/external/symA.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/symA.rda -------------------------------------------------------------------------------- /inst/external/symW.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/symW.rda -------------------------------------------------------------------------------- /inst/external/test3comp.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/test3comp.rda -------------------------------------------------------------------------------- /inst/external/wrld_1deg_slots.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/external/wrld_1deg_slots.rda -------------------------------------------------------------------------------- /inst/external/wrong.mtx: -------------------------------------------------------------------------------- 1 | %%MatrixMarket matrix coordinate integer general 2 | 2 3 2 3 | 0 1 1 4 | 1 3 4 5 | -------------------------------------------------------------------------------- /inst/include/Matrix.h: -------------------------------------------------------------------------------- 1 | /* For backwards compatibility only. Packages should start using */ 2 | /* LinkingTo: Matrix (>= 1.6-2) and #include . */ 3 | #include 4 | #include "Matrix/Matrix.h" 5 | -------------------------------------------------------------------------------- /inst/include/Matrix/Matrix.h: -------------------------------------------------------------------------------- 1 | #ifndef R_MATRIX_MATRIX_H 2 | #define R_MATRIX_MATRIX_H 3 | 4 | #include "version.h" 5 | #include "cholmod.h" 6 | 7 | #ifndef R_MATRIX_NO_CHOLMOD_UTILS 8 | # include "cholmod-utils.h" 9 | #endif 10 | 11 | #ifndef R_MATRIX_NO_ALLOCA 12 | # include "alloca.h" 13 | #endif 14 | 15 | #ifndef R_MATRIX_NO_REMAP 16 | # include "remap.h" 17 | #endif 18 | 19 | #endif /* R_MATRIX_MATRIX_H */ 20 | -------------------------------------------------------------------------------- /inst/include/Matrix_stubs.c: -------------------------------------------------------------------------------- 1 | /* For backwards compatibility only. Packages should start using */ 2 | /* LinkingTo: Matrix (>= 1.6-2) and #include . */ 3 | #include "Matrix/alloca.h" 4 | #include "Matrix/remap.h" 5 | #include "Matrix/stubs.c" 6 | -------------------------------------------------------------------------------- /inst/include/cholmod.h: -------------------------------------------------------------------------------- 1 | /* For backwards compatibility only. Packages should start using */ 2 | /* LinkingTo: Matrix (>= 1.6-2) and #include . */ 3 | #include "Matrix/cholmod.h" 4 | -------------------------------------------------------------------------------- /inst/po/de/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/de/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/de/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/de/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/en@quot/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/en@quot/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/en@quot/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/en@quot/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/fr/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/fr/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/fr/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/fr/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/it/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/it/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/it/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/it/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/ko/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/ko/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/ko/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/ko/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/lt/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/lt/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/lt/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/lt/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/po/pl/LC_MESSAGES/Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/pl/LC_MESSAGES/Matrix.mo -------------------------------------------------------------------------------- /inst/po/pl/LC_MESSAGES/R-Matrix.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cran/Matrix/704ff7426679bf73ee8ec7e98c2941a930679bb8/inst/po/pl/LC_MESSAGES/R-Matrix.mo -------------------------------------------------------------------------------- /inst/scripts/disclaimer.txt: -------------------------------------------------------------------------------- 1 | /* Subsequent to changes made for SuiteSparse by Timothy A. Davis, */ 2 | /* which are documented in the file */ 3 | /* ../../../../../inst/doc/SuiteSparse/CHOLMOD/SuiteSparse_metis/README.txt, */ 4 | /* the METIS library sources, which include this file, have been patched */ 5 | /* for R package Matrix by its authors to resolve warnings issued by GCC */ 6 | /* and Clang with options -Wall and -Wextra. See the files ssget.sh and */ 7 | /* *.patch below ../../../../../inst/scripts for details. */ 8 | 9 | -------------------------------------------------------------------------------- /inst/scripts/sources.mk: -------------------------------------------------------------------------------- 1 | sources = \ 2 | Csparse.c \ 3 | attrib.c \ 4 | bind.c \ 5 | cholmod-common.c \ 6 | cholmod-etc.c \ 7 | coerce.c \ 8 | cs-etc.c \ 9 | dense.c \ 10 | determinant.c \ 11 | expm.c \ 12 | factor.c \ 13 | idz.c \ 14 | init.c \ 15 | kappa.c \ 16 | matmult.c \ 17 | objects.c \ 18 | perm.c \ 19 | solve.c \ 20 | sparse.c \ 21 | subassign.c \ 22 | subscript.c \ 23 | utils-R.c \ 24 | utils.c \ 25 | validity.c \ 26 | vector.c 27 | -------------------------------------------------------------------------------- /src/Csparse.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_CSPARSE_H 2 | #define MATRIX_CSPARSE_H 3 | 4 | #include 5 | 6 | SEXP CsparseMatrix_validate_maybe_sorting(SEXP); 7 | 8 | SEXP dgCMatrix_lusol(SEXP, SEXP); 9 | SEXP dgCMatrix_qrsol(SEXP, SEXP, SEXP); 10 | SEXP dgCMatrix_cholsol(SEXP, SEXP); 11 | 12 | SEXP dtCMatrix_diag(SEXP, SEXP); 13 | 14 | SEXP Csparse_dmperm(SEXP, SEXP, SEXP); 15 | SEXP Csparse_writeMM(SEXP, SEXP); 16 | 17 | #endif /* MATRIX_CSPARSE_H */ 18 | -------------------------------------------------------------------------------- /src/Matrix-win.def: -------------------------------------------------------------------------------- 1 | LIBRARY Matrix.dll 2 | EXPORTS 3 | R_init_Matrix 4 | -------------------------------------------------------------------------------- /src/Msymbols.h: -------------------------------------------------------------------------------- 1 | SEXP 2 | Matrix_DimNamesSym, 3 | Matrix_DimSym, 4 | Matrix_LSym, 5 | Matrix_QSym, 6 | Matrix_RSym, 7 | Matrix_TSym, 8 | Matrix_USym, 9 | Matrix_VSym, 10 | Matrix_betaSym, 11 | Matrix_diagSym, 12 | Matrix_factorsSym, 13 | Matrix_iSym, 14 | Matrix_jSym, 15 | Matrix_lengthSym, 16 | Matrix_marginSym, 17 | Matrix_pSym, 18 | Matrix_permSym, 19 | Matrix_qSym, 20 | Matrix_sdSym, 21 | Matrix_uploSym, 22 | Matrix_xSym; 23 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l1.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l1: int64_t version of amd_1 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_1.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l2.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l2.c: int64_t version of amd_2 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_2.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_aat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_aat.c: int64_t version of amd_aat 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_aat.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_control.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_control.c: int64_t version of amd_control 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_control.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_defaults.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_defaults.c: int64_t version of amd_defaults 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_defaults.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_dump.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_dump.c: int64_t version of amd_dump 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_dump.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_info.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_info.c: int64_t version of amd_info 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_info.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_order.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_order.c: int64_t version of amd_order 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | #define DLONG 13 | #include "amd_order.c" 14 | 15 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_post_tree.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_post_tree.c: int64_t version of amd_post_tree 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_post_tree.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_postorder.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_postorder.c: int64_t version of amd_postorder 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_postorder.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_preprocess.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_preprocess.c: int64_t version of amd_preprocess 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_preprocess.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/AMD/Source/amd_l_valid.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // AMD/Source/amd_l_valid.c: int64_t version of amd_valid 3 | //------------------------------------------------------------------------------ 4 | 5 | // AMD, Copyright (c) 1996-2022, Timothy A. Davis, Patrick R. Amestoy, and 6 | // Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "amd_valid.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l1.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l1.c: int64_t version of camd_1 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_1.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l2.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l2.c: int64_t version of camd_2 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_2.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_aat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_aat.c: int64_t version of camd_aat 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_aat.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_control.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_control.c: int64_t version of camd_control 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_control.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_defaults.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_defaults.c: int64_t version of camd_defaults 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_defaults.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_dump.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_dump.c: int64_t version of camd_dump 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_dump.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_info.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_info.c: int64_t version of camd_info 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_info.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_order.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_order.c: int64_t version of camd_order 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_order.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CAMD/Source/camd_l_valid.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CAMD/Source/camd_l_valid.c: int64_t version of camd_valid 3 | //------------------------------------------------------------------------------ 4 | 5 | // CAMD, Copyright (c) 2007-2022, Timothy A. Davis, Yanqing Chen, Patrick R. 6 | // Amestoy, and Iain S. Duff. All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "camd_valid.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CCOLAMD/Makefile: -------------------------------------------------------------------------------- 1 | sources = Source/ccolamd.c Source/ccolamd_l.c Source/ccolamd_version.c 2 | objects = $(sources:.c=.o) 3 | archive = CCOLAMD.a 4 | 5 | PKG_CPPFLAGS = -I./Include -I../SuiteSparse_config 6 | 7 | all : $(archive) 8 | 9 | $(archive) : $(objects) 10 | rm -f $@ 11 | $(AR) -cr $@ $(objects) 12 | $(RANLIB) $@ 13 | 14 | .c.o : 15 | $(CC) $(PKG_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ 16 | 17 | clean : 18 | @rm -f $(objects) $(archive) 19 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Check/cholmod_l_check.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Check/cholmod_l_check.c: int64_t version of cholmod_check 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Check Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_check.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Check/cholmod_l_read.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Check/cholmod_l_read.c: int64_t version of cholmod_read 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Check Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_read.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Check/cholmod_l_write.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Check/cholmod_l_write.c: int64_t version of cholmod_write 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Check Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_write.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_amd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_amd.c: int64_t version of cholmod_amd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_amd.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_analyze.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_analyze.c: int64_t version of cholmod_analyze 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_analyze.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_colamd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_colamd.c: int64_t version of cholmod_colamd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_colamd.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_etree.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_etree.c: int64_t version of cholmod_etree 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_etree.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_factorize.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_factorize.c: int64_t version of cholmod_factorize 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_factorize.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_postorder.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_postorder.c: int64_t version of cholmod_postorder 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_postorder.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_rcond.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_rcond.c: int64_t version of cholmod_rcond 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_rcond.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_resymbol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_resymbol.c: int64_t version of cholmod_resymbol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_resymbol.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_rowcolcounts.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_rowcolcounts: compute row/col counts of L 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_rowcolcounts.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_rowfac.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_rowfac.c: int64_t version of cholmod_rowfac 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_rowfac.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_solve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_solve.c: int64_t version of cholmod_solve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_solve.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Cholesky/cholmod_l_spsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Cholesky/cholmod_l_spsolve.c: int64_t version of cholmod_spsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Cholesky Module. Copyright (C) 2005-2023, Timothy A. Davis 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_spsolve.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_drop.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_drop.c: int64_t version of cholmod_drop 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_drop.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_horzcat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_horzcat.c: int64_t version of cholmod_horzcat 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_horzcat.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_norm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_norm.c: int64_t version of cholmod_norm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_norm.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_scale.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_scale.c: int64_t version of cholmod_scale 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_scale.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_sdmult.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_sdmult.c: int64_t version of cholmod_sdmult 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_sdmult.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_ssmult.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_ssmult.c: int64_t version of cholmod_ssmult 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_ssmult.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_submatrix.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_submatrix.c: int64_t version of cholmod_submatrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_submatrix.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_symmetry.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_symmetry.c: int64_t version of cholmod_symmetry 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_symmetry.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/MatrixOps/cholmod_l_vertcat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/MatrixOps/cholmod_l_vertcat.c: int64_t version of cholmod_vertcat 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/MatrixOps Module. Copyright (C) 2005-2023, Timothy A. Davis. 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_vertcat.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Modify/cholmod_l_rowadd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Modify/cholmod_l_rowadd.c: int64_t version of cholmod_rowadd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Modify Module. Copyright (C) 2005-2023, Timothy A. Davis, 6 | // William W. Hager. All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_rowadd.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Modify/cholmod_l_rowdel.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Modify/cholmod_l_rowdel.c: int64_t version of cholmod_rowdel 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Modify Module. Copyright (C) 2005-2023, Timothy A. Davis, 6 | // William W. Hager. All Rights Reserved. 7 | // SPDX-License-Identifier: GPL-2.0+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "cholmod_rowdel.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/SuiteSparse_metis/GKlib/conf/check_thread_storage.c: -------------------------------------------------------------------------------- 1 | extern __thread int x; 2 | 3 | int main(int argc, char **argv) { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_aat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_aat: compute AA' or A(:,f)*A(:,f)' 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_aat.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_add.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_add: C = alpha*A + beta*B 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_add.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_add_size_t.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_add_size_t: add two size_t values 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_add_size_t.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_alloc_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_alloc_factor: allocate a simplicial factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_alloc_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_alloc_work.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_alloc_work: alloc workspace (double/single, int32) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_alloc_work.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_allocate_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_allocate_dense: allocate dense matrix (int32) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_allocate_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_allocate_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_allocate_sparse: allocate a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_allocate_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_band.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_band: extract the band of a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_band.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_band_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_band_nnz: # of entries in a band of sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_band_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_change_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_change_factor: change format of a factor object 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_change_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_clear_flag.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_clear_flag: clear Common->Flag 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_clear_flag.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy: copy a sparse matrix (with change of stype) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy_dense: copy a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy_dense2.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy_dense2: copy a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy_dense2.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy_factor: copy a factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy_sparse: copy a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_copy_triplet.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_copy_triplet: copy a triplet matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_copy_triplet.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_cumsum.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_cumsum: cumulative sum (int32) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_cumsum.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_defaults.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_defaults: set CHOLMOD defaults (int32 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_defaults.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_dense_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_dense_nnz: # of nonzeros in a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_dense_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_ensure_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_ensure_dense: ensure dense matrix has a given size 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_ensure_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_error.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_error: CHOLMOD error handling 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_error.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_eye.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_eye: dense identity matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_eye.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_finish.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_finish: finish CHOLMOD (int32 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_finish.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free: free (int32 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free_dense: free dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free_factor: free a sparse factorization 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free_sparse: free sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free_triplet.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free_triplet: free triplet matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free_triplet.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_free_work.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_free_work: free workspace in Common (int32) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_free_work.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_aat.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_aat: compute AA' or A(:,f)*A(:,f)' 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_aat.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_add.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_add: C = alpha*A + beta*B 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_add.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_add_size_t.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_add_size_t: add two size_t values 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_add_size_t.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_alloc_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_alloc_factor: allocate a simplicial factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_alloc_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_alloc_work.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_alloc_work: alloc workspace (double/single, int64) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_alloc_work.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_allocate_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_allocate_dense: allocate dense matrix (int64) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_allocate_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_allocate_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_allocate_sparse: allocate a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_allocate_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_band.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_band: extract the band of a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_band.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_band_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_band_nnz: # of entries in a band of sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_band_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_change_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_change_factor: change format of a factor object 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_change_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_clear_flag.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_clear_flag: clear Common->Flag 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_clear_flag.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy: copy a sparse matrix (with change of stype) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy_dense: copy a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy_dense2.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy_dense2: copy a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy_dense2.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy_factor: copy a factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy_sparse: copy a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_copy_triplet.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_copy_triplet: copy a triplet matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_copy_triplet.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_cumsum.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_cumsum: cumulative sum (int64) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_cumsum.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_defaults.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_defaults: set CHOLMOD defaults (int64 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_defaults.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_dense_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_dense_nnz: # of nonzeros in a dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_dense_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_error.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_error: CHOLMOD error handling 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_error.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_eye.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_eye: dense identity matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_eye.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_finish.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_finish: finish CHOLMOD (int64 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_finish.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free: free (int64 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free_dense.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free_dense: free dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free_dense.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free_factor: free a sparse factorization 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free_sparse: free sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free_triplet.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free_triplet: free triplet matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free_triplet.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_free_work.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_free_work: free workspace in Common (int64) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_free_work.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_maxrank.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_maxrank: find valid value of Common->maxrank 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_maxrank.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_mult_size_t.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_mult_size_t: multiply two size_t values 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_mult_size_t.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_nnz: # of entries in a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_ones.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_ones: dense matrix of all ones 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_ones.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_pack_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_pack_factor: pack a simplicial factorization 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_pack_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_ptranspose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_ptranspose: permuted transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_ptranspose.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_realloc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_realloc: realloc (int64 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_realloc.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_reallocate_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_reallocate_factor: reallocate a factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_reallocate_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_score_comp.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_score_comp: for sorting supernodes 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_score_comp.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_set_empty.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_set_empty: set an int64 array to EMPTY 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_set_empty.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_sort.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_sort: sort a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_sort.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_speye.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_speye: sparse identity matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_speye.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_spzeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_spzeros: all-zero sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_spzeros.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_start.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_start: start CHOLMOD (int64 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_start.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_transpose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_transpose: transpose a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_transpose.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_transpose_sym.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_transpose_sym: symmetric permuted transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_transpose_sym.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_version.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_version: CHOLMOD version 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_version.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_xtype.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_xtype.c: change xtype and/or dtype 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_change_xdtype.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_l_zeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_l_zeros: allocate an all-zero dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT64 12 | #include "t_cholmod_zeros.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_maxrank.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_maxrank: find valid value of Common->maxrank 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_maxrank.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_mult_size_t.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_mult_size_t: multiply two size_t values 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_mult_size_t.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_nnz.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_nnz: # of entries in a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_nnz.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_ones.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_ones: dense matrix of all ones 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_ones.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_pack_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_pack_factor: pack a simplicial factorization 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_pack_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_ptranspose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_ptranspose: permuted transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_ptranspose.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_realloc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_realloc: realloc (int32 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_realloc.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_reallocate_factor.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_reallocate_factor: reallocate a factor 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_reallocate_factor.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_reallocate_sparse.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_reallocate_sparse: reallocate sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_reallocate_sparse.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_score_comp.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_score_comp: for sorting supernodes 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_score_comp.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_set_empty.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_set_empty: set an int32 array to EMPTY 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_set_empty.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_sort.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_sort: sort a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_sort.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_speye.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_speye: sparse identity matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_speye.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_spzeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_spzeros: all-zero sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_spzeros.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_start.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_start: start CHOLMOD (int32 version) 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_start.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_transpose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_transpose: transpose a sparse matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_transpose.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_transpose_sym.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_transpose_sym: symmetric permuted transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_transpose_sym.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_transpose_unsym.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_transpose_unsym: unsymmetric permuted transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_transpose_unsym.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_version.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_version: CHOLMOD version 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_version.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_xtype.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_xtype.c: change xtype and/or dtype 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_change_xdtype.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CHOLMOD/Utility/cholmod_zeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CHOLMOD/Utility/cholmod_zeros: allocate an all-zero dense matrix 3 | //------------------------------------------------------------------------------ 4 | 5 | // CHOLMOD/Utility Module. Copyright (C) 2023, Timothy A. Davis, All Rights 6 | // Reserved. 7 | // SPDX-License-Identifier: LGPL-2.1+ 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define CHOLMOD_INT32 12 | #include "t_cholmod_zeros.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/COLAMD/Makefile: -------------------------------------------------------------------------------- 1 | sources = Source/colamd.c Source/colamd_l.c Source/colamd_version.c 2 | objects = $(sources:.c=.o) 3 | archive = COLAMD.a 4 | 5 | PKG_CPPFLAGS = -I./Include -I../SuiteSparse_config 6 | 7 | all : $(archive) 8 | 9 | $(archive) : $(objects) 10 | rm -f $@ 11 | $(AR) -cr $@ $(objects) 12 | $(RANLIB) $@ 13 | 14 | .c.o : 15 | $(CC) $(PKG_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ 16 | 17 | clean : 18 | @rm -f $(objects) $(archive) 19 | -------------------------------------------------------------------------------- /src/SuiteSparse/COLAMD/Source/colamd_l.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // COLAMD/Source/colamd_l.c: int64_t version of colamd 3 | //------------------------------------------------------------------------------ 4 | 5 | // COLAMD, Copyright (c) 1998-2022, Timothy A. Davis and Stefan Larimore, 6 | // All Rights Reserved. 7 | // SPDX-License-Identifier: BSD-3-clause 8 | 9 | //------------------------------------------------------------------------------ 10 | 11 | #define DLONG 12 | #include "colamd.c" 13 | 14 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_add.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_add.c: complex, int32_t version of cs_add 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_add.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_amd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_amd.c: complex, int32_t version of cs_amd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_amd.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_chol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_chol.c: complex, int32_t version of cs_chol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_chol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_cholsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_cholsol.c: complex, int32_t version of cs_cholsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_cholsol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_compress.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_compress.c: complex, int32_t version of cs_compress 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_compress.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_counts.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_counts.c: complex, int32_t version of cs_counts 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_counts.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_cumsum.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_cumsum.c: complex, int32_t version of cs_cumsum 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_cumsum.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_dfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_dfs.c: complex, int32_t version of cs_dfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_dfs.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_dmperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_dmperm.c: complex, int32_t version of cs_dmperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_dmperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_droptol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_droptol.c: complex, int32_t version of cs_droptol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_droptol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_dropzeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_dropzeros.c: complex, int32_t version of cs_dropzeros 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_dropzeros.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_dupl.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_dupl.c: complex, int32_t version of cs_dupl 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_dupl.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_entry.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_entry.c: complex, int32_t version of cs_entry 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_entry.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_ereach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_ereach.c: complex, int32_t version of cs_ereach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_ereach.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_etree.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_etree.c: complex, int32_t version of cs_etree 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_etree.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_fkeep.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_fkeep.c: complex, int32_t version of cs_fkeep 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_fkeep.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_gaxpy.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_gaxpy.c: complex, int32_t version of cs_gaxpy 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_gaxpy.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_happly.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_happly.c: complex, int32_t version of cs_happly 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_happly.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_house.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_house.c: complex, int32_t version of cs_house 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_house.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_ipvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_ipvec.c: complex, int32_t version of cs_ipvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_ipvec.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_leaf.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_leaf.c: complex, int32_t version of cs_leaf 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_leaf.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_load.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_load.c: complex, int32_t version of cs_load 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_load.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_lsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_lsolve.c: complex, int32_t version of cs_lsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_lsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_ltsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_ltsolve.c: complex, int32_t version of cs_ltsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_ltsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_lu.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_lu.c: complex, int32_t version of cs_lu 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_lu.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_lusol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_lusol.c: complex, int32_t version of cs_lusol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_lusol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_malloc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_malloc.c: complex, int32_t version of cs_malloc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_malloc.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_maxtrans.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_maxtrans.c: complex, int32_t version of cs_maxtrans 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_maxtrans.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_multiply.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_multiply.c: complex, int32_t version of cs_multiply 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_multiply.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_norm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_norm.c: complex, int32_t version of cs_norm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_norm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_permute.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_permute.c: complex, int32_t version of cs_permute 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_permute.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_pinv.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_pinv.c: complex, int32_t version of cs_pinv 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_pinv.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_post.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_post.c: complex, int32_t version of cs_post 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_post.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_print.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_print.c: complex, int32_t version of cs_print 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_print.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_pvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_pvec.c: complex, int32_t version of cs_pvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_pvec.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_qr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_qr.c: complex, int32_t version of cs_qr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_qr.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_qrsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_qrsol.c: complex, int32_t version of cs_qrsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_qrsol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_randperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_randperm.c: complex, int32_t version of cs_randperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_randperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_reach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_reach.c: complex, int32_t version of cs_reach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_reach.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_scatter.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_scatter.c: complex, int32_t version of cs_scatter 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_scatter.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_scc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_scc.c: complex, int32_t version of cs_scc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_scc.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_schol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_schol.c: complex, int32_t version of cs_schol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_schol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_spsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_spsolve.c: complex, int32_t version of cs_spsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_spsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_sqr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_sqr.c: complex, int32_t version of cs_sqr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_sqr.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_symperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_symperm.c: complex, int32_t version of cs_symperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_symperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_tdfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_tdfs.c: complex, int32_t version of cs_tdfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_tdfs.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_transpose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_transpose.c: complex, int32_t version of cs_transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_transpose.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_updown.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_updown.c: complex, int32_t version of cs_updown 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_updown.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_usolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_usolve.c: complex, int32_t version of cs_usolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_usolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_util.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_util.c: complex, int32_t version of cs_util 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_util.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ci_utsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_ci_utsolve.c: complex, int32_t version of cs_utsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #include "cs_utsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_add.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_add.c: complex, int64_t version of cs_add 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_add.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_amd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_amd.c: complex, int64_t version of cs_amd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_amd.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_chol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_chol.c: complex, int64_t version of cs_chol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_chol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_cholsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_cholsol.c: complex, int64_t version of cs_cholsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_cholsol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_compress.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_compress.c: complex, int64_t version of cs_compress 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_compress.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_counts.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_counts.c: complex, int64_t version of cs_counts 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_counts.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_cumsum.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_cumsum.c: complex, int64_t version of cs_cumsum 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_cumsum.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_dfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_dfs.c: complex, int64_t version of cs_dfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_dfs.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_dmperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_dmperm.c: complex, int64_t version of cs_dmperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_dmperm.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_droptol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_droptol.c: complex, int64_t version of cs_droptol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_droptol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_dropzeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_dropzeros.c: complex, int64_t version of cs_dropzeros 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_dropzeros.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_dupl.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_dupl.c: complex, int64_t version of cs_dupl 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_dupl.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_entry.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_entry.c: complex, int64_t version of cs_entry 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_entry.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_ereach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_ereach.c: complex, int64_t version of cs_ereach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_ereach.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_etree.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_etree.c: complex, int64_t version of cs_etree 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_etree.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_fkeep.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_fkeep.c: complex, int64_t version of cs_fkeep 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_fkeep.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_gaxpy.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_gaxpy.c: complex, int64_t version of cs_gaxpy 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_gaxpy.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_happly.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_happly.c: complex, int64_t version of cs_happly 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_happly.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_house.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_house.c: complex, int64_t version of cs_house 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_house.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_ipvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_ipvec.c: complex, int64_t version of cs_ipvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_ipvec.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_leaf.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_leaf.c: complex, int64_t version of cs_leaf 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_leaf.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_load.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_load.c: complex, int64_t version of cs_load 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_load.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_lsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_lsolve.c: complex, int64_t version of cs_lsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_lsolve.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_ltsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_ltsolve.c: complex, int64_t version of cs_ltsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_ltsolve.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_lu.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_lu.c: complex, int64_t version of cs_lu 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_lu.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_lusol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_lusol.c: complex, int64_t version of cs_lusol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_lusol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_malloc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_malloc.c: complex, int64_t version of cs_malloc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_malloc.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_maxtrans.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_maxtrans.c: complex, int64_t version of cs_maxtrans 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_maxtrans.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_multiply.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_multiply.c: complex, int64_t version of cs_multiply 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_multiply.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_norm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_norm.c: complex, int64_t version of cs_norm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_norm.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_permute.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_permute.c: complex, int64_t version of cs_permute 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_permute.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_pinv.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_pinv.c: complex, int64_t version of cs_pinv 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_pinv.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_post.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_post.c: complex, int64_t version of cs_post 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_post.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_print.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_print.c: complex, int64_t version of cs_print 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_print.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_pvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_pvec.c: complex, int64_t version of cs_pvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_pvec.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_qr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_qr.c: complex, int64_t version of cs_qr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_qr.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_qrsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_qrsol.c: complex, int64_t version of cs_qrsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_qrsol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_randperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_randperm.c: complex, int64_t version of cs_randperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_randperm.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_reach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_reach.c: complex, int64_t version of cs_reach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_reach.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_scatter.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_scatter.c: complex, int64_t version of cs_scatter 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_scatter.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_scc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_scc.c: complex, int64_t version of cs_scc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_scc.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_schol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_schol.c: complex, int64_t version of cs_schol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_schol.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_spsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_spsolve.c: complex, int64_t version of cs_spsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_spsolve.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_sqr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_sqr.c: complex, int64_t version of cs_sqr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_sqr.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_symperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_symperm.c: complex, int64_t version of cs_symperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_symperm.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_tdfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_tdfs.c: complex, int64_t version of cs_tdfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_tdfs.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_transpose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_transpose.c: complex, int64_t version of cs_transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_transpose.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_updown.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_updown.c: complex, int64_t version of cs_updown 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_updown.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_usolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_usolve.c: complex, int64_t version of cs_usolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_usolve.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_util.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_util.c: complex, int64_t version of cs_util 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_util.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_cl_utsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_cl_utsolve.c: complex, int64_t version of cs_utsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_COMPLEX 9 | #define CS_LONG 10 | #include "cs_utsolve.c" 11 | 12 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_add.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_add.c: double, int64_t version of cs_add 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_add.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_amd.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_amd.c: double, int64_t version of cs_amd 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_amd.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_chol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_chol.c: double, int64_t version of cs_chol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_chol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_cholsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_cholsol.c: double, int64_t version of cs_cholsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_cholsol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_compress.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_compress.c: double, int64_t version of cs_compress 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_compress.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_counts.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_counts.c: double, int64_t version of cs_counts 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_counts.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_cumsum.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_cumsum.c: double, int64_t version of cs_cumsum 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_cumsum.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_dfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_dfs.c: double, int64_t version of cs_dfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_dfs.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_dmperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_dmperm.c: double, int64_t version of cs_dmperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_dmperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_droptol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_droptol.c: double, int64_t version of cs_droptol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_droptol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_dropzeros.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_dropzeros.c: double, int64_t version of cs_dropzeros 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_dropzeros.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_dupl.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_dupl.c: double, int64_t version of cs_dupl 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_dupl.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_entry.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_entry.c: double, int64_t version of cs_entry 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_entry.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_ereach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_ereach.c: double, int64_t version of cs_ereach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_ereach.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_etree.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_etree.c: double, int64_t version of cs_etree 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_etree.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_fkeep.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_fkeep.c: double, int64_t version of cs_fkeep 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_fkeep.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_gaxpy.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_gaxpy.c: double, int64_t version of cs_gaxpy 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_gaxpy.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_happly.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_happly.c: double, int64_t version of cs_happly 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_happly.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_house.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_house.c: double, int64_t version of cs_house 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_house.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_ipvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_ipvec.c: double, int64_t version of cs_ipvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_ipvec.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_leaf.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_leaf.c: double, int64_t version of cs_leaf 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_leaf.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_load.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_load.c: double, int64_t version of cs_load 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_load.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_lsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_lsolve.c: double, int64_t version of cs_lsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_lsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_ltsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_ltsolve.c: double, int64_t version of cs_ltsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_ltsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_lu.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_lu.c: double, int64_t version of cs_lu 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_lu.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_lusol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_lusol.c: double, int64_t version of cs_lusol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_lusol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_malloc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_malloc.c: double, int64_t version of cs_malloc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_malloc.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_maxtrans.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_maxtrans.c: double, int64_t version of cs_maxtrans 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_maxtrans.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_multiply.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_multiply.c: double, int64_t version of cs_multiply 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_multiply.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_norm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_norm.c: double, int64_t version of cs_norm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_norm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_permute.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_permute.c: double, int64_t version of cs_permute 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_permute.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_pinv.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_pinv.c: double, int64_t version of cs_pinv 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_pinv.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_post.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_post.c: double, int64_t version of cs_post 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_post.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_print.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_print.c: double, int64_t version of cs_print 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_print.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_pvec.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_pvec.c: double, int64_t version of cs_pvec 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_pvec.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_qr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_qr.c: double, int64_t version of cs_qr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_qr.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_qrsol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_qrsol.c: double, int64_t version of cs_qrsol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_qrsol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_randperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_randperm.c: double, int64_t version of cs_randperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_randperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_reach.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_reach.c: double, int64_t version of cs_reach 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_reach.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_scatter.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_scatter.c: double, int64_t version of cs_scatter 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_scatter.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_scc.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_scc.c: double, int64_t version of cs_scc 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_scc.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_schol.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_schol.c: double, int64_t version of cs_schol 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_schol.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_spsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_spsolve.c: double, int64_t version of cs_spsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_spsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_sqr.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_sqr.c: double, int64_t version of cs_sqr 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_sqr.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_symperm.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_symperm.c: double, int64_t version of cs_symperm 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_symperm.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_tdfs.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_tdfs.c: double, int64_t version of cs_tdfs 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_tdfs.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_transpose.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_transpose.c: double, int64_t version of cs_transpose 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_transpose.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_updown.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_updown.c: double, int64_t version of cs_updown 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_updown.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_usolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_usolve.c: double, int64_t version of cs_usolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_usolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_util.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_util.c: double, int64_t version of cs_util 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_util.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dl_utsolve.c: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // CXSparse/Source/cs_dl_utsolve.c: double, int64_t version of cs_utsolve 3 | //------------------------------------------------------------------------------ 4 | 5 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis, All Rights Reserved 6 | // SPDX-License-Identifier: LGPL-2.1+ 7 | 8 | #define CS_LONG 9 | #include "cs_utsolve.c" 10 | 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_droptol.c: -------------------------------------------------------------------------------- 1 | // CXSparse/Source/cs_droptol: drop small entries from a sparse matrix 2 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved. 3 | // SPDX-License-Identifier: LGPL-2.1+ 4 | #include "cs.h" 5 | static CS_INT cs_tol (CS_INT i, CS_INT j, CS_ENTRY aij, void *tol) 6 | { 7 | return (CS_ABS (aij) > *((double *) tol)) ; 8 | } 9 | CS_INT cs_droptol (cs *A, double tol) 10 | { 11 | return (cs_fkeep (A, &cs_tol, &tol)) ; /* keep all large entries */ 12 | } 13 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_dropzeros.c: -------------------------------------------------------------------------------- 1 | // CXSparse/Source/cs_dropzeros: drop zeros from a sparse matrix 2 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved. 3 | // SPDX-License-Identifier: LGPL-2.1+ 4 | #include "cs.h" 5 | static CS_INT cs_nonzero (CS_INT i, CS_INT j, CS_ENTRY aij, void *other) 6 | { 7 | return (aij != 0) ; 8 | } 9 | CS_INT cs_dropzeros (cs *A) 10 | { 11 | return (cs_fkeep (A, &cs_nonzero, NULL)) ; /* keep all nonzero entries */ 12 | } 13 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_ipvec.c: -------------------------------------------------------------------------------- 1 | // CXSparse/Source/cs_ipvec: permute a vector 2 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved. 3 | // SPDX-License-Identifier: LGPL-2.1+ 4 | #include "cs.h" 5 | /* x(p) = b, for dense vectors x and b; p=NULL denotes identity */ 6 | CS_INT cs_ipvec (const CS_INT *p, const CS_ENTRY *b, CS_ENTRY *x, CS_INT n) 7 | { 8 | CS_INT k ; 9 | if (!x || !b) return (0) ; /* check inputs */ 10 | for (k = 0 ; k < n ; k++) x [p ? p [k] : k] = b [k] ; 11 | return (1) ; 12 | } 13 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cs_pvec.c: -------------------------------------------------------------------------------- 1 | // CXSparse/Source/cs_pvec: permute a dense vector 2 | // CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved. 3 | // SPDX-License-Identifier: LGPL-2.1+ 4 | #include "cs.h" 5 | /* x = b(p), for dense vectors x and b; p=NULL denotes identity */ 6 | CS_INT cs_pvec (const CS_INT *p, const CS_ENTRY *b, CS_ENTRY *x, CS_INT n) 7 | { 8 | CS_INT k ; 9 | if (!x || !b) return (0) ; /* check inputs */ 10 | for (k = 0 ; k < n ; k++) x [k] = b [p ? p [k] : k] ; 11 | return (1) ; 12 | } 13 | -------------------------------------------------------------------------------- /src/SuiteSparse/CXSparse/Source/cxsparse_version.c: -------------------------------------------------------------------------------- 1 | // CXSparse/Source/cxsparse_version: return CXSparse version 2 | // CXSparse, Copyright (c) 2006-2023, Timothy A. Davis. All Rights Reserved. 3 | // SPDX-License-Identifier: LGPL-2.1+ 4 | #include "cs.h" 5 | void cxsparse_version (int version [3]) 6 | { 7 | version [0] = CS_VER ; 8 | version [1] = CS_SUBVER ; 9 | version [2] = CS_SUBSUB ; 10 | } 11 | -------------------------------------------------------------------------------- /src/SuiteSparse/SuiteSparse_config/Makefile: -------------------------------------------------------------------------------- 1 | sources = SuiteSparse_config.c 2 | objects = $(sources:.c=.o) 3 | archive = SuiteSparse_config.a 4 | 5 | all : $(archive) 6 | 7 | $(archive) : $(objects) 8 | rm -f $@ 9 | $(AR) -cr $@ $(objects) 10 | $(RANLIB) $@ 11 | 12 | .c.o : 13 | $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ 14 | 15 | clean : 16 | @rm -f $(objects) $(archive) 17 | -------------------------------------------------------------------------------- /src/attrib.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_ATTRIB_H 2 | #define MATRIX_ATTRIB_H 3 | 4 | #include 5 | 6 | SEXP R_DimNames_is_symmetric(SEXP); 7 | SEXP R_symDN(SEXP); 8 | SEXP R_revDN(SEXP); 9 | SEXP R_set_factor(SEXP, SEXP, SEXP, SEXP); 10 | 11 | #endif /* MATRIX_ATTRIB_H */ 12 | -------------------------------------------------------------------------------- /src/bind.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_BIND_H 2 | #define MATRIX_BIND_H 3 | 4 | #include 5 | 6 | SEXP R_bind(SEXP); 7 | 8 | #endif /* MATRIX_BIND_H */ 9 | -------------------------------------------------------------------------------- /src/cholmod-etc.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_CHOLMOD_ETC_H 2 | #define MATRIX_CHOLMOD_ETC_H 3 | 4 | #include 5 | #include "SuiteSparse/SuiteSparse_config/SuiteSparse_config.h" 6 | #include "SuiteSparse/CHOLMOD/Include/cholmod.h" 7 | 8 | extern cholmod_common c ; 9 | extern cholmod_common cl; 10 | 11 | cholmod_factor *M2CHF(SEXP, int); 12 | cholmod_sparse *M2CHS(SEXP, int); 13 | cholmod_dense *M2CHD(SEXP, int); 14 | 15 | SEXP CHF2M(cholmod_factor *, int); 16 | SEXP CHS2M(cholmod_sparse *, int, char); 17 | SEXP CHD2M(cholmod_dense *, int, char); 18 | 19 | #endif /* MATRIX_CHOLMOD_ETC_H */ 20 | -------------------------------------------------------------------------------- /src/determinant.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_DETERMINANT_H 2 | #define MATRIX_DETERMINANT_H 3 | 4 | #include 5 | 6 | SEXP denseLU_determinant(SEXP, SEXP); 7 | SEXP BunchKaufman_determinant(SEXP, SEXP); 8 | SEXP Cholesky_determinant(SEXP, SEXP); 9 | SEXP sparseLU_determinant(SEXP, SEXP); 10 | SEXP sparseQR_determinant(SEXP, SEXP); 11 | SEXP CHMfactor_determinant(SEXP, SEXP, SEXP); 12 | 13 | #endif /* MATRIX_DETERMINANT_H */ 14 | -------------------------------------------------------------------------------- /src/expm.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_EXPM_H 2 | #define MATRIX_EXPM_H 3 | 4 | #include 5 | 6 | SEXP dgeMatrix_expm(SEXP); 7 | 8 | #endif /* MATRIX_EXPM_H */ 9 | -------------------------------------------------------------------------------- /src/matmult.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_MATMULT_H 2 | #define MATRIX_MATMULT_H 3 | 4 | #include 5 | 6 | SEXP R_dense_matmult(SEXP, SEXP, SEXP, SEXP); 7 | SEXP R_sparse_matmult(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP); 8 | SEXP R_diagonal_matmult(SEXP, SEXP, SEXP, SEXP, SEXP); 9 | 10 | #endif /* MATRIX_MATMULT_H */ 11 | -------------------------------------------------------------------------------- /src/objects.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_OBJECTS_H 2 | #define MATRIX_OBJECTS_H 3 | 4 | #include 5 | 6 | SEXP R_Matrix_nonvirtual(SEXP, SEXP); 7 | SEXP R_Matrix_kind (SEXP); 8 | SEXP R_Matrix_shape(SEXP); 9 | SEXP R_Matrix_repr (SEXP); 10 | 11 | #endif /* MATRIX_OBJECTS_H */ 12 | -------------------------------------------------------------------------------- /src/perm.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_PERM_H 2 | #define MATRIX_PERM_H 3 | 4 | #include 5 | 6 | SEXP R_isPerm(SEXP, SEXP); 7 | SEXP R_signPerm(SEXP, SEXP); 8 | SEXP R_invertPerm(SEXP, SEXP, SEXP); 9 | SEXP R_asPerm(SEXP, SEXP, SEXP, SEXP); 10 | 11 | #endif /* MATRIX_PERM_H */ 12 | -------------------------------------------------------------------------------- /src/subassign.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_SUBASSIGN_H 2 | #define MATRIX_SUBASSIGN_H 3 | 4 | #include 5 | 6 | SEXP nCsparse_subassign(SEXP, SEXP, SEXP, SEXP); 7 | SEXP lCsparse_subassign(SEXP, SEXP, SEXP, SEXP); 8 | SEXP iCsparse_subassign(SEXP, SEXP, SEXP, SEXP); 9 | SEXP dCsparse_subassign(SEXP, SEXP, SEXP, SEXP); 10 | SEXP zCsparse_subassign(SEXP, SEXP, SEXP, SEXP); 11 | 12 | #endif /* MATRIX_SUBASSIGN_H */ 13 | -------------------------------------------------------------------------------- /src/subscript.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_SUBSCRIPT_H 2 | #define MATRIX_SUBSCRIPT_H 3 | 4 | #include 5 | 6 | SEXP R_subscript_1ary (SEXP, SEXP); 7 | SEXP R_subscript_1ary_mat(SEXP, SEXP); 8 | SEXP R_subscript_2ary (SEXP, SEXP, SEXP); 9 | 10 | #endif /* MATRIX_SUBSCRIPT_H */ 11 | -------------------------------------------------------------------------------- /src/vector.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_VECTOR_H 2 | #define MATRIX_VECTOR_H 3 | 4 | #include 5 | 6 | SEXP v2spV(SEXP); 7 | SEXP CR2spV(SEXP); 8 | 9 | #endif /* MATRIX_VECTOR_H */ 10 | -------------------------------------------------------------------------------- /src/version.h: -------------------------------------------------------------------------------- 1 | #ifndef MATRIX_VERSION_H 2 | #define MATRIX_VERSION_H 3 | 4 | /* (version)_{10} = (major minor patch)_{256} */ 5 | #define MATRIX_PACKAGE_VERSION 67331 6 | #define MATRIX_PACKAGE_MAJOR 1 7 | #define MATRIX_PACKAGE_MINOR 7 8 | #define MATRIX_PACKAGE_PATCH 3 9 | 10 | #define MATRIX_ABI_VERSION 2 11 | 12 | /* (version)_{10} = (major minor patch)_{256} */ 13 | #define MATRIX_SUITESPARSE_VERSION 460288 14 | #define MATRIX_SUITESPARSE_MAJOR 7 15 | #define MATRIX_SUITESPARSE_MINOR 6 16 | #define MATRIX_SUITESPARSE_PATCH 0 17 | 18 | #endif /* MATRIX_VERSION_H */ 19 | --------------------------------------------------------------------------------