[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/138: gnu: Add r-matrixextra.
From: |
guix-commits |
Subject: |
09/138: gnu: Add r-matrixextra. |
Date: |
Wed, 5 Jan 2022 15:24:39 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 9a89cee1b16fe4bfd66465481c4fc4fa12c75403
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 5 15:58:26 2022 +0100
gnu: Add r-matrixextra.
* gnu/packages/cran.scm (r-matrixextra): New variable.
---
gnu/packages/cran.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7abd3c5233..852d536c5e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23465,6 +23465,50 @@ additional functions that are comparable to APL
functions which are useful for
actuarial models such as pension mathematics.")
(license license:gpl2+)))
+(define-public r-matrixextra
+ (package
+ (name "r-matrixextra")
+ (version "0.1.9-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "MatrixExtra" version))
+ (sha256
+ (base32 "098apgqlncgxspa8mi4bx2nk5fbk3880whqiwkvydsfsqrbv1sj0"))))
+ (properties `((upstream-name . "MatrixExtra")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-float r-matrix r-rcpp r-rhpcblasctl))
+ (native-inputs
+ (list r-knitr))
+ (home-page "https://github.com/david-cortes/MatrixExtra")
+ (synopsis "Extra methods for sparse matrices")
+ (description
+ "This package extends sparse matrix and vector classes from the Matrix
+package by providing:
+
+@enumerate
+@item Methods and operators that work natively on CSR formats (compressed
+ sparse row, a.k.a. @code{RsparseMatrix}) such as slicing/sub-setting,
+ assignment, @code{rbind()}, mathematical operators for CSR and COO such as
+ addition or @code{sqrt()}, and methods such as @code{diag()};
+@item Multi-threaded matrix multiplication and cross-product for many
+ @code{<sparse, dense>} types, including the @code{float32} type from
+ @code{float};
+@item Coercion methods between pairs of classes which are not present in
+ @code{Matrix}, such as from @code{dgCMatrix} to @code{ngRMatrix}, as well as
+ convenience conversion functions;
+@item Utility functions for sparse matrices such as sorting the indices or
+ removing zero-valued entries;
+@item Fast transposes that work by outputting in the opposite storage format;
+@item Faster replacements for many @code{Matrix} methods for all sparse types,
+ such as slicing and elementwise multiplication.
+@item Convenience functions for sparse objects, such as @code{mapSparse} or a
+ shorter @code{show} method.
+@end enumerate
+")
+ (license license:gpl2+)))
+
(define-public r-sem
(package
(name "r-sem")
- 23/138: gnu: r-suppdists: Update to 1.1-9.7., (continued)
- 23/138: gnu: r-suppdists: Update to 1.1-9.7., guix-commits, 2022/01/05
- 32/138: gnu: r-tinytex: Update to 0.36., guix-commits, 2022/01/05
- 30/138: gnu: r-venndiagram: Update to 1.7.1., guix-commits, 2022/01/05
- 36/138: gnu: r-dtplyr: Update to 1.2.0., guix-commits, 2022/01/05
- 37/138: gnu: r-renv: Update to 0.15.0., guix-commits, 2022/01/05
- 53/138: gnu: r-ncdf4: Update to 1.19., guix-commits, 2022/01/05
- 01/138: tests: Add tests for changed-inputs on old-style inputs., guix-commits, 2022/01/05
- 05/138: gnu: r-openssl: Use openssl instead of libressl., guix-commits, 2022/01/05
- 12/138: gnu: r-brio: Update to 1.1.3., guix-commits, 2022/01/05
- 08/138: gnu: r-activedriverwgs: Update to 1.0.3., guix-commits, 2022/01/05
- 09/138: gnu: Add r-matrixextra.,
guix-commits <=
- 02/138: tests: Add failing tests for changed-inputs on new style inputs., guix-commits, 2022/01/05
- 16/138: gnu: r-ggpp: Update to 0.4.3., guix-commits, 2022/01/05
- 21/138: gnu: r-pkgbuild: Update to 1.3.1., guix-commits, 2022/01/05
- 20/138: gnu: r-glue: Update to 1.6.0., guix-commits, 2022/01/05
- 29/138: gnu: r-hardyweinberg: Update to 1.7.4., guix-commits, 2022/01/05
- 35/138: gnu: r-openxlsx: Update to 4.2.5., guix-commits, 2022/01/05
- 33/138: gnu: r-ttr: Update to 0.24.3., guix-commits, 2022/01/05
- 31/138: gnu: r-xfun: Update to 0.29., guix-commits, 2022/01/05
- 41/138: gnu: r-argparse: Update to 2.1.3., guix-commits, 2022/01/05
- 43/138: gnu: r-abundant: Update to 1.2., guix-commits, 2022/01/05