arithmetic-methods: Arithmetic Operations of Functional Data Objects

Description Usage Arguments Value Method (fd+, numeric scalar) Method (fd+, fd+) Method (bifd+, numeric scalar) Method (bifd+, bifd+) Author(s)

Description

Simple arithmetic operations of fd+ and bifd+ objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## S4 method for signature ''fd+',numeric'
e1 * e2

## S4 method for signature 'numeric,'fd+''
e1 * e2

## S4 method for signature ''fd+',numeric'
e1 / e2

## S4 method for signature ''fd+','fd+''
e1 + e2

## S4 method for signature ''fd+','fd+''
e1 - e2

## S4 method for signature ''bifd+',numeric'
e1 * e2

## S4 method for signature 'numeric,'bifd+''
e1 * e2

## S4 method for signature ''bifd+',numeric'
e1 / e2

## S4 method for signature ''bifd+','bifd+''
e1 + e2

## S4 method for signature ''bifd+','bifd+''
e1 - e2

Arguments

e1,e2

Numeric scalars, or functional data objects of class fd+ or bifd+.

Value

See Method (...) sections for the explanation of various types of results.

Method (fd+, numeric scalar)

An fd+ object can be multiplied or divided by a numeric scalar, which has the effect that all the functions in this object will be scaled by this constant.

Method (fd+, fd+)

An fd+ object can be added to or subtracted from another fd+ object, if they have the same basis, and:

Method (bifd+, numeric scalar)

A bifd+ object can be multiplied or divided by a numeric scalar, and these operations will return the scaled bivariate function object.

Method (bifd+, bifd+)

A bifd+ object can be added to or subtracted from another bifd+ object, if they have the same bases.

Author(s)

Yixuan Qiu <http://statr.me/>


yixuan/fdaplus documentation built on May 4, 2019, 5:29 p.m.