Method on @infsup: sum (X)
Method on @infsup: sum (X, DIM)

Sum of elements along dimension DIM. If DIM is omitted, it defaults to the first non-singleton dimension.

Accuracy: The result is a tight enclosure.

sum ([infsup(1), pow2(-1074), -1])
  ⇒ ans ⊂ [4.9406e-324, 4.9407e-324]
infsup (1) + pow2 (-1074) - 1
  ⇒ ans ⊂ [0, 2.2205e-16]

See also: @infsup/plus, @infsup/prod.

Package: interval