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

Online Help

All Products    Maple    MapleSim


RandomTools Flavor: complex

describe a flavor of a random complex number

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

complex(flav)

Parameters

flav

-

random flavor

Description

• 

The flavor complex describes a random complex number with real and imaginary parts described by the given random flavor flav.

  

This flavor can be used as an argument to RandomTools[Generate] or as part of a structured flavor.

Examples

withRandomTools:

Generatecomplexinteger

−104281139460306860183579I

(1)

Generatecomplexrationalrange=3..3,denominator=720

359120+953I360

(2)

Generatelistcomplexnonnegintrange=10,10

10+3I,5+4I,10,7+4I,9+10I,1+I,3+7I,10+2I,8+9I,1+10I

(3)

Matrix3,3,Generatecomplexintegerrange=2..7identicalx+complexintegerrange=2..7,makeproc=true

3+7Ix+5+2I6+4Ix+2+7I6+7Ix+5+4I7+6Ix+4+6I5+4Ix+3+4I2+2Ix+4+6I6+3Ix+3+3I4+3Ix+5+3I2+6Ix+2+5I

(4)

See Also

complex

flavor/structured

rand

RandomTools

RandomTools[Generate]