powered by
Checks whether a rational matrix represents an injective linear map (i.e. has trivial kernel).
QisInjective(M)
A Boolean value indicating whether the linear map corresponding to
M is injective.
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) set.seed(666L) M <- matrix(rpois(35L, 1), 5L, 7L) QisInjective(M)
Run the code above in your browser using DataLab