Options
All
  • Public
  • Public/Protected
  • All
Menu

Interest-rate single factor model differential operator

Hierarchy

Index

Constructors

constructor

Properties

_diagonal

_diagonal: Real[]

_lowerDiagonal

_lowerDiagonal: Real[]

_n

_n: Size

_temp

_temp: Real[]

_timeSetter

_timeSetter: TimeSetter

_upperDiagonal

_upperDiagonal: Real[]

Methods

SOR

  • solve linear system with SOR approach

    Parameters

    Returns Real[]

applyTo

  • apply operator to a given array

    Parameters

    Returns Real[]

diagonal

  • diagonal(): Real[]

init1

init2

isTimeDependent

  • isTimeDependent(): boolean

lowerDiagonal

  • lowerDiagonal(): Real[]

setFirstRow

  • setFirstRow(valB: Real, valC: Real): void

setLastRow

  • setLastRow(valA: Real, valB: Real): void

setMidRow

setMidRows

setTime

  • setTime(t: Time): void

size

solveFor1

  • solve linear system for a given right-hand side

    Parameters

    Returns Real[]

solveFor2

  • solveFor2(rhs: Real[], result: Real[]): void
  • solve linear system for a given right-hand side without result Array allocation. The rhs and result parameters can be the same Array, in which case rhs will be changed

    Parameters

    Returns void

upperDiagonal

  • upperDiagonal(): Real[]

Static identity