Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

- Added initial matrix/linear algebra handler support from base R, using the
same BLAS/LAPACK as R: `%*%`, `t()`, `crossprod()`, `tcrossprod()`,
`outer()` (with `FUN="*"`), `%o%`, `forwardsolve()`, and `backsolve()`.
`outer()` (with `FUN="*"`), `%o%`, `forwardsolve()`, `backsolve()`, `diag()`, `t()`, `chol()`, `chol2inv()` and `solve()`

The plan is to add more functions in the future (#77 @mns-nordicals)
The plan is to add more functions in the future (#77, #79 @mns-nordicals)

- Added support for `cbind()` and `rbind()` for rank-0/1/2 inputs, with scalar
recycling only and strict length checks for non-scalar inputs.
Expand Down
8 changes: 8 additions & 0 deletions R/manifest.R
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@ dims2f_eval_base_env[["length"]] <- function(x) {
glue("size({x})")
}
}
dims2f_eval_base_env[["min"]] <- function(...) {
args <- list(...)
glue("min({str_flatten_commas(args)})")
}
dims2f_eval_base_env[["max"]] <- function(...) {
args <- list(...)
glue("max({str_flatten_commas(args)})")
}


dims2f <- function(dims, scope) {
Expand Down
Loading