Comparators: Logical Comparisons

ComparatorsR Documentation

Logical Comparisons

Description

Logical comparisons.

Usage

## S4 method for signature 'ddmatrix,ddmatrix'
e1 == e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 != e2

## S4 method for signature 'ddmatrix'
all(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix'
any(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix,ddmatrix'
e1 < e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 > e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 <= e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 >= e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 | e2

## S4 method for signature 'ddmatrix,ddmatrix'
e1 & e2

## S4 method for signature 'ddmatrix,numeric'
e1 < e2

## S4 method for signature 'numeric,ddmatrix'
e1 < e2

## S4 method for signature 'ddmatrix,numeric'
e1 > e2

## S4 method for signature 'numeric,ddmatrix'
e1 > e2

## S4 method for signature 'ddmatrix,numeric'
e1 <= e2

## S4 method for signature 'numeric,ddmatrix'
e1 <= e2

## S4 method for signature 'ddmatrix,numeric'
e1 >= e2

## S4 method for signature 'numeric,ddmatrix'
e1 >= e2

## S4 method for signature 'ddmatrix,numeric'
e1 == e2

## S4 method for signature 'numeric,ddmatrix'
e1 == e2

## S4 method for signature 'ddmatrix,numeric'
e1 != e2

## S4 method for signature 'numeric,ddmatrix'
e1 != e2

## S4 method for signature 'ddmatrix,numeric'
e1 | e2

## S4 method for signature 'numeric,ddmatrix'
e1 | e2

## S4 method for signature 'ddmatrix,numeric'
e1 & e2

## S4 method for signature 'numeric,ddmatrix'
e1 & e2

Arguments

e1, e2, x

distributed matrix or numeric vector

na.rm

logical, indicating whether or not NA's should first be removed. If not and an NA is present, NA is returned.

Details

Performs the indicated logical comparison.

If na.rm is TRUE and only NA's are present, then TRUE is returned.

Value

Returns a distributed matrix.


wrathematics/pbdDMAT documentation built on Oct. 2, 2024, 2:56 p.m.