| NEST HelpDesk | Command Index | NEST Quick Reference |
| Name: | ToMathematicaExpression - converts SLI data to Mathematica input |
| Synopsis: | any ToMathematicaExpression -> string |
| Description: | An error is raised for unsupported SLI data types. In particular, the function also converts heterogeneous arrays and dictionaries. |
| Examples: |
[3.4 (hello) [2 3] ] ToMathematicaExpression -->
({ImportString["3.4","List"][[1]], "hello", {2, 3}})
<< /i 6 /s (hello) >> ToMathematicaExpression -->
({i -> 6, s -> "hello"})
|
| Author: | Diesmann |
| Remarks: | The conversion of doubles does not yet guarantee the existence of the decimal point and an appropriate number of digits. |
| References: | [1] The Mathematica Book |
| Source: | /home/abuild/rpmbuild/BUILD/nest-2.4.1/lib/sli/mathematica.sli |
| NEST HelpDesk | Command Index | NEST Quick Reference |
© 2000-2010 The NEST Initiative