ILNumerics - Technical Application Development

New array with the same shape as A except that the dimension specified by dim is reduced by 1 element.

Computes the differences between successive elements of A along the specified dimension dim or the n-th derivative.

[ILNumerics Computing Engine]

**Namespace:**ILNumerics**Assembly:**ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)Syntax

#### Parameters

- A
- Type: ILNumericsBaseArrayfcomplex

Input array. - N (Optional)
- Type: SystemUInt32

[Optional] Order of difference. Default: 1. - dim (Optional)
- Type: SystemInt32

[Optional] The dimension index of the working dimension. Default (-1): first non-singleton dimension of A or 0, if no such dimension exists.

#### Return Value

Type: RetArrayfcomplexNew array with the same shape as A except that the dimension specified by dim is reduced by 1 element.

Remarks

If the length of the dims dimension in A is lower than 2, an empty array is returned, having the size of A but the dims dimension reduced to max(A.S[dim]-1,0).

[ILNumerics Computing Engine]

See Also