Constructors
constructor
- new Cube(optionDates: Date[], swapTenors: Period[], optionTimes: Time[], swapLengths: Time[], nLayers: Size, extrapolation?: boolean, backwardFlat?: boolean): Cube
-
Parameters
-
optionDates: Date[]
-
swapTenors: Period[]
-
optionTimes: Time[]
-
swapLengths: Time[]
-
nLayers: Size
-
Default value extrapolation: boolean = true
-
Default value backwardFlat: boolean = false
Methods
browse
-
expandLayers
- expandLayers(i: Size, expandOptionTimes: boolean, j: Size, expandSwapLengths: boolean): void
-
Parameters
-
-
expandOptionTimes: boolean
-
-
expandSwapLengths: boolean
Returns void
f
-
Parameters
Returns Real[]
from
-
Parameters
Returns void
optionDates
-
Returns Date[]
optionTimes
-
Returns Time[]
points
-
setElement
- setElement(IndexOfLayer: Size, IndexOfRow: Size, IndexOfColumn: Size, x: Real): void
-
Parameters
Returns void
setLayer
-
Parameters
Returns void
setPoint
- setPoint(optionDate: Date, swapTenor: Period, optionTime: Time, swapLength: Time, point: Real[]): void
-
Parameters
-
optionDate: Date
-
-
optionTime: Time
-
swapLength: Time
-
point: Real[]
Returns void
setPoints
-
Parameters
Returns void
swapLengths
-
Returns Time[]
swapTenors
-
updateInterpolators
- updateInterpolators(): void
-
Returns void