NCsetPrecision

description:

NCsetPrecision(precision) sets the precision to be used in numerical calculations. It is the smallest value that is considered to be nonzero in NCsos, NCmin, NCdiff, NCisConvex0, NCcycSos, NCcycMin, NCisCycConvex, ... and overrides the value set in the global option file NCparam.m. NCsetPrecision, when called with no arguments returns the current precision.

arguments:

no arguments or a numerical value for the precision

output:

new or current precision

possible usage:

NCsetPrecision, NCsetPrecision(precision)

example:

>> NCsetPrecision

ans = 1.0000e-008

>> NCsetPrecision(5e-18)

ans = 5.0000e-018