duration

Methods

Method Reference: duration.reshape

duration: B = reshape (A, d1, …, dN)
duration: B = reshape (A, …, [], …)
duration: B = reshape (A, dimvec)

Reshape duration array.

B = reshape (A, d1, …, dN) returns a duration array B with specified dimensions d1, …, dN, whose elements are taken columnwise from the duration array A. The product of d1, …, dN must equal the total number of elements in A.

B = reshape (A, …, [], …) returns a duration array B with one dimension unspecified which is calculated automatically so that the product of dimensions in B matches the total elements in A, which must be divisible the product of specified dimensions. An empty matrix ([]) is used to flag the unspecified dimension.

Source Code: duration