datetime

Methods

Method Reference: datetime.permute

datetime: B = permute (A, dims)

Generalized transpose for a datetime N-D array.

B = permute (A, dims) returns the generalized transpose of the datetime array A by rearranging its dimensions according to the permutation vector specified in dims.

dims must index all the dimensions 1:ndims (A) of the input array A, in any order, but only once. The Nth dimension of A gets remapped to the dimension in B specified by dims(N).

Source Code: datetime