R: Tools for manipulating linear systems of (in)equations
lintools
R Documentation
Tools for manipulating linear systems of (in)equations
Description
Tools for manipulating linear systems of (in)equations
Details
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.
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.