Qkernel {RationalMatrix}R Documentation

Kernel of a rational matrix

Description

Kernel (null-space) of a rational matrix.

Usage

Qkernel(M)

Arguments

M

a matrix such that as.character(Mij) is a quoted integer or a quoted fraction for each entry Mij

Value

A character matrix representing a basis of the kernel of M. Note that this basis is not orthogonal.

Examples

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)

[Package RationalMatrix version 1.0.0 Index]