Learn R Programming

memuse (version 4.2-3)

Arithmetic: Binary Arithmetic

Description

Binary arithmetic operations for memuse objects.

Usage

# S4 method for memuse,memuse
+(e1, e2)

# S4 method for memuse,numeric +(e1, e2)

# S4 method for numeric,memuse +(e1, e2)

# S4 method for memuse,object_size +(e1, e2)

# S4 method for object_size,memuse +(e1, e2)

# S4 method for memuse,memuse -(e1, e2)

# S4 method for memuse,numeric -(e1, e2)

# S4 method for numeric,memuse -(e1, e2)

# S4 method for memuse,missing -(e1, e2)

# S4 method for memuse,object_size -(e1, e2)

# S4 method for object_size,memuse -(e1, e2)

# S4 method for memuse,memuse *(e1, e2)

# S4 method for memuse,numeric *(e1, e2)

# S4 method for numeric,memuse *(e1, e2)

# S4 method for memuse,object_size *(e1, e2)

# S4 method for object_size,memuse *(e1, e2)

# S4 method for memuse,memuse /(e1, e2)

# S4 method for memuse,numeric /(e1, e2)

# S4 method for numeric,memuse /(e1, e2)

# S4 method for memuse,object_size /(e1, e2)

# S4 method for object_size,memuse /(e1, e2)

# S4 method for memuse,memuse ^(e1, e2)

# S4 method for memuse,numeric ^(e1, e2)

Value

Returns a memuse class object.

Arguments

e1, e2

memuse, numeric, or object_size objects.

Details

Simple binary arithmetic for memuse objects. Options include any combination of memuse, object_size (output from the object.size() function), and numeric objects.

See Also

Constructor, memuse-class

Examples

Run this code
if (FALSE) {
x <- mu(200)
y <- mu(100)

x+y
x-y
x*y
x/y
x^2
}

Run the code above in your browser using DataLab