Learn R Programming

⚠️There's a newer version (2.0.1) of this package.Take me there.

limSolve (version 1.5.3)

Solving Linear Inverse Models

Description

Functions that (1.) Find the minimum/maximum of a linear or quadratic function: min or max (f(x)), where f(x) = ||Ax-b||^2 or f(x) = sum(ai*xi) subject to equality constraints Ex=f and/or inequality constraints Gx>=h. (2.) Sample an underdetermined- or overdetermined system Ex=f subject to Gx>=h, and if applicable Ax~=b. (3.) Solve a linear system Ax=B for the unknown x. Includes banded and tridiagonal linear systems. The package calls Fortran functions from LINPACK

Copy Link

Version

Install

install.packages('limSolve')

Monthly Downloads

3,643

Version

1.5.3

License

GPL (>= 2)

Maintainer

Karline Soetaert

Last Published

April 19th, 2012

Functions in limSolve (1.5.3)

Blending

A linear inverse blending problem
E_coli

An underdetermined linear inverse problem: the Escherichia Coli Core Metabolism Model.
xranges

Calculates ranges of the unknowns of a linear inverse problem
nnls

Nonnegative Least Squares
Solve

Generalised inverse solution of Ax = B
ldp

Least Distance Programming
Chemtax

An overdetermined linear inverse problem: estimating algal composition based on pigment biomarkers.
Solve.block

Solution of an almost block diagonal system of linear equations
ldei

Weighted Least Distance Programming with equality and inequality constraints.
xsample

Randomly samples an underdetermined problem with linear equality and inequality constraints
varranges

Calculates ranges of inverse variables in a linear inverse problem
lsei

Least Squares with Equalities and Inequalities
Solve.tridiag

Solution of a tridiagonal system of linear equations
resolution

Row and column resolution of a matrix.
Solve.banded

Solution of a banded system of linear equations
linp

Linear Programming.
Minkdiet

An underdetermined linear inverse problem: estimating diet composition of Southeast Alaskan Mink.
varsample

Samples the probability density function of variables of linear inverse problems.