subst_value {lintools}R Documentation

Substitute a value in a system of linear (in)equations

Description

Substitute a value in a system of linear (in)equations

Usage

subst_value(A, b, variables, values, remove_columns = FALSE, eps = 1e-08)

Arguments

A

[numeric] matrix

b

[numeric] vector

variables

[numeric|logical|character] vector of column indices in A

values

[numeric] vecor of values to substitute.

remove_columns

[logical] Remove spurious columns when substituting?

eps

[numeric] scalar. Any value with absolute value below eps will be interpreted as zero.

Value

A list with the following components:

Details

A system of the form Ax <= b can be simplified if one or more of the x[i] values is fixed.


[Package lintools version 0.1.7 Index]