Mercurial > hg > octave-lyh
comparison scripts/general/diff.m @ 3456:434790acb067
[project @ 2000-01-19 06:58:51 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 06:59:23 +0000 |
parents | f8dde1807dee |
children | 38c61cbf086c |
comparison
equal
deleted
inserted
replaced
3455:f758be6e1730 | 3456:434790acb067 |
---|---|
48 error ("diff: k must be a nonnegative integer"); | 48 error ("diff: k must be a nonnegative integer"); |
49 elseif (k == 0) | 49 elseif (k == 0) |
50 return; | 50 return; |
51 endif | 51 endif |
52 else | 52 else |
53 usage ("diff (x [, k]"); | 53 usage ("diff (x, k"); |
54 endif | 54 endif |
55 | 55 |
56 if (isstr (x)) | 56 if (isstr (x)) |
57 error ("diff: symbolic differentiation not (yet) supported"); | 57 error ("diff: symbolic differentiation not (yet) supported"); |
58 elseif (is_vector (x)) | 58 elseif (is_vector (x)) |