Learn R Programming

memuse (version 1.1)

Arithmetic: memuse Arithmetic

Description

Binary arithmetic operations for memuse objects.

Usage

x + y
  x - y
  x * y
  x / y
  x ^ y

Arguments

x, y
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
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