detQ {qspray} | R Documentation |
Determinant of a square matrix with rational entries.
detQ(M)
M |
a square matrix such that each entry of |
A quoted rational number representing the determinant.
library(qspray)
M <- cbind(c("1/2", "3"), c("5/3", "-2/7"))
detQ(M)