Kaydet (Commit) 62cd0770 authored tarafından Luboš Luňák's avatar Luboš Luňák

formatting fixes

Change-Id: Ie8ceead5cba72abf32e57e214e677dbf478941d4
üst 3448ffae
...@@ -206,8 +206,7 @@ private: ...@@ -206,8 +206,7 @@ private:
ScFormulaCell* pMyFormulaCell; // the cell of this formula expression ScFormulaCell* pMyFormulaCell; // the cell of this formula expression
SvNumberFormatter* pFormatter; SvNumberFormatter* pFormatter;
const formula::FormulaToken* const formula::FormulaToken* pCur; // current token
pCur; // current token
ScTokenStack* pStackObj; // contains the stacks ScTokenStack* pStackObj; // contains the stacks
const formula::FormulaToken ** pStack; // the current stack const formula::FormulaToken ** pStack; // the current stack
FormulaError nGlobalError; // global (local to this formula expression) error FormulaError nGlobalError; // global (local to this formula expression) error
...@@ -248,12 +247,12 @@ private: ...@@ -248,12 +247,12 @@ private:
bool IsTableOpInRange( const ScRange& ); bool IsTableOpInRange( const ScRange& );
sal_uInt32 GetCellNumberFormat( const ScAddress& rPos, ScRefCellValue& rCell ); sal_uInt32 GetCellNumberFormat( const ScAddress& rPos, ScRefCellValue& rCell );
double ConvertStringToValue( const OUString& ); double ConvertStringToValue( const OUString& );
public: public:
static double ScGetGCD(double fx, double fy); static double ScGetGCD(double fx, double fy);
/** For matrix back calls into the current interpreter. /** For matrix back calls into the current interpreter.
Uses rError instead of nGlobalError and rCurFmtType instead of nCurFmtType. */ Uses rError instead of nGlobalError and rCurFmtType instead of nCurFmtType. */
double ConvertStringToValue( const OUString&, FormulaError& rError, SvNumFormatType& rCurFmtType ); double ConvertStringToValue( const OUString&, FormulaError& rError, SvNumFormatType& rCurFmtType );
private: private:
double GetCellValue( const ScAddress&, ScRefCellValue& rCell ); double GetCellValue( const ScAddress&, ScRefCellValue& rCell );
double GetCellValueOrZero( const ScAddress&, ScRefCellValue& rCell ); double GetCellValueOrZero( const ScAddress&, ScRefCellValue& rCell );
double GetValueCellValue( const ScAddress&, double fOrig ); double GetValueCellValue( const ScAddress&, double fOrig );
...@@ -864,14 +863,14 @@ private: ...@@ -864,14 +863,14 @@ private:
static double taylor(const double* pPolynom, sal_uInt16 nMax, double x); static double taylor(const double* pPolynom, sal_uInt16 nMax, double x);
static double gauss(double x); static double gauss(double x);
public: public:
static SC_DLLPUBLIC double phi(double x); static SC_DLLPUBLIC double phi(double x);
static SC_DLLPUBLIC double integralPhi(double x); static SC_DLLPUBLIC double integralPhi(double x);
static SC_DLLPUBLIC double gaussinv(double x); static SC_DLLPUBLIC double gaussinv(double x);
static SC_DLLPUBLIC double GetPercentile( ::std::vector<double> & rArray, double fPercentile ); static SC_DLLPUBLIC double GetPercentile( ::std::vector<double> & rArray, double fPercentile );
private: private:
double GetBetaDist(double x, double alpha, double beta); //cumulative distribution function double GetBetaDist(double x, double alpha, double beta); //cumulative distribution function
double GetBetaDistPDF(double fX, double fA, double fB); //probability density function) double GetBetaDistPDF(double fX, double fA, double fB); //probability density function)
double GetChiDist(double fChi, double fDF); // for LEGACY.CHIDIST, returns right tail double GetChiDist(double fChi, double fDF); // for LEGACY.CHIDIST, returns right tail
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment