Home
last modified time | relevance | path

Searched refs:fYield (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()
202 sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, in getPrice() argument
205 if( fYield < 0.0 || fRate < 0.0 || fRedemp <= 0 || CHK_Freq || nSettle >= nMat ) in getPrice()
208 …double fRet = getPrice_( GetNullDate( xOpt ), nSettle, nMat, fRate, fYield, fRedemp, nFreq, getDat… in getPrice()
225 … sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fYield, const ANY& rOB ) in getPricemat() argument
227 if( fRate < 0.0 || fYield < 0.0 || nSettle >= nMat ) in getPricemat()
238 fRet /= 1.0 + fSetMat * fYield; in getPricemat()
247 … sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const ANY& rOB ) in getMduration() argument
[all …]
H A Danalysis.hxx208 …nstREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, …
212 …nstREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, double fRedemp, s…
214 …al_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fYield, const ANY& rOptBa…
215 …nstREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, …
225 …Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, double fRate, double fYield, double fRedemp, s…
227 …2 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, double fRate, double fYield, double fRedemp, s…
H A Danalysishelper.cxx963 double fYield, sal_Int32 nFreq, sal_Int32 nBase ) in GetDuration() argument
970 fYield /= nFreq; in GetDuration()
971 fYield += 1.0; 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()
1136 …ble getPrice_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, in getPrice_() argument
1146 double fRet = fRedemp / ( pow( 1.0 + fYield / fFreq, fN - 1.0 + fDSC_E ) ); in getPrice_()
1150 double fT2 = 1.0 + fYield / fFreq; in getPrice_()
[all …]
H A Danalysishelper.hxx106 double fYield, sal_Int32 nFreq, sal_Int32 nBase );
110 sal_Int32 nFirstCoup, double fRate, double fYield, double fRedemp,
114 … getPrice_( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield,
120 … double fRate, double fYield, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase );