solve: Inverse of a Matrix.

Description Usage Arguments Details Value Constraints See Also Examples

Description

solve computes the inverse for FLMatrix objects.

Usage

1
solve(a, b = NULL, ...)

Arguments

...

any additional arguments

x

is of class FLMatrix

Details

The wrapper overloads solve and implicitly calls FLMatrixInvUdt.

Value

solve returns a FLMatrix object which is the inverse of input FLMatrix object and replicates the equivalent R output.

Constraints

Input can only be a square matrix (n x n) with maximum dimension limitations of (1000 x 1000).

See Also

solve for corresponding R function reference implementation.

Examples

1
2
3
4
5
6
flmatrix <- FLMatrix(getTestTableName("tblMatrixMulti"), 2,"MATRIX_ID","ROW_ID",
                     "COL_ID","CELL_VAL",dims= c(3,3))
resultFLMatrix <- solve(flmatrix)

##for two arguments a,b solve(a,b) function solve ax=b equation
resultFLMatrix <- solve(flmatrix,flmatrix)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.