Basic Domains

Basic domains written in C++


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Domains

DOM_ARRAY(symbolic, multidimensional) arrays
DOM_BOOLBoolean constants
DOM_COMPLEX(Simple) Complex Numbers
DOM_DOMAINData type of data types
DOM_EXECKernel functions
DOM_EXPRType of “general expressions”
DOM_FLOATReal Floating Point Numbers
DOM_FUNC_ENVData type of function environments
DOM_HFARRAYHardware floating-point arrays
DOM_IDENTSymbolic Identifiers
DOM_INTERVALFloating point intervals
DOM_LISTLists of Objects
DOM_PROCData type of procedures
DOM_PROC_ENVData type of procedure environments
DOM_RATRational Numbers
DOM_SETSets of Objects
DOM_STRINGTexts (character strings)
DOM_VARLocal Variables in Procedures

Examples and How To

Choose Appropriate Data Structures

When you create a new MuPAD object, you choose the domain type of that object either explicitly or implicitly.

Convert Data Types

When creating new objects in MuPAD, the best practice is to consider which domain the object must belong to.

Define Your Own Data Types

MuPAD provides many predefined domains for a wide variety of symbolic and numeric computations.


Data Type Definition

MuPAD stores all objects as elements of particular domains.