Skip to contents

Elementwise addition, subtraction, and multiplication using the standard +, -, and * operators.

Usage

# S4 method for class 'sparse_numeric,sparse_numeric'
e1 + e2

# S4 method for class 'sparse_numeric,sparse_numeric'
e1 - e2

# S4 method for class 'sparse_numeric,sparse_numeric'
e1 * e2

Arguments

e1, e2

sparse_numeric objects.

Value

A sparse_numeric object.