projects
/
valse.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Adjustments for CRAN upload
[valse.git]
/
pkg
/
R
/
util.R
Commit
Line
Data
0ba1b11c
1
# Compute the determinant of a matrix, which can be 1x1 (scalar)
3453829e
BA
2
gdet <- function(M)
3
{
0ba1b11c
4
ifelse(is.matrix(M), det(M), M[1])
3453829e
5
}