difforms - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Differential Equations : Differential Forms : difforms/scalarpart

difforms

 scalarpart
 find part of an expression which is a scalar

 Calling Sequence scalarpart(expr)

Parameters

 expr - Maple expression, but usually a product

Description

 • The function scalarpart is most effective on products.  It will try to simplify other expressions to products.
 • This function collects scalars and constants from a product, removing those parts which are forms or are undeclared.
 • This function and formpart may be used together to separate a product into scalar and form parts.
 • The command with(difforms,scalarpart) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{difforms}\right):$$\mathrm{defform}\left(f=\mathrm{scalar},c=\mathrm{const}\right)$
 > $\mathrm{scalarpart}\left(2\left(vf\right)&^\left(cu\right)\right)$
 ${2}{}{f}{}{c}$ (1)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam