The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Method on @infsup: setdiff (A, B)

Build the relative complement of interval B in interval A.

Accuracy: The result is a tight enclosure.

x = infsup (1, 3);
y = infsup (2, 4);
setdiff (x, y)
  ⇒ ans = [1, 2]

See also: @infsup/intersect, @infsup/union, @infsup/setxor.

Package: interval