diff options
Diffstat (limited to 'scaddins/source/analysis')
-rw-r--r-- | scaddins/source/analysis/analysis.hxx | 2 | ||||
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 18 | ||||
-rw-r--r-- | scaddins/source/analysis/bessel.cxx | 18 | ||||
-rw-r--r-- | scaddins/source/analysis/bessel.hxx | 6 | ||||
-rw-r--r-- | scaddins/source/analysis/financial.cxx | 4 |
5 files changed, 24 insertions, 24 deletions
diff --git a/scaddins/source/analysis/analysis.hxx b/scaddins/source/analysis/analysis.hxx index 0f781b335962..7fa1ef3e23a1 100644 --- a/scaddins/source/analysis/analysis.hxx +++ b/scaddins/source/analysis/analysis.hxx @@ -234,7 +234,7 @@ public: virtual double SAL_CALL getFvschedule( double fPrinc, const css::uno::Sequence< css::uno::Sequence< double > >& rSchedule ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException ); }; -//------------------------------------------------------------------ + #endif diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index f5658201b453..bec214bf2705 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -144,7 +144,7 @@ double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int -//----------------------------------------------------------------------------- + @@ -254,7 +254,7 @@ public: -//----------------------------------------------------------------------------- + /// sorted list with unique sal_Int32 values class SortedIndividualInt32List @@ -300,7 +300,7 @@ public: }; -//----------------------------------------------------------------------------- + class ScaDoubleList { @@ -359,7 +359,7 @@ public: }; -//----------------------------------------------------------------------------- + /// stores double values >0.0, throws exception for double values <0.0, does nothing for 0.0 class ScaDoubleListGT0 : public ScaDoubleList @@ -370,7 +370,7 @@ public: }; -//----------------------------------------------------------------------------- + /// stores double values >=0.0, throws exception for double values <0.0 class ScaDoubleListGE0 : public ScaDoubleList @@ -381,7 +381,7 @@ public: }; -//----------------------------------------------------------------------------- + class Complex { @@ -744,7 +744,7 @@ inline ConvertDataLinear::ConvertDataLinear( const sal_Char* p, double fC, doubl -//----------------------------------------------------------------------------- + /// Helper class for date calculation for various financial functions class ScaDate @@ -836,7 +836,7 @@ inline void ScaDate::addYears( sal_Int32 nYearCount ) throw( css::lang::IllegalA } -//----------------------------------------------------------------------------- + /// Helper class for Any->double conversion, using current language settings class ScaAnyConverter @@ -924,7 +924,7 @@ public: }; -//----------------------------------------------------------------------------- + #endif diff --git a/scaddins/source/analysis/bessel.cxx b/scaddins/source/analysis/bessel.cxx index 9aa720e77a07..3e1ac2747220 100644 --- a/scaddins/source/analysis/bessel.cxx +++ b/scaddins/source/analysis/bessel.cxx @@ -28,16 +28,16 @@ using ::com::sun::star::sheet::NoConvergenceException; namespace sca { namespace analysis { -// ============================================================================ + const double f_PI = 3.1415926535897932385; const double f_PI_DIV_2 = f_PI / 2.0; const double f_PI_DIV_4 = f_PI / 4.0; const double f_2_DIV_PI = 2.0 / f_PI; -// ============================================================================ + // BESSEL J -// ============================================================================ + /* The BESSEL function, first kind, unmodified: The algorithm follows @@ -158,9 +158,9 @@ double BesselJ( double x, sal_Int32 N ) throw (IllegalArgumentException, NoConve throw NoConvergenceException(); // unlikely to happen } -// ============================================================================ + // BESSEL I -// ============================================================================ + /* The BESSEL function, first kind, modified: @@ -229,7 +229,7 @@ double BesselI( double x, sal_Int32 n ) throw( IllegalArgumentException, NoConve } -// ============================================================================ + double Besselk0( double fNum ) throw( IllegalArgumentException, NoConvergenceException ) { @@ -310,9 +310,9 @@ double BesselK( double fNum, sal_Int32 nOrder ) throw( IllegalArgumentException, } } -// ============================================================================ + // BESSEL Y -// ============================================================================ + /* The BESSEL function, second kind, unmodified: The algorithm for order 0 and for order 1 follows @@ -464,7 +464,7 @@ double BesselY( double fNum, sal_Int32 nOrder ) throw( IllegalArgumentException, } } -// ============================================================================ + } // namespace analysis } // namespace sca diff --git a/scaddins/source/analysis/bessel.hxx b/scaddins/source/analysis/bessel.hxx index 5eaba0916d46..d4a04925c78f 100644 --- a/scaddins/source/analysis/bessel.hxx +++ b/scaddins/source/analysis/bessel.hxx @@ -27,9 +27,9 @@ namespace sca { namespace analysis { -// ============================================================================ + // BESSEL functions -// ============================================================================ + /** Returns the result for the unmodified BESSEL function of first kind (J), n-th order, at point x. */ double BesselJ( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); @@ -43,7 +43,7 @@ double BesselY( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalAr /** Returns the result for the modified BESSEL function of second kind (K), n-th order, at point x. */ double BesselK( double x, sal_Int32 n ) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::sheet::NoConvergenceException ); -// ============================================================================ + } // namespace analysis } // namespace sca diff --git a/scaddins/source/analysis/financial.cxx b/scaddins/source/analysis/financial.cxx index d518667a3dba..cfbe7ee5895f 100644 --- a/scaddins/source/analysis/financial.cxx +++ b/scaddins/source/analysis/financial.cxx @@ -458,7 +458,7 @@ double SAL_CALL AnalysisAddIn::getOddlyield( const css::uno::Reference< css::bea } -// ============================================================================ + // XIRR helper functions #define V_(i) (rValues.Get(i)) @@ -562,7 +562,7 @@ double SAL_CALL AnalysisAddIn::getXirr( } -// ============================================================================ + double SAL_CALL AnalysisAddIn::getXnpv( double fRate, const css::uno::Sequence< css::uno::Sequence< double > >& rValues, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > >& rDates ) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException ) |