Mercurial > hg > octave-nkf
comparison scripts/polynomial/spline.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 | 87f316e219b6 |
children | 827f0285a201 |
comparison
equal
deleted
inserted
replaced
8516:e2a179415bac | 8517:81d6ab3ac93c |
---|---|
38 ## @iftex | 38 ## @iftex |
39 ## @tex | 39 ## @tex |
40 ## $$[s_1, s_2, \cdots, s_k, n]$$ | 40 ## $$[s_1, s_2, \cdots, s_k, n]$$ |
41 ## @end tex | 41 ## @end tex |
42 ## @end iftex | 42 ## @end iftex |
43 ## @ifinfo | 43 ## @ifnottex |
44 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n}]} | 44 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n}]} |
45 ## @end ifinfo | 45 ## @end ifnottex |
46 ## or | 46 ## or |
47 ## @iftex | 47 ## @iftex |
48 ## @tex | 48 ## @tex |
49 ## $$[s_1, s_2, \cdots, s_k, n + 2]$$. | 49 ## $$[s_1, s_2, \cdots, s_k, n + 2]$$. |
50 ## @end tex | 50 ## @end tex |
51 ## @end iftex | 51 ## @end iftex |
52 ## @ifinfo | 52 ## @ifnottex |
53 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n} + 2]}. | 53 ## @code{[@var{s1}, @var{s2}, @dots{}, @var{sk}, @var{n} + 2]}. |
54 ## @end ifinfo | 54 ## @end ifnottex |
55 ## The array is then reshaped internally to a matrix where to leading | 55 ## The array is then reshaped internally to a matrix where to leading |
56 ## dimension is given by | 56 ## dimension is given by |
57 ## @iftex | 57 ## @iftex |
58 ## @tex | 58 ## @tex |
59 ## $$s_1 s_2 \cdots s_k$$ | 59 ## $$s_1 s_2 \cdots s_k$$ |
60 ## @end tex | 60 ## @end tex |
61 ## @end iftex | 61 ## @end iftex |
62 ## @ifinfo | 62 ## @ifnottex |
63 ## @code{@var{s1} * @var{s2} * @dots{} * @var{sk}} | 63 ## @code{@var{s1} * @var{s2} * @dots{} * @var{sk}} |
64 ## @end ifinfo | 64 ## @end ifnottex |
65 ## and each row this matrix is then treated separately. Note that this | 65 ## and each row this matrix is then treated separately. Note that this |
66 ## is exactly the opposite treatment than @code{interp1} and is done | 66 ## is exactly the opposite treatment than @code{interp1} and is done |
67 ## for compatibility. | 67 ## for compatibility. |
68 ## | 68 ## |
69 ## Called with a third input argument, @code{spline} evaluates the | 69 ## Called with a third input argument, @code{spline} evaluates the |