Learn R Programming

RationalMatrix (version 1.0.0)

QisInvertible: Check invertibility

Description

Checks whether a square rational matrix is invertible.

Usage

QisInvertible(M)

Value

A Boolean value indicating whether M is invertible.

Arguments

M

a square 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(25L, 1), 5L, 5L)
QisInvertible(M)

Run the code above in your browser using DataLab