18#ifndef LIVE_CELLS_NUMERIC_HPP
19#define LIVE_CELLS_NUMERIC_HPP
21#include "constant_cell.hpp"
22#include "observable.hpp"
23#include "computed.hpp"
35 template <
typename A,
typename B>
54 template <
typename A,
typename B>
87 template <
typename A,
typename B>
106 template <
typename A,
typename B>
125 template <
typename A,
typename B>
144 template <
typename A,
typename B>
164 template <
typename A,
typename B>
183 template <
typename A,
typename B>
203 template <
typename A,
typename B>
Dynamically typed Cell container.
Definition observable.hpp:133
A computed cell which determines its argument cells at runtime.
Definition dynamic_compute_cell.hpp:153
Concept specifying that T is either a Cell or a value that can be converted to a constant_cell.
Definition constant_cell.hpp:141
Defines the cell protocol.
Definition types.hpp:128
Definition boolean.hpp:26
auto operator-(const A &a, const B &b)
Create a Cell that computes the difference (using the - operator) of cells and .
Definition numeric.hpp:55
auto operator+(const A &a, const B &b)
Create a Cell that computes the sum (using the + operator) of cells and .
Definition numeric.hpp:36
auto operator*(const A &a, const B &b)
Create a Cell that computes the product (using the .
Definition numeric.hpp:88
constant_cell< T > value(const T &value)
Definition constant_cell.hpp:132
auto computed(F &&compute)
Create a cell with a value that is a function of one or more argument cells.
Definition computed.hpp:45
auto operator%(const A &a, const B &b)
Create a Cell that computes the remainder (using the % operator) of cell divided by .
Definition numeric.hpp:126
auto operator<=(const A &a, const B &b)
Create a Cell that is true if the value of cell is less than or equal to (by the <= operator) the val...
Definition numeric.hpp:165
auto operator>(const A &a, const B &b)
Create a Cell that is true if the value of cell is greater than (by the > operator) the value of cell...
Definition numeric.hpp:184
auto operator>=(const A &a, const B &b)
Create a Cell that is true if the value of cell is greater than or equal to (by the >= operator) the ...
Definition numeric.hpp:204
auto ensure_cell(const Cell auto &thing)
Ensure that thing is a Cell.
Definition constant_cell.hpp:155
auto operator<(const A &a, const B &b)
Create a Cell that is true if the value of cell is less than (by the < operator) the value of cell .
Definition numeric.hpp:145
auto operator/(const A &a, const B &b)
Create a Cell that computes the quotient (using the / operator) of cells and .
Definition numeric.hpp:107