Normal

Normal[expr]
converts expr to a normal expression, from a variety of special forms.

DetailsDetails

  • Normal[expr] converts Association objects into lists of rules, and Dataset objects into lists and associations.
  • Normal[expr] converts SparseArray objects into ordinary arrays.
  • Normal[expr] converts Quantity objects with purely numeric units, such as percents, to ordinary numbers.
  • Normal[expr] converts DateObject expressions into a DateList.
  • Normal[expr] converts a power series to a normal expression by truncating higherorder terms.
  • Normal[expr] converts GraphicsComplex objects into ordinary lists of graphics primitives and directives.
  • Normal[expr] converts RootSum objects into explicit sums involving Root objects.
  • When additional "data types" are introduced, Normal should be defined to convert them, when possible, to normal expressions.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Create a normal dense list from a sparse array:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Create a normal expression from a series expansion:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Convert an association to a list of rules:

In[1]:=
Click for copyable input
Out[1]=

Normal acts on the first level only:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 1988
(1.0)
| Updated in 2014
(10.0)