Table of Contents

Class FunctionalFunctions

Namespace
NanoQL.Numerics
Assembly
NanoQL.dll

Functionals and combinators not included in the standard library.

public static class FunctionalFunctions
Inheritance
FunctionalFunctions
Inherited Members

Methods

Squared<T>(T)

The square of x, x * x.

public static T Squared<T>(T x) where T : INumberBase<T>

Parameters

x T

The value.

Returns

T

x · x.

Type Parameters

T

The number type: any type with .NET's generic arithmetic, a double or a Complex among them, as QuantLib's template serves Real and std::complex<Real>.