hasquant
Safe HaskellNone
LanguageHaskell2010

QuantLib.Math

Synopsis

Documentation

data Rounding #

Constructors

NoRounding 
Rounding 

Fields

Instances

Instances details
Show Rounding # 
Instance details

Defined in QuantLib.Internal.Enum

Eq Rounding # 
Instance details

Defined in QuantLib.Internal.Enum

data RngTrait #

Instances

Instances details
Enum RngTrait # 
Instance details

Defined in QuantLib.Math

Show RngTrait # 
Instance details

Defined in QuantLib.Math

Eq RngTrait # 
Instance details

Defined in QuantLib.Math

data EndCriteria #

Constructors

EndCriteria 

Fields

data OptimizationMethod #

Constructors

LevenbergMarquardt 

Fields

Simplex !Double

lambda, characteristic length

data Matrix a #

Instances

Instances details
Show a => Show (Matrix a) # 
Instance details

Defined in QuantLib.Internal

Methods

showsPrec :: Int -> Matrix a -> ShowS #

show :: Matrix a -> String #

showList :: [Matrix a] -> ShowS #

Eq a => Eq (Matrix a) # 
Instance details

Defined in QuantLib.Internal

Methods

(==) :: Matrix a -> Matrix a -> Bool #

(/=) :: Matrix a -> Matrix a -> Bool #

objectMatrix :: Word -> Word -> [a] -> Either String (Matrix a) #

data TimeGrid #

timeGrid #

Arguments

:: Double

end

-> Word

steps

-> IO TimeGrid 

Regularly spaced time-grid.

timeGridFromList :: NonEmpty Double -> IO TimeGrid #

Time grid with mandatory time points. Mandatory points are guaranteed to belong to the grid. No additional points are added.

timeGridFromList' :: NonEmpty Double -> Word -> IO TimeGrid #

Time grid with mandatory time points. Mandatory points are guaranteed to belong to the grid. Additional points are then added with regular spacing between pairs of mandatory times in order to reach the desired number of steps.