as_SpMat() now accepts any sparse matrix class from the
Matrix package, including RsparseMatrix and
TsparseMatrix subclasses, symmetric
(dsCMatrix), and unit-triangular (dtCMatrix)
matrices, which are expanded to general form on conversion to
SpMat<double>.as_SpMat() and as_dgCMatrix() now use the
Matrix package’s public C API (CHOLMOD bridge) instead of
reading S4 slots directly. The bridge is auto-enabled when the
Matrix package’s headers are visible at compile time, which
happens when the consuming package declares
LinkingTo: Matrix (>= 1.6-2) in its own DESCRIPTION.
Packages that do not need the sparse-Matrix bridge no longer have to
depend on Matrix. The auto-detection can be overridden with
-DARMADILLO4R_USE_MATRIX or
-DARMADILLO4R_NO_MATRIX.Glue<> and
Base<> expressions to
as_{{ R_TYPE }}().memcpy instead of element-wise copying.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.