Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites

The Wolfram Technology Guide
Search within   


Technology Guide

More About Mathematica
Dynamic Type Switching (DTS)
PreviousNext
 
     
 

The solution to this differential equation became complex at t=1. Without Mathematica, a user would have to anticipate this before solving the problem.


Related Links
Technology Guide: Automatic algorithm selection, dynamic type detection
Tutorial: Everything Is an Expression, Types of Numbers



Any questions about topics on this page? Click here to get an individual response.

Computations in purely numerical systems often fail because their number representation is insufficient for the task--for example when IEEE floating-point overflow or underflow occurs, or when complex numbers appear in a floating-point computation.

With dynamic type switching (DTS), Mathematica detects these problems and switches number systems without user interaction. Mathematica can therefore often return accurate results in situations where non-Mathematica, numerical-only systems fail.

An example of DTS is found when using the numerical differential equation solver NDSolve. An initially real solution might become complex during the calculation, automatically triggering Mathematica's just-in-time (JIT) compiler to recompile optimized byte code.

 
 


© 2008 Wolfram Research, Inc.  | Sign up for our newsletter:   | Glossary