Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

matsqrt

Calculates the Square Root of a Diagonalizable Matrix


Description

Returns the square root of a diagonalizable matrix.

Usage

matsqrt(x)

Arguments

x

An nxn diagonalizable matrix.

Details

This function is called by regcr.

Value

matsqrt returns the square root of x.

See Also

Examples

a <- matrix(c(1, -0.2, -0.2, 1), 2, 2)
matsqrt(a)

mixtools

Tools for Analyzing Finite Mixture Models

v1.2.0
GPL (>= 2)
Authors
Derek Young [aut, cre] (<https://orcid.org/0000-0002-3048-3803>), Tatiana Benaglia [aut], Didier Chauveau [aut], David Hunter [aut], Ryan Elmore [ctb], Thomas Hettmansperger [ctb], Hoben Thomas [ctb], Fengjuan Xuan [ctb]
Initial release
2020-02-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.