powered by
Determinant of a square matrix with rational entries.
Qdet(M)
A string: quoted rational number representing the determinant.
a square matrix such that as.character(Mij) is a quoted integer or a quoted fraction for each entry Mij
as.character(Mij)
Mij
library(RationalMatrix) M <- cbind(c("1/2", "3"), c("5/3", "-2/7")) Qdet(M)
Run the code above in your browser using DataLab