solve.blockmatrix {blockmatrix}R Documentation

solve

Description

dim S3 solve for blockmatrix object

Usage

  ## S3 method for class 'blockmatrix'
 solve(a, b = NULL,
    as.blockmatrix = TRUE, ...)

Arguments

a

a blockmatrix or numeric object

b

a blockmatrix or numeric object. If omitted, it is NULL. See Details.

as.blockmatrix

logical value. If TRUE (Default), the output is a blockmatrix object

...

further arguments for method solve

Value

the object x such that a * x = b where * is the matrix product.

Note

If b is missing, i.e. NULL, it will be replaced by the corresponding identity matrix. So x is calculated as the right inverse of a. The matrix system must be nonsingular and nonhomogeneous.

Author(s)

Emanuele Cordano


[Package blockmatrix version 1.0 Index]