FLMatrixNorm: Norm of a Matrix.

Description Usage Arguments Value Constraints Examples

Description

FLMatrixNorm gives the value of Norm for FLMatrix objects.

Usage

1
FLMatrixNorm(object, NormMethod)

Arguments

object

is of class FLMatrix

NormMethod

is an integer from 1-4 representing the type of norm that should be computed.

Value

FLMatrixNorm returns a R vector object which is the Norm of input FLMatrix object calculated using method specified by NormMethod input. There are 4 types of norms of a matrix:

1-Norm

Maximum of the sum of the absolute values for the columns

2-Norm

Maximum of the sum of the absolute values for the rows

Frobenius Norm

Square root of the trace of (t(A)A)

Infinity Norm

Square root of the maximum of the magnitudes of the Eigenvalues of (t(A)A)

Constraints

Input can only be with maximum dimension limitations of (700 x 700).

Examples

1
2
flmatrix <- FLMatrix("tblMatrixMulti", 5,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
resultFLVector <- FLMatrixNorm(flmatrix,4)

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