It is straightforward to set the options of a given predefined function. E.g.,
SetOptions[ Interpolation, InterpolationOrder->1]
I would like to know if there is a similar way to reset the options to default.
I thought of the following possible solution, but it closes the Mathematica session in Linux terminal before reaching the line <<state.mx. The latter would restore all the user-defined variables and functions.
DumpSave["state.mx", "Global`"]
Quit[]
<<state.mx
A similar question concerning Attributes has been asked here, what does not seem to help me.
Attributes, butOptions. – fcpenha Jul 02 '15 at 15:12Options[sym] = ...). – Szabolcs Jul 02 '15 at 15:13