fm.basic.opR Documentation

The basic operators supported by FlashR.

Description

The basic operators are mainly used by the FlashR functions that accept operators as arguments. Such a function includes fm.mapply, fm.inner.prod, etc.

Usage

fm.get.basic.op(name)

fm.get.basic.uop(name)

fm.bo.add

fm.bo.sub

fm.bo.mul

fm.bo.div

fm.bo.min

fm.bo.max

fm.bo.pow

fm.bo.eq

fm.bo.neq

fm.bo.gt

fm.bo.ge

fm.bo.lt

fm.bo.le

fm.bo.or

fm.bo.and

fm.bo.count

fm.bo.which.max

fm.bo.which.min

fm.bo.euclidean

fm.buo.neg

fm.buo.sqrt

fm.buo.abs

fm.buo.not

fm.buo.ceil

fm.buo.floor

fm.buo.log

fm.buo.log2

fm.buo.log10

fm.buo.round

fm.buo.as.int

fm.buo.as.numeric

fm.init.basic.op()

Arguments

name

the name of the basic operator.

Format

An object of class NULL of length 0.

Details

fm.get.basic.op gets the predefined basic binary operator specified by a user. The supported basic binary operators are:

fm.get.basic.uop gets the predefined basic unary operator specified by a user. The supported basic unary operators are:

fm.init.basic.op initializes the following basic operators.

Value

a reference to the specified basic operator.

Author(s)

Da Zheng <dzheng5@jhu.edu>