Learn R Programming

memuse (version 2.5)

Arithmetic: Binary Arithmetic

Description

Binary arithmetic operations for memuse objects.

Usage

"+"(e1, e2)
"+"(e1, e2)
"+"(e1, e2)
"+"(e1, e2)
"+"(e1, e2)
"-"(e1, e2)
"-"(e1, e2)
"-"(e1, e2)
"-"(e1, e2)
"-"(e1, e2)
"-"(e1, e2)
"*"(e1, e2)
"*"(e1, e2)
"*"(e1, e2)
"*"(e1, e2)
"*"(e1, e2)
"/"(e1, e2)
"/"(e1, e2)
"/"(e1, e2)
"/"(e1, e2)
"/"(e1, e2)
"^"(e1, e2)
"^"(e1, e2)

Arguments

e1,e2
memuse, numeric, or object_size objects.

Value

Returns a memuse class object.

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
## Not run: 
# x <- mu(200)
# y <- mu(100)
# 
# x+y
# x-y
# x*y
# x/y
# x^2
# ## End(Not run)

Run the code above in your browser using DataLab