Home
last modified time | relevance | path

Searched refs:fCoup (Results 1 – 4 of 4) sorted by relevance

/trunk/main/scaddins/source/analysis/
H A Dfinancial.cxx103 … sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const ANY& rOB ) in getDuration() argument
105 if( fCoup < 0.0 || fYield < 0.0 || CHK_Freq || nSettle >= nMat ) in getDuration()
108 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDateMode(… in getDuration()
247 … sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const ANY& rOB ) in getMduration() argument
249 if( fCoup < 0.0 || fYield < 0.0 || CHK_Freq ) in getMduration()
252 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDate… in getMduration()
310 …sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, c… in getYield() argument
312 if( fCoup < 0.0 || fPrice <= 0.0 || fRedemp <= 0.0 || CHK_Freq || nSettle >= nMat ) in getYield()
315 …double fRet = getYield_( GetNullDate( xOpt ), nSettle, nMat, fCoup, fPrice, fRedemp, nFreq, getDat… in getYield()
H A Danalysis.hxx208 …getDuration( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sa…
215 …etMduration( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sa…
219 … getYield( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, do…
H A Danalysishelper.cxx962 double GetDuration( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, in GetDuration() argument
969 fCoup *= f100 / double( nFreq ); // fCoup is used as cash flow in GetDuration()
978 fDur += ( t + nDiff ) * ( fCoup ) / pow( fYield, t + nDiff ); in GetDuration()
980 fDur += ( fNumOfCoups + nDiff ) * ( fCoup + f100 ) / pow( fYield, fNumOfCoups + nDiff ); in GetDuration()
984 p += fCoup / pow( fYield, t + nDiff ); in GetDuration()
986 p += ( fCoup + f100 ) / pow( fYield, fNumOfCoups + nDiff ); in GetDuration()
1084 double getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPri… in getYield_() argument
1087 double fRate = fCoup; in getYield_()
H A Danalysishelper.hxx105 …ble GetDuration( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup,
112 double getYield_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fCoup