powered by
Kernel (null-space) of a rational matrix.
Qkernel(M)
A character matrix representing a basis of the kernel of M. Note that this basis is not orthogonal.
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(30L, 6), 10L, 3L) M <- cbind(M, M[,1] + M[,2], M[,2] + 2L*M[,3]) Qkernel(M)
Run the code above in your browser using DataLab