|
pulsatrix
|
The real-valued (+, x) semiring: ⊕ = floating-point addition, ⊗ = floating-point multiplication, zero = 0.0, one = 1.0 – the differentiable-provenance case.
More...
#include <datalog_semiring.hpp>
Public Types | |
| using | Value = T |
Static Public Member Functions | |
| static constexpr Value | zero () |
| static constexpr Value | one () |
| static constexpr Value | add (Value a, Value b) |
| static constexpr Value | mul (Value a, Value b) |
The real-valued (+, x) semiring: ⊕ = floating-point addition, ⊗ = floating-point multiplication, zero = 0.0, one = 1.0 – the differentiable-provenance case.
T (double/float) scalar. Mission 2's exclusive scope is wiring this T to a Tensor/neural-predicate output and computing a gradient; this mission deliberately stops short of that – T here is never anything but a plain arithmetic scalar. | using pulsatrix::datalog::RealSemiring< T >::Value = T |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |