Skip to contents

Computes the symmetric square root of a positive definite matrix

Usage

mhalf(M)

Arguments

M

a positive definite matrix

Value

a matrix H such that H^2 equals M

Author

Cassy Dorff, Shahryar Minhas, Tosin Salau