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

Description Usage Arguments Value Details

View source: R/substval.R

Description

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

Usage

1
subst_value(A, b, variables, values, remove_columns = FALSE)

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?

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.


lintools documentation built on June 6, 2017, 5:04 p.m.