![]() | ![]() | ![]() | nshift-interval | ![]() |
| interval amount
| [Function] |
Purpose
Shift an interval by amount.
Package :gbbopen
Module :gbbopen-core
Arguments and values
interval | An interval | |
amount | A number |
Returns
The shifted interval.
See also
copy-interval
expand-interval
expand-point
infinite-interval
interval-end
interval-start
interval-values
make-interval
nexpand-interval
shift-interval
Examples
> (nshift-interval '(2 5) 2) (4 7) > (nshift-interval '(2 . 5) -1) (1 . 4) > (nshift-interval #(2 5) .5) #(2.5 5.5) >
The GBBopen Project
![]() | ![]() | ![]() | nshift-interval | ![]() |