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?

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?

Yes

1 Like