Mercurial > hg > octave-nkf
diff scripts/polynomial/pchip.m @ 8517:81d6ab3ac93c
Allow documentation tobe built for other formats than tex and info
author | sh@sh-laptop |
---|---|
date | Wed, 14 Jan 2009 20:44:25 -0500 |
parents | eb7bdde776f2 |
children | e07e93c04080 |
line wrap: on
line diff
--- a/scripts/polynomial/pchip.m +++ b/scripts/polynomial/pchip.m @@ -35,9 +35,9 @@ ## $$[s_1, s_2, \cdots, s_k, n]$$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n}]} -## @end ifinfo +## @end ifnottex ## The array is then reshaped internally to a matrix where the leading ## dimension is given by ## @iftex @@ -45,9 +45,9 @@ ## $$s_1 s_2 \cdots s_k$$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## @code{@var{s1} * @var{s2} * @dots{} * @var{sk}} -## @end ifinfo +## @end ifnottex ## and each row in this matrix is then treated separately. Note that this ## is exactly the opposite treatment than @code{interp1} and is done ## for compatibility.