The OpenD Programming Language

SingleConstant

Single value interpolation

Constructors

this
this(F value)

Members

Functions

gridScopeView
immutable(X)[] gridScopeView()

Templates

opCall
template opCall(uint derivative = 0)

Variables

derivativeOrder
enum uint derivativeOrder;
dimensionCount
enum uint dimensionCount;
value
F value;

Examples

auto sc = singleConstant(34.1);
assert(sc(100) == 34.1);
assert(sc.opCall!2(100) == [34.1, 0, 0]);

Meta