Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 487 Bytes

calculation.md

File metadata and controls

54 lines (45 loc) · 487 Bytes

Computations

Operators

Modules = [Temporal]
Pages = ["operations.jl"]

Scalars

using Temporal
X = TS(rand(100, 4))
X + 1
X - 1
X * 2
X / 2
X % 2
X ^ 2

Time Series

using Temporal
X = TS(rand(100, 4))
Y = TS(randn(100, 4))
X + Y
X - Y
X * Y
X / Y
X % Y
X ^ Y

Statistics

using Temporal
X = TS(randn(100, 4))
mean(X)
sum(X)
prod(X)
cumsum(X)
cumprod(X)
sign(X)
log(X)
minimum(X)
cummin(X)
maximum(X)
cummax(X)