# solve-methods

0th

Percentile

##### Methods for Function solve in Package distr'

solve-methods using generalized inverses for various types of matrices

Keywords
algebra, array
##### Usage
solve(a,b, ...)
# S4 method for ANY,ANY
solve(a, b, generalized =
getdistrOption("use.generalized.inverse.by.default"), tol = 1e-10)
# S4 method for PosSemDefSymmMatrix,ANY
solve(a, b, generalized =
getdistrOption("use.generalized.inverse.by.default"), tol = 1e-10)
# S4 method for PosDefSymmMatrix,ANY
solve(a, b, tol = 1e-10)
##### Arguments
a

matrix to be inverted / to be solved for RHS.

b

a numeric or complex vector or matrix giving the right-hand side(s) of the linear system. If missing, b is taken to be an identity matrix and solve will return the inverse of a.

further arguments to be passed to specific methods (see solve).

generalized

logical: should generalized / Moore-Penrose inverses be used? By default uses the corresponding global option to be set by distroptions.

tol

##### Methods

solve

signature(a = "ANY", b = "ANY"): tries to evaluate solve.default method from base in classical way; if this gives an error, this one is returned if generalized is TRUE, else it will then return $a^-b$ where $a^-$ is the pseudo or Moore-Penrose inverse of $a$.

solve

signature(a = "PosSemDefSymmMatrix", b = "ANY"): evaluates $a^-b$ where $a^-$ is the pseudo or Moore-Penrose inverse of $a$.

solve

signature(a = "PosDefSymmMatrix", b = "ANY"): evaluates solve method from base in classical way.

solve for the default method, eigen and svd` for the pseudo inversion

##### Aliases
• solve-methods
• solve
• solve,ANY,ANY-method
• solve,PosSemDefSymmMatrix,ANY-method
• solve,PosDefSymmMatrix,ANY-method
• solve,ANY-method
• solve,PosSemDefSymmMatrix-method
• solve,PosDefSymmMatrix-method
Documentation reproduced from package distr, version 2.7.0, License: LGPL-3

### Community examples

Looks like there are no examples yet.