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

Online Help

All Products    Maple    MapleSim


MapleTA[Builtin]

  

fact

  

factorial

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

fact(n)

Parameters

n

-

numeric

Description

• 

The fact command computes n!.

• 

If n is not an integer returns fact(int(n)).

• 

If n is negative, returns 1.

Examples

MapleTA:-Builtin:-fact4

24

(1)

Compatibility

• 

The MapleTA[Builtin][fact] command was introduced in Maple 18.

• 

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

See Also

factorial

MapleTA