Skip to content

Commit

Permalink
CRAN 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fbertran committed Apr 19, 2021
1 parent f6ad7f2 commit 91a1b38
Show file tree
Hide file tree
Showing 34 changed files with 3,132 additions and 184 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Expand Up @@ -48,3 +48,4 @@ genlogo.R
^vignettes/.*_cache$
^vignettes/.*_files$

cran_submit_text.txt
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,3 +35,4 @@ src/*.o
src/*.so
src/*.dll

cran_submit_text.txt
6 changes: 3 additions & 3 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: bigalgebra
Type: Package
Title: 'BLAS' Routines for Native R Matrices and 'big.matrix' Objects
Title: 'BLAS' and 'LAPACK' Routines for Native R Matrices and 'big.matrix' Objects
Version: 1.0.0
Date: 2021-04-10
Date: 2021-04-13
Depends: bigmemory (>= 4.0.0)
Imports: methods
LinkingTo: bigmemory, BH, Rcpp
Expand All @@ -13,7 +13,7 @@ Authors@R: c(
person(given = "John W.", family= "Emerson", role = c("aut")))
Author: Frederic Bertrand [cre, ctb] (<https://orcid.org/0000-0002-0837-8281>), Michael J. Kane [aut], Bryan Lewis [aut], John W. Emerson [aut]
Maintainer: Frederic Bertrand <frederic.bertrand@utt.fr>
Description: Provides arithmetic functions for R matrix and 'big.matrix' objects.
Description: Provides arithmetic functions for R matrix and 'big.matrix' objects as well as functions for QR factorization, Cholesky factorization, General eigenvalue, and Singular value decomposition (SVD). A method matrix multiplication and an arithmetic method -for matrix addition, matrix difference- allows for mixed type operation -a matrix class object and a big.matrix class object- and pure type operation for two big.matrix class objects.
License: LGPL-3 | Apache License 2.0
Encoding: UTF-8
Copyright: (C) 2014 Michael J. Kane, Bryan Lewis, and John W. Emerson
Expand Down
34 changes: 31 additions & 3 deletions NAMESPACE
@@ -1,14 +1,42 @@
import(methods)
importFrom("bigmemory", "typeof")
importFrom("bigmemory", "filebacked.big.matrix")
importFrom("utils", "capture.output")

#S4 methods
exportMethods("%*%")
exportMethods("Arith")

#Functions
# Copy a matrix
# Y := X
export("dcopy")
# Multiply by a scalar
# Y := ALPHA * Y
export("dscal")
# Add two matrices.
# Y := ALPHA * X + Y
export("daxpy")

# Matrix Multiply
# C := ALPHA * op(A) * op(B) + BETA * C
export("dgemm")
# QR factorization
# return 0 if successful, -i if ith argument has illegal value
export("dgeqrf")
# Cholesky factorization
# return 0 if successful, <0 if -i-th argument is invalid, > 0 if leading minor
# is not positive definite
export("dpotrf")
# General eigenvalue
# return 0 if successful, <0 i-th argument has illegal value, >0 QR
# algorithm failed.
# for now, VL and VR have to be matrices but they could be NULL
export("dgeev")
# Singular value decomposition (SVD)
# Returns: = 0 if successful
# < 0 if INFO = -i had an illegal value
# > 0 if DBDSDC did not converge
export("dgesdd")

# #' @useDynLib bigalgebra, .registration = TRUE
useDynLib(bigalgebra, .registration = TRUE)

importFrom("utils", "capture.output")

0 comments on commit 91a1b38

Please sign in to comment.