mhalf: Symmetric square root of a matrix

Description Usage Arguments Details Author(s) Examples

View source: R/tfunctions.r

Description

Compute the symmetric square root of a matrix

Usage

1
mhalf(M)

Arguments

M

a positive semidefinite matrix

Details

This functions computes the symmetric square root of a postive semidefinite matrix.

Author(s)

Peter Hoff

Examples

1
2
3
S<-rwish(diag(5))
Sh<-mhalf(S)
Sh%*%Sh

MikeKozelMSU/mcmcFunc documentation built on May 22, 2019, 5:31 p.m.