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

Online Help

All Products    Maple    MapleSim


Units[Simple]

  

frem

  

floating-point remainder function in the Simple Units environment

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

frem(x1, x2)

Parameters

x1, x2

-

expressions

Description

• 

In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.

• 

In the Simple Units environment, the frem procedure overrides the top-level frem procedures. The units for the arguments need to have the same dimension, and the result is given a unit corresponding to that dimension.

• 

More precisely, if x1 and x2 have the same unit, then the result has that unit. If they have different units of the same dimension, then the result has the default unit for that dimension (as set by the UseUnit or UseSystem commands).

• 

Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units:-TestDimensions command.

Examples

Notes: 

– 

To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select unit and then enter the unit.

– 

When you edit a unit, double brackets appear around it.

withUnitsSimple:

frem32Unitm,1.49Unitm

0.010000000m

(1)

frem32Unitft,1.49Unitft

0.010000000ft

(2)

frem32Unitm,1.49Unitft

0.137544000m

(3)

Compatibility

• 

The Units[Simple][frem] command was introduced in Maple 2021.

• 

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

See Also

convert/units

frem

Units

Units/Simple