Lines Matching refs:nMat
82 sal_Int32 nSettle, sal_Int32 nMat, double fInvest, double fDisc, const ANY& rOB ) THROWDEF_RTE_IAE in getReceived() argument
87 …double fRet = fInvest / ( 1.0 - ( fDisc * GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, getDate… in getReceived()
93 sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) THROWDEF_RTE_IAE in getDisc() argument
95 if( fPrice <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getDisc()
97 …double fRet = ( 1.0 - fPrice / fRedemp ) / GetYearFrac( xOpt, nSettle, nMat, getDateMode( xOpt, rO… in getDisc()
103 sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const ANY& rOB ) in getDuration() argument
106 if( fCoup < 0.0 || fYield < 0.0 || CHK_Freq || nSettle >= nMat ) in getDuration()
109 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDateMode(… in getDuration()
203 sal_Int32 nSettle, sal_Int32 nMat, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, in getPrice() argument
206 if( fYield < 0.0 || fRate < 0.0 || fRedemp <= 0 || CHK_Freq || nSettle >= nMat ) in getPrice()
209 …double fRet = getPrice_( GetNullDate( xOpt ), nSettle, nMat, fRate, fYield, fRedemp, nFreq, getDat… in getPrice()
215 sal_Int32 nSettle, sal_Int32 nMat, double fDisc, double fRedemp, const ANY& rOB ) THROWDEF_RTE_IAE in getPricedisc() argument
217 if( fDisc <= 0.0 || fRedemp <= 0 || nSettle >= nMat ) in getPricedisc()
220 …double fRet = fRedemp * ( 1.0 - fDisc * GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, getDateMo… in getPricedisc()
226 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fYield, const ANY& rOB ) in getPricemat() argument
229 if( fRate < 0.0 || fYield < 0.0 || nSettle >= nMat ) in getPricemat()
235 double fIssMat = GetYearFrac( nNullDate, nIssue, nMat, nBase ); in getPricemat()
237 double fSetMat = GetYearFrac( nNullDate, nSettle, nMat, nBase ); in getPricemat()
249 sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fYield, sal_Int32 nFreq, const ANY& rOB ) in getMduration() argument
255 …double fRet = GetDuration( GetNullDate( xOpt ), nSettle, nMat, fCoup, fYield, nFreq, getDate… in getMduration()
313 …sal_Int32 nSettle, sal_Int32 nMat, double fCoup, double fPrice, double fRedemp, sal_Int32 nFreq, c… in getYield() argument
316 if( fCoup < 0.0 || fPrice <= 0.0 || fRedemp <= 0.0 || CHK_Freq || nSettle >= nMat ) in getYield()
319 …double fRet = getYield_( GetNullDate( xOpt ), nSettle, nMat, fCoup, fPrice, fRedemp, nFreq, getDat… in getYield()
325 sal_Int32 nSettle, sal_Int32 nMat, double fPrice, double fRedemp, const ANY& rOB ) THROWDEF_RTE_IAE in getYielddisc() argument
327 if( fPrice <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getYielddisc()
334 fRet /= GetYearFrac( nNullDate, nSettle, nMat, getDateMode( xOpt, rOB ) ); in getYielddisc()
339 fRet /= GetYearFrac( nNullDate, nSettle, nMat, getDateMode( xOpt, rOB ) ); in getYielddisc()
346 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, double fRate, double fPrice, const ANY& rOB ) in getYieldmat() argument
349 if( fRate < 0.0 || fRate <= 0.0 || nSettle >= nMat ) in getYieldmat()
352 …double fRet = GetYieldmat( GetNullDate( xOpt ), nSettle, nMat, nIssue, fRate, fPrice, getDateMode… in getYieldmat()
358 sal_Int32 nSettle, sal_Int32 nMat, double fDisc ) THROWDEF_RTE_IAE in getTbilleq() argument
360 nMat++; in getTbilleq()
362 sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, sal_True ); in getTbilleq()
364 if( fDisc <= 0.0 || nSettle >= nMat || nDiff > 360 ) in getTbilleq()
373 sal_Int32 nSettle, sal_Int32 nMat, double fDisc ) THROWDEF_RTE_IAE in getTbillprice() argument
375 if( fDisc <= 0.0 || nSettle > nMat ) in getTbillprice()
378 nMat++; in getTbillprice()
380 double fFraction = GetYearFrac( xOpt, nSettle, nMat, 0 ); // method: USA 30/360 in getTbillprice()
391 double SAL_CALL AnalysisAddIn::getTbillyield( constREFXPS& xOpt, sal_Int32 nSettle, sal_Int32 nMat,… in getTbillyield() argument
394 sal_Int32 nDiff = GetDiffDate360( xOpt, nSettle, nMat, sal_True ); in getTbillyield()
397 if( fPrice <= 0.0 || nSettle >= nMat || nDiff > 360 ) in getTbillyield()
411 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, in getOddfprice() argument
414 …if( fRate < 0 || fYield < 0 || CHK_Freq || nMat <= nFirstCoup || nFirstCoup <= nSettle || nSettle … in getOddfprice()
417 …double fRet = GetOddfprice( GetNullDate( xOpt ), nSettle, nMat, nIssue, nFirstCoup, fRate, fYield,… in getOddfprice()
423 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, sal_Int32 nFirstCoup, in getOddfyield() argument
426 …if( fRate < 0 || fPrice <= 0 || CHK_Freq || nMat <= nFirstCoup || nFirstCoup <= nSettle || nSettle… in getOddfyield()
429 …double fRet = GetOddfyield( GetNullDate( xOpt ), nSettle, nMat, nIssue, nFirstCoup, fRate, fPrice,… in getOddfyield()
436 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, in getOddlprice() argument
439 if( fRate < 0 || fYield < 0 || CHK_Freq || nMat <= nSettle || nSettle <= nLastInterest ) in getOddlprice()
442 …double fRet = GetOddlprice( GetNullDate( xOpt ), nSettle, nMat, nLastInterest, fRate, fYield, fRed… in getOddlprice()
449 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nLastInterest, in getOddlyield() argument
452 if( fRate < 0 || fPrice <= 0 || CHK_Freq || nMat <= nSettle || nSettle <= nLastInterest ) in getOddlyield()
455 …double fRet = GetOddlyield( GetNullDate( xOpt ), nSettle, nMat, nLastInterest, fRate, fPrice, fRed… in getOddlyield()
613 …sal_Int32 nSettle, sal_Int32 nMat, double fInvest, double fRedemp, const ANY& rOB ) THROWDEF_RTE_I… in getIntrate() argument
615 if( fInvest <= 0.0 || fRedemp <= 0.0 || nSettle >= nMat ) in getIntrate()
618 …double fRet = ( ( fRedemp / fInvest ) - 1.0 ) / GetYearDiff( GetNullDate( xOpt ), nSettle, nMat, g… in getIntrate()
624 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCoupncd() argument
626 double fRet = GetCoupncd( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupncd()
632 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCoupdays() argument
634 … double fRet = GetCoupdays( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdays()
640 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCoupdaysnc() argument
642 …double fRet = GetCoupdaysnc( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdaysnc()
648 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCoupdaybs() argument
650 … double fRet = GetCoupdaybs( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupdaybs()
656 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCouppcd() argument
658 double fRet = GetCouppcd( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCouppcd()
664 sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE in getCoupnum() argument
666 double fRet = GetCoupnum( GetNullDate( xOpt ), nSettle, nMat, nFreq, getDateMode( xOpt, rOB ) ); in getCoupnum()