This can be done with menu commands: Edit>Preferences...>Evaluation
and then select
Format type of new Output Cells to OutputForm
This is ok, but I would like to do it programmatically.
I guess I have to set some option in the notebook, but how?
SetOptions[EvaluationNotebook[],
CommonDefaultFormatTypes -> {"Input" -> StandardForm,
"InputInline" -> StandardForm, "Output" -> OutputForm,
"OutputInline" -> StandardForm, "Text" -> TextForm,
"TextInline" -> TraditionalForm}]
Regards
Jens
Besides CommonDefaultFormatTypes is not yet "official".
I just thought that I can achieve what I want simply with
$Post = OutputForm;
and go back to the default behaviour with
$Post =.
On Oct 8, 12:25 pm, Jens-Peer Kuska <ku...@informatik.uni-leipzig.de>
wrote:
I run a Mathematica code that uses a lot of symbolic expressions, which uses
up a lot of memory and finally results in "insufficient memory". Therefore,
I want to reduce all the symbolic expressions to approximate numbers to get
away the memory problem.
I need your advice on the conversion of symbolic expressions to approximate
numbers.
Regards,
Tugrul
You can change exact numbers to machine precision (approximate)
numbers by using the built-in function N. But there is no way to
change a symbol to an approximate number until after a number
has been assigned to it.
I've no idea if the above is helpful to you or not. But it is
unlikely you are going to get any more helpful/meaningful
answers until you post details of the problem you are trying to
solve, preferably with Mathematica code.