Description Usage Arguments Value Examples
This function finds a feasible solution,
p=(p1,...,pn), in the n-dimensional simplex of
probability distributions which must satisfy
A1 p = b1,
A2 p = b2, and
A3 p = b3,
All the components of the bi must be nonnegative
In addition each probability in the solution must
be at least as big as eps
, a small positive number.
1 | feasible(A1,A2,A3,b1,b2,b3,eps)
|
A1 |
The matrix for the equality constraints.This must always
contain the constraint |
A2 |
The matrix for the |
A3 |
The matrix for the |
b1 |
The rhs vector for |
b2 |
The rhs vector for |
b3 |
The rhs vector for |
eps |
A small positive number. Each member of the solution must
be at least as large as |
The function returns a vector. If the components of the vector are positive then the feasible solution is the vector returned, otherwise there is no feasible solution.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.