[S] matrix square root

Fei Chen (fchen@stern.nyu.edu)
Tue, 21 Apr 1998 17:58:52 -0400 (EDT)


hi all,

this might be a thing easy to do. but i don't know how:
in MATLAB, there is a function sqrtm() which takes the square root of a
matrix, as opposed to sqrt() which takes the square root of every element
in a matrix.

is there a similar function in S+ like sqrtm()?

thanks a lot,

fei

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news