invMat: Number Inverse Matrix

Description Usage Arguments Value Author(s) Examples

Description

Calculates the inverse matrix

Usage

1
2
3
4
5
6
7
## S3 method for class 'modello_number'
invMat(A)

## S3 method for class 'matrix'
invMat(A)

invMat(A)

Arguments

A

a 'numeric' or a reference object of class 'number'

Value

Returns a 'numeric' or reference object of class 'number'

Author(s)

Filippo Monari

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
modello.init(10, 10, 10, 10)
## For modello_number matrices
x = number(diag(0.1, 3))
ix = invMat(x)
print(ix)
print(ix$v)
modello.close()
## For matrices
x = diag(0.1, 3)
ix = invMat(x)
print(ix)

modello documentation built on Feb. 2, 2021, 9:06 a.m.

Related to invMat in modello...