|
Contents | Previous | Next | Subchapters |
| Syntax |
coldiff(x) |
| See Also | fordiff |
(i,j)th element contains
x(i+1,j) - x(i,j),
where x is an integer, real, double-precision, or complex matrix.
The return value has the same type and column dimension as x
and has one less row.
x = [seq(4), seq(4)^2]
coldiff(x)
returns
{
[ 1 , 3 ]
[ 1 , 5 ]
[ 1 , 7 ]
}