sqrt.mat {mixtools}R Documentation

Calculates the Square Root of a Diagonalizable Matrix

Description

Returns the square root of a diagonalizable matrix.

Usage

sqrt.mat(x)

Arguments

x An nxn diagonalizable matrix.

Details

This function is called by regcr.

Value

sqrt.mat returns the square root of x.

See Also

regcr

Examples

a<-matrix(c(1, -0.2, -0.2, 1), 2, 2)
sqrt.mat(a)


[Package mixtools version 0.2.0 Index]