Learn R Programming

RationalMatrix (version 1.0.0)

QisInjective: Check injectivity

Description

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

Usage

QisInjective(M)

Value

A Boolean value indicating whether the linear map corresponding to

M is injective.

Arguments

M

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

Examples

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

Run the code above in your browser using DataLab