Lines Matching refs:fRate

32 	double fPer, double fRate, const ANY& rOB ) THROWDEF_RTE_IAE  in getAmordegrc()  argument
34 if( nDate > nFirstPer || fRate <= 0.0 || fRestVal > fCost ) in getAmordegrc()
37 …double fRet = GetAmordegrc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, g… in getAmordegrc()
44 double fPer, double fRate, const ANY& rOB ) THROWDEF_RTE_IAE in getAmorlinc() argument
46 if( nDate > nFirstPer || fRate <= 0.0 || fRestVal > fCost ) in getAmorlinc()
49 …double fRet = GetAmorlinc( GetNullDate( xOpt ), fCost, nDate, nFirstPer, fRestVal, fPer, fRate, ge… in getAmorlinc()
55 sal_Int32 nIssue, sal_Int32 /*nFirstInter*/, sal_Int32 nSettle, double fRate, in getAccrint() argument
60 if( fRate <= 0.0 || fVal <= 0.0 || CHK_Freq || nIssue >= nSettle ) in getAccrint()
63 …double fRet = fVal * fRate * GetYearDiff( GetNullDate( xOpt ), nIssue, nSettle, getDateMode( xOpt,… in getAccrint()
69 …sal_Int32 nIssue, sal_Int32 nSettle, double fRate, const ANY& rVal, const ANY& rOB ) THROWDEF_RTE_… in getAccrintm() argument
73 if( fRate <= 0.0 || fVal <= 0.0 || nIssue >= nSettle ) in getAccrintm()
76 …double fRet = fVal * fRate * GetYearDiff( GetNullDate( xOpt ), nIssue, nSettle, getDateMode( xOpt,… in getAccrintm()
126 double SAL_CALL AnalysisAddIn::getCumprinc( double fRate, sal_Int32 nNumPeriods, double fVal, in getCumprinc() argument
131 …if( nStartPer < 1 || nEndPer < nStartPer || fRate <= 0.0 || nEndPer > nNumPeriods || nNumPeriods … in getCumprinc()
135 fRmz = GetRmz( fRate, nNumPeriods, fVal, 0.0, nPayType ); in getCumprinc()
145 fKapZ = fRmz + fVal * fRate; in getCumprinc()
155 fKapZ += fRmz - ( GetZw( fRate, double( i - 2 ), fRmz, fVal, 1 ) - fRmz ) * fRate; in getCumprinc()
157 fKapZ += fRmz - GetZw( fRate, double( i - 1 ), fRmz, fVal, 0 ) * fRate; in getCumprinc()
164 double SAL_CALL AnalysisAddIn::getCumipmt( double fRate, sal_Int32 nNumPeriods, double fVal, in getCumipmt() argument
169 …if( nStartPer < 1 || nEndPer < nStartPer || fRate <= 0.0 || nEndPer > nNumPeriods || nNumPeriods … in getCumipmt()
173 fRmz = GetRmz( fRate, nNumPeriods, fVal, 0.0, nPayType ); in getCumipmt()
191 fZinsZ += GetZw( fRate, double( i - 2 ), fRmz, fVal, 1 ) - fRmz; in getCumipmt()
193 fZinsZ += GetZw( fRate, double( i - 1 ), fRmz, fVal, 0 ); in getCumipmt()
196 fZinsZ *= fRate; in getCumipmt()
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()
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()
239 double fRet = 1.0 + fIssMat * fRate; in getPricemat()
241 fRet -= fIssSet * fRate; in getPricemat()
261 double SAL_CALL AnalysisAddIn::getNominal( double fRate, sal_Int32 nPeriods ) THROWDEF_RTE_IAE in getNominal() argument
263 if( fRate <= 0.0 || nPeriods < 0 ) in getNominal()
267 double fRet = ( pow( fRate + 1.0, 1.0 / fPeriods ) - 1.0 ) * fPeriods; in getNominal()
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()
412 double fRate, double fYield, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE 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()
424 double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE 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()
437 double fRate, double fYield, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE 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()
450 double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, const ANY& rOB ) THROWDEF_RTE_IAE 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()
468 double lcl_sca_XirrResult( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) in lcl_sca_XirrResult() argument
482 double r = fRate + 1.0; in lcl_sca_XirrResult()
490 …cl_sca_XirrResult_Deriv1( const ScaDoubleList& rValues, const ScaDoubleList& rDates, double fRate ) in lcl_sca_XirrResult_Deriv1() argument
508 double r = fRate + 1.0; in lcl_sca_XirrResult_Deriv1()
568 double fRate, const SEQSEQ( double )& rValues, const SEQSEQ( sal_Int32 )& rDates ) THROWDEF_RTE_IAE in getXnpv() argument
583 fRate++; in getXnpv()
586 fRet += *aValList.Get( i ) / ( pow( fRate, ( *aDateList.Get( i ) - fNull ) / 365.0 ) ); in getXnpv()