The OpenD Programming Language

SmileRoots

A set of one or two smile roots.

Because we assume that volatility smile is convex the equantion above can have no more then two roots.

The left and right members are equal if the smile has only one root.

Constructors

this
this(T value)
this
this(T left, T right)
this
this(SmallArray!(T, 2) array)

Members

Functions

count
size_t count()
opIndex
inout(T)[] opIndex()

Variables

left
T left;
right
T right;

Meta