times-times: Element-Wise power of in-database objects.

Description Usage Arguments Details Value Examples

Description

** does the Element-wise power of in-database objects.

Usage

1
"**"(pObj1, pObj2)

Arguments

pObj1

can be an in-database object like FLMatrix,FLSparseMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector

pObj2

can be an in-database object like FLMatrix,FLSparseMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector

Details

All combinations of operands are possible just like in R and the result is an in-database object.

Value

** returns an in-database object if there is atleast one in-database object as input.Otherwise, the default behavior of R is preserved

Examples

1
2
3
flmatrix <- FLMatrix("tblMatrixMulti", 1,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
Rvector <- 1:5
ResultFLmatrix <- flmatrix ** Rvector

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