Description Usage Arguments Details Value Constraints Examples
==
checks the equality of in-database objects.
1 | "=="(pObj1, pObj2)
|
pObj1 |
can be an in-database object like FLMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
pObj2 |
can be an in-database object like FLMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
The equality of in-database objects mimics the normal addition of R data types. One can check equality of FLMatrices, FLMatrix - R matrices, FLVectors and FLVector - RVector.
==
returns a logical TRUE or FALSE matrix similar to R output
Currently only dgCMatrix
,dgeMatrix
,dsCMatrix
,
dgTMatrix
,matrix
,Matrix
,vector
R types
are supported. Comparision of FLMatrix with FLVector is not currently Supported.
In case of FLVector and Rvector comparision use FLVector==RVector in place of
RVector==FLVector
1 2 3 4 5 6 | connection <- flConnect(odbcSource="Gandalf")
flmatrix <- FLMatrix("FL_DEMO.tblMatrixMulti", 5,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
flvector <- as.FLVector(1:5)
Result <- flmatrix == flmatrix
Result <- flvector==flvector
Result <- flvector==1:5
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.