Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: math
See also: ccos ccosh cexp cln csin csinh ctan ctanh

Quantlet: csqrt
Description: Complex squareroot

Usage: z = csqrt(x)
Input:
x n x p x d1 x ... x dn complex array
Output:
z n x p x d1 x ... x dn complex array

Example:

library("math")

x = complex (#(4,16), #(9,1))

csqrt(x)

Result:

Contents of z.re 

[1,]   2.6314 

[2,]    4.002 

Contents of z.im

[1,]   1.7101 

[2,]  0.12494 


Library: math
See also: ccos ccosh cexp cln csin csinh ctan ctanh

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Sigbert Klinke, 920424, 970529, Susanne Hannappel, 960423
(C) MD*TECH Method and Data Technologies, 21.9.2000