QisInjective {RationalMatrix}R Documentation

Check injectivity

Description

Checks whether a rational matrix represents an injective linear map (i.e. has trivial kernel).

Usage

QisInjective(M)

Arguments

M

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

Value

A Boolean value indicating whether the linear map corresponding to M is injective.

Examples

library(RationalMatrix)
set.seed(666L)
M <- matrix(rpois(35L, 1), 5L, 7L)
QisInjective(M)

[Package RationalMatrix version 1.0.0 Index]