Sqrt function on matrix

#1

Quick question on the math function of taking a square root of real values:

if I write: matrix[2,2] Mat;
will sqrt(Mat) give a 2 by 2 matrix with every entry’s square root calculated, respectively?

#2

Yes

1 Like