Method Reference: calendarDuration.empty

calendarDuration: E = calendarDuration.empty ()
calendarDuration: E = calendarDuration.empty (sz)
calendarDuration: E = calendarDuration.empty (m, n, …)

Create an empty calendarDuration array.

E = calendarDuration.empty () returns a 0×0 empty calendarDuration array. calendarDuration.empty (m, n, …) or calendarDuration.empty (sz) returns an empty calendarDuration array of the requested size, which must have at least one dimension equal to zero. A lone dimension gives a square size, so calendarDuration.empty (3) is an error while calendarDuration.empty (0) is 0×0. As for zeros, a negative dimension counts as zero, and a size vector with nothing in it names no size and gives 0×0.

Source Code: calendarDuration