powered by
Returns the rank of a rational matrix.
Qrank(M)
An integer, the rank of M.
M
a 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", "1"), c("5/3", "-2/7", "10/3"), c("1", "1", "2")) Qrank(M)
Run the code above in your browser using DataLab