Skip to content

strata::PlusΒΆ

Part of Element-wise expressions.

struct strata::Plus;

Sum of two or more values, applied as a left fold: Plus{}(a, b, c) is (a + b) + c.

This is exactly what a + b + c computes, which is what lets a chain become one node of three operands without changing a single rounding. Constrained on +, so that asking whether it takes some values gets an answer rather than an error from inside it.