Mercurial > hg > octave-nkf
diff scripts/optimization/qp.m @ 9211:f0c3d3fc4903
Simplify Texinfo documentation in .m scripts by removing redundant @iftex calls
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 17 May 2009 14:39:39 -0700 |
parents | 1bf0ce0930be |
children | 72d6e0de76c7 |
line wrap: on
line diff
--- a/scripts/optimization/qp.m +++ b/scripts/optimization/qp.m @@ -20,13 +20,11 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{x}, @var{obj}, @var{info}, @var{lambda}] =} qp (@var{x0}, @var{H}, @var{q}, @var{A}, @var{b}, @var{lb}, @var{ub}, @var{A_lb}, @var{A_in}, @var{A_ub}) ## Solve the quadratic program -## @iftex ## @tex ## $$ ## \min_x {1 \over 2} x^T H x + x^T q ## $$ ## @end tex -## @end iftex ## @ifnottex ## ## @example @@ -38,13 +36,11 @@ ## ## @end ifnottex ## subject to -## @iftex ## @tex ## $$ ## Ax = b \qquad lb \leq x \leq ub \qquad A_{lb} \leq A_{in} \leq A_{ub} ## $$ ## @end tex -## @end iftex ## @ifnottex ## ## @example