Navigation

Operators and Keywords

Function List:

C++ API

simp

This package define the basic operations on intervals. It is useful when some values for a computation are incerte.

Select category:

Basic Arithmetic

addInt
addInt adds a set of intervals returning 0 + int1 + int2 + .
negateInt
negateInt return the negative of the given interval set
subInt
subInt subtract intervals returning int1-int2
mulInt
mulInt multiplies a set of intervals returning 1 * int1 * int2 * .
invertInt
invertInt return 1 / the given interval (which must not take the 0)
invertAddInt
mInvertAddInt adds the inverse of a set of intervals returning their inverse: 1 /( 1/int1 + 1/int2 + .
divInt
divSingleInt divides two set of intervals returning int1 / int2
powerInt
powerInt rises the given interval to the power required returning the new interval interval ^ n
sqrInt
sqrInt returns the square of a given interval
sqrtInt
sqrtInt returns the square root of a given interval
addSqrInt
Not implemented.
engFormInt
engFormInt print an interval in engineear format
intFormInt
intFormInt create an interval from a string or vector of strings in engineear format
dB10ToLinInt
dB10ToLinInt returns 10 ^ (1 / 10th of the dB value)
linToDB10Int
linToDB10Int returns 10 log10 of the interval linear value
dB20ToLinInt
dB20ToLinInt returns 10 ^ (1 / 20th of the dB value)
linToDB20Int
linToDB20Int returns 20 log10 of the interval linear value
valtol100ToInt
valtol100ToInt return an interval given a value with its tolerance expressed in percentage (optionally also a negative tolerance).
intToTol
intToTol given an interval return its tolerance to get the given interval
intToTol100
intToTol100 given an interval return its tolerance to get the given interval
intToVal
intToVal given an interval return its central value
linSpaceTol100Int
linSpaceTol100Int return column vector of intervals of N values equally spaced between base and limit, with the given tolerance.
logSpaceTol100Int
logSpaceTol100Int return column vector of intervals of N values logaritmically spaced between 10^base and 10^limit, with the given tolerance.
monotonicFunctionInt
monotonicFunctionInt applies the given monotonic function f the required interval (if f is not monotonic the result may be wrong)
functionInt
functionInt applies the given function f the required interval, it checks for monotonicitic.
plotInt
plot x intervals center point versus y intervals
errorBarInt
plot x intervals center point versus y error bars