Lines Matching refs:nFreq
964 double fYield, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE in GetDuration() argument
967 double fNumOfCoups = GetCoupnum( nNullDate, nSettle, nMat, nFreq, nBase ); in GetDuration()
970 fCoup *= f100 / double( nFreq ); // fCoup is used as cash flow in GetDuration()
971 fYield /= nFreq; in GetDuration()
974 double nDiff = fYearfrac * nFreq - fNumOfCoups; in GetDuration()
990 fDur /= double( nFreq ); in GetDuration()
1086 double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE in getYield_() argument
1092 double fPrice1 = getPrice_( nNullDate, nSettle, nMat, fRate, fYield1, fRedemp, nFreq, nBase ); in getYield_()
1093 double fPrice2 = getPrice_( nNullDate, nSettle, nMat, fRate, fYield2, fRedemp, nFreq, nBase ); in getYield_()
1098 fPriceN = getPrice_( nNullDate, nSettle, nMat, fRate, fYieldN, fRedemp, nFreq, nBase ); in getYield_()
1109 fPrice2 = getPrice_( nNullDate, nSettle, nMat, fRate, fYield2, fRedemp, nFreq, nBase ); in getYield_()
1138 double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE in getPrice_() argument
1140 double fFreq = nFreq; in getPrice_()
1142 double fE = GetCoupdays( nNullDate, nSettle, nMat, nFreq, nBase ); in getPrice_()
1143 double fDSC_E = GetCoupdaysnc( nNullDate, nSettle, nMat, nFreq, nBase ) / fE; in getPrice_()
1144 double fN = GetCoupnum( nNullDate, nSettle, nMat, nFreq, nBase ); in getPrice_()
1145 double fA = GetCoupdaybs( nNullDate, nSettle, nMat, nFreq, nBase ); in getPrice_()
1219 double fRate, double fYield, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE in GetOddlprice() argument
1221 double fFreq = double( nFreq ); in GetOddlprice()
1235 double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE in GetOddlyield() argument
1237 double fFreq = double( nFreq ); in GetOddlyield()
1310 void lcl_GetCouppcd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) in lcl_GetCouppcd() argument
1318 rDate.addMonths( -12 / nFreq ); in lcl_GetCouppcd()
1321 double GetCouppcd( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int… in GetCouppcd() argument
1328 …etCouppcd( aDate, ScaDate( nNullDate, nSettle, nBase ), ScaDate( nNullDate, nMat, nBase ), nFreq ); in GetCouppcd()
1335 void lcl_GetCoupncd( ScaDate& rDate, const ScaDate& rSettle, const ScaDate& rMat, sal_Int32 nFreq ) in lcl_GetCoupncd() argument
1343 rDate.addMonths( 12 / nFreq ); in lcl_GetCoupncd()
1346 double GetCoupncd( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int… in GetCoupncd() argument
1353 …etCoupncd( aDate, ScaDate( nNullDate, nSettle, nBase ), ScaDate( nNullDate, nMat, nBase ), nFreq ); in GetCoupncd()
1360 double GetCoupdaybs( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_I… in GetCoupdaybs() argument
1368 lcl_GetCouppcd( aDate, aSettle, ScaDate( nNullDate, nMat, nBase ), nFreq ); in GetCoupdaybs()
1375 double GetCoupdaysnc( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_… in GetCoupdaysnc() argument
1385 lcl_GetCoupncd( aDate, aSettle, ScaDate( nNullDate, nMat, nBase ), nFreq ); in GetCoupdaysnc()
1388 …eturn GetCoupdays( nNullDate, nSettle, nMat, nFreq, nBase ) - GetCoupdaybs( nNullDate, nSettle, nM… in GetCoupdaysnc()
1394 double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_In… in GetCoupdays() argument
1403 …etCouppcd( aDate, ScaDate( nNullDate, nSettle, nBase ), ScaDate( nNullDate, nMat, nBase ), nFreq ); in GetCoupdays()
1405 aNextDate.addMonths( 12 / nFreq ); in GetCoupdays()
1408 return static_cast< double >( GetDaysInYear( 0, 0, nBase ) ) / nFreq; in GetCoupdays()
1414 double GetCoupnum( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, sal_Int… in GetCoupnum() argument
1422 lcl_GetCouppcd( aDate, ScaDate( nNullDate, nSettle, nBase ), aMat, nFreq ); in GetCoupnum()
1424 return static_cast< double >( nMonths * nFreq / 12 ); in GetCoupnum()