quadmatrix {quadmatrix}R Documentation

Solving Quadratic Matrix Equations

Description

Given inputs A,B and C, this package solves the matrix equation A*X^2 - B*X - C = 0.

Usage

quadmatrix(A, B, C)

Arguments

A

A Matrix

B

A Matrix

C

A Matrix

Value

Matrix X

Examples

B = matrix(c(1,3,3,1),nrow = 2,ncol = 2)
A = matrix(c(1.5,2,2,1.5),nrow = 2,ncol = 2)
C = matrix(c(1.5,1,1,1.5),nrow = 2,ncol = 2)
quadmatrix(A,B,C)




[Package quadmatrix version 0.1.0 Index]