Module aegir::ops

source ·
Expand description

Module for concrete operator implementations.

Modules

Module containing special function operators.
Module containing trigonometric operators.

Structs

Operator that applies f[g](x) = |g(x)| to a buffer.
Operator that applies f[g,h](x) = g(x) + h(x) element-wise to a buffer.
Operator that applies f[g](x) = g(x) + 1 element-wise to a buffer.
Operator that applies fₐ[g,h](x) = g(x) ⊗ₐ h(x) element-wise over a buffer.
Operator that applies f[g](x) = δ(g(x) - x) to a buffer.
Operator that applies f[g,h](x) = g(x) / h(x) element-wise to a buffer.
Operator that applies f[g](x) = 2 · g(x) element-wise to a buffer.
Operator that applies f[g](x) = exp(g(x)) element-wise to a buffer.
Operator that applies f[g](x) = ln(g(x)) element-wise to a buffer.
Operator that applies f[g,h](x) = g(x) · h(x) element-wise to a buffer.
Operator that applies f[g](x) = -g(x) to a buffer.
Operator that applies f[g](x) = 1 - g(x) element-wise to a buffer.
Operator that applies f[b,e](x) = b(x) ^ e(x) element-wise to a buffer.
Operator that applies f[g](x) = g(x) * (1 - g(x)) element-wise to a buffer.
Operator that applies f[g](x) = 1 / (1 + exp(-f(x))) element-wise to a buffer.
Operator that applies f[g](x) = sgn(g(x)) to a buffer.
Operator that applies f[g](x) = g(x) ^ 2 element-wise to a buffer.
Operator that applies f[g,h](x) = g(x) - h(x) element-wise to a buffer.
Operator that applies f[g](x) = g(x) - 1 element-wise to a buffer.
Operator that applies f[g](x) = Σᵢ gᵢ(x) to a buffer.
Operator that applies f[g](x) = g(x) · ln(g(x)) element-wise to a buffer.

Functions

Apply the sigmoid function to a real scalar value.

Type Definitions

Operator alias that applies f[g,h](x) = h(x) · g(x) element-wise to a buffer.
Operator alias that applies f[g,h](x) = h(x) : g(x) element-wise to a buffer.
Operator alias that applies f[g,h](x) = h(x) ⊗ g(x) element-wise to a buffer.