Package 'quadmatrix'

Title: Solving Quadratic Matrix Equations
Description: Given inputs A,B and C, this package solves the matrix equation A*X^2 - B*X - C = 0.
Authors: Kasa
Maintainer: Siva Rajesh Kasa <[email protected]>
License: GPL-2
Version: 0.1.0
Built: 2025-02-16 05:16:10 UTC
Source: https://github.com/cran/quadmatrix

Help Index


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)