Learn R Programming

RationalMatrix (version 1.0.0)

QisSurjective: Check surjectivity

Description

Checks whether a rational matrix represents a surjective linear map.

Usage

QisSurjective(M)

Value

A Boolean value indicating whether the linear map corresponding to

M is surjective.

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), 7L, 5L)
QisSurjective(M)

Run the code above in your browser using DataLab