# Operator * and / for fData objects

### Description

These methods provide operators `*`

and `/`

to perform products
or divisions between an `fData`

object and either a number or a
compliant 1D data structure, like numeric vector, array or
matrix. The operation is computed by performing the element-wise product
or division between `fD`

's observations and the provided value(s).

### Usage

1 2 3 4 5 | ```
## S3 method for class 'fData'
fD * a
## S3 method for class 'fData'
fD / a
``` |

### Arguments

`fD` |
the univariate functional dataset in form of |

`a` |
either a single number or a 1D data structure (such as numeric
raw vector, matrix or array) specifying the factor(s) to use in the
multiplication/division of |

### Details

If the second argument is a 1D data structure, it must have length `N`

equal to the number of observations in `fD`

.

### Value

The function returns an `fData`

object, whose function values
have undergone the product/division.

### Examples

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |