lintools: Tools for manipulating linear systems of (in)equations

lintoolsR Documentation

Tools for manipulating linear systems of (in)equations

Description

This package offers a basic and consistent interface to a number of operations on linear systems of (in)equations not available in base R. Except for the projection on the convex polytope, operations are currently supported for dense matrices only.

Details

The following operations are implemented.

  • Split matrices in independent blocks

  • Remove spurious rows and columns from a system of (in)equations

  • Rewrite equalities in reduced row echelon form

  • Eliminate variables through Gaussian or Fourier-Motzkin elimination

  • Determine the feasibility of a system of linear (in)equations

  • Compute Moore-Penrose Pseudoinverse

  • Project a vector onto the convec polytope described by a set of linear (in)equations

  • Simplify a system by substituting values

Most functions assume a system of (in)equations to be stored in a standard form. The normalize function can bring any system of equations to this form.


lintools documentation built on Jan. 17, 2023, 1:06 a.m.