sdvt
Set or display the default value type (precision).
Syntax
Section titled “Syntax”sdvtsdvt(p)Description
Section titled “Description”Without an argument, prints the current default precision (the element type used for new arrays when no class is specified). With argument p (a string like 'double', 'single', 'int32', 'longdouble'), sets it. Affects subsequent calls to zeros, ones, rand, etc.
MathJet-specific.
Examples
Section titled “Examples”sdvt('single') % default precision now singlesdvt % print current default