Prepend the scalar interval value C to the interval vector X until it is of length L. If C is not given, a value of 0 is used.
If length (X) > L
, elements from the beginning of X are
removed until an interval vector of length L is obtained.
If X is an interval matrix, elements are prepended or removed from each row or column.
If the optional argument DIM is given, operate along this dimension.
If DIM is larger than the dimension of X, the result will have DIM dimensions.
prepad (infsup (1 : 3), 5, 42) ⇒ ans = 1×5 interval vector [42] [42] [1] [2] [3]
See also: @infsup/reshape, @infsup/cat, @infsup/postpad, @infsup/resize.
Package: interval