Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
8516:e2a179415bac | 8517:81d6ab3ac93c |
---|---|
33 ## @iftex | 33 ## @iftex |
34 ## @tex | 34 ## @tex |
35 ## $$[s_1, s_2, \cdots, s_k, n]$$ | 35 ## $$[s_1, s_2, \cdots, s_k, n]$$ |
36 ## @end tex | 36 ## @end tex |
37 ## @end iftex | 37 ## @end iftex |
38 ## @ifinfo | 38 ## @ifnottex |
39 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n}]} | 39 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n}]} |
40 ## @end ifinfo | 40 ## @end ifnottex |
41 ## The array is then reshaped internally to a matrix where the leading | 41 ## The array is then reshaped internally to a matrix where the leading |
42 ## dimension is given by | 42 ## dimension is given by |
43 ## @iftex | 43 ## @iftex |
44 ## @tex | 44 ## @tex |
45 ## $$s_1 s_2 \cdots s_k$$ | 45 ## $$s_1 s_2 \cdots s_k$$ |
46 ## @end tex | 46 ## @end tex |
47 ## @end iftex | 47 ## @end iftex |
48 ## @ifinfo | 48 ## @ifnottex |
49 ## @code{@var{s1} * @var{s2} * @dots{} * @var{sk}} | 49 ## @code{@var{s1} * @var{s2} * @dots{} * @var{sk}} |
50 ## @end ifinfo | 50 ## @end ifnottex |
51 ## and each row in this matrix is then treated separately. Note that this | 51 ## and each row in this matrix is then treated separately. Note that this |
52 ## is exactly the opposite treatment than @code{interp1} and is done | 52 ## is exactly the opposite treatment than @code{interp1} and is done |
53 ## for compatibility. | 53 ## for compatibility. |
54 ## | 54 ## |
55 ## Called with a third input argument, @code{pchip} evaluates the | 55 ## Called with a third input argument, @code{pchip} evaluates the |