Split - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Units

  

Split

  

split an expression into a unitless part and a unit

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Split(expr)

Split(expr, output = o)

Parameters

expr

-

algebraic expression, typically with units

o

-

the names unit or coefficient, or a list of these names

Description

• 

The Split command splits an expression into a unitless part and a unit.

• 

By default, the command returns both the unitless part and the unit as an expression sequence: first the unitless part, then the unit.

• 

You can use the output option to make Split return only one of the two. If you specify , only the unit is returned. If you specify , only the unitless part is returned. If you specify , where  is a list of the names  and , then Split returns the corresponding values as an expression sequence in the order specified. The default value of the  option is .

• 

If expr is itself unitless, the unit is 1. If expr is just a unit (that is, a call to the Unit function), the unitless part is 1.

Examples

Automatically loading the Units[Simple] subpackage

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

Compatibility

• 

The Units[Split] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

combine,units

convert,unit_free

Units

 


Download Help Document