DiscreteFunction.fromAlias

Create a DiscreteFunction using a template alias parameter instead of a callable object.

Note: This function is given an name instead of opCall because DMD thinks you're trying to instantiate a class if you do ContinuousFunction!fun(...).

class DiscreteFunction
static
fromAlias
(
alias callable
)
()
if (
is(typeof(callable(2)) : double)
)

Meta