ff_math: Math for ff vectors

Description Usage Arguments Value

Description

These mathematical functions implement ff_vector specific math and handle the following functions from the Math family:

The operators require x to be an ff_vector.

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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
## S3 method for class 'ff_vector'
 abs(x)

## S3 method for class 'ff_vector'
 sign(x)

## S3 method for class 'ff_vector'
 sqrt(x)

## S3 method for class 'ff_vector'
 ceiling(x)

## S3 method for class 'ff_vector'
 floor(x)

## S3 method for class 'ff_vector'
 trunc(x, ...)

## S3 method for class 'ff_vector'
 log10(x)

## S3 method for class 'ff_vector'
 log2(x)

## S3 method for class 'ff_vector'
 log1p(x)

## S3 method for class 'ff_vector'
 acos(x)

## S3 method for class 'ff_vector'
 acosh(x)

## S3 method for class 'ff_vector'
 asin(x)

## S3 method for class 'ff_vector'
 asinh(x)

## S3 method for class 'ff_vector'
 atan(x)

## S3 method for class 'ff_vector'
 atanh(x)

## S3 method for class 'ff_vector'
 exp(x)

## S3 method for class 'ff_vector'
 expm1(x)

## S3 method for class 'ff_vector'
 cos(x)

## S3 method for class 'ff_vector'
 cosh(x)

## S3 method for class 'ff_vector'
 sin(x)

## S3 method for class 'ff_vector'
 sinh(x)

## S3 method for class 'ff_vector'
 tan(x)

## S3 method for class 'ff_vector'
 tanh(x)

## S3 method for class 'ff_vector'
 gamma(x)

## S3 method for class 'ff_vector'
 lgamma(x)

## S3 method for class 'ff_vector'
 digamma(x)

## S3 method for class 'ff_vector'
 trigamma(x)

## S3 method for class 'ff_vector'
 log(x, base)

## S3 method for class 'ff_vector'
 round(x, digits)

## S3 method for class 'ff_vector'
 signif(x, digits)

Arguments

x

a numeric ff_vector

...

for trunc, currently not used

base

base for log

digits

digits for round and signif

Value

an ff_vector. For the definition of the operators see the base package of R.


ffbase documentation built on Feb. 27, 2021, 5:06 p.m.