polar


polar(m, a)
      

Return a complex number with magnitude m and angle a.

Examples:


polar(2, 0)
// 2

polar(2.0, 0.0)
// 2.0+0.0i
      

Also see:

angle
magnitude
rectangular


Core Module Index | Contents