LibreOffice Module sc (master)  1
interpr5.cxx File Reference
#include <rtl/math.hxx>
#include <string.h>
#include <math.h>
#include <unotools/bootstrap.hxx>
#include <svl/zforlist.hxx>
#include <interpre.hxx>
#include <global.hxx>
#include <formulacell.hxx>
#include <document.hxx>
#include <dociter.hxx>
#include <scmatrix.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <cellkeytranslator.hxx>
#include <formulagroup.hxx>
#include <vector>
Include dependency graph for interpr5.cxx:

Go to the source code of this file.


static int lcl_LUP_decompose (ScMatrix *mA, const SCSIZE n,::std::vector< SCSIZE > &P)
static void lcl_LUP_solve (const ScMatrix *mLU, const SCSIZE n, const ::std::vector< SCSIZE > &P, const ::std::vector< double > &B,::std::vector< double > &X)
static SCSIZE lcl_GetMinExtent (SCSIZE n1, SCSIZE n2)
 Minimum extent of one result matrix dimension. More...
template<class Function >
static ScMatrixRef lcl_MatrixCalculation (const ScMatrix &rMat1, const ScMatrix &rMat2, ScInterpreter *pInterpreter)
static void lcl_GetDiffDateTimeFmtType (SvNumFormatType &nFuncFmt, SvNumFormatType nFmt1, SvNumFormatType nFmt2)

Function Documentation

static void lcl_GetDiffDateTimeFmtType ( SvNumFormatType nFuncFmt,
SvNumFormatType  nFmt1,
SvNumFormatType  nFmt2 

Definition at line 1230 of file interpr5.cxx.

Referenced by ScInterpreter::CalculateAddSub().

static SCSIZE lcl_GetMinExtent ( SCSIZE  n1,

Minimum extent of one result matrix dimension.

For a row or column vector to be replicated the larger matrix dimension is returned, else the smaller dimension.

Definition at line 1138 of file interpr5.cxx.

Referenced by lcl_MatrixCalculation(), and ScInterpreter::MatConcat().

static int lcl_LUP_decompose ( ScMatrix mA,
const SCSIZE  n,
::std::vector< SCSIZE > &  P 

Definition at line 762 of file interpr5.cxx.

References ScMatrix::GetDouble(), i, and ScMatrix::PutDouble().

Referenced by ScInterpreter::ScMatDet(), and ScInterpreter::ScMatInv().

static void lcl_LUP_solve ( const ScMatrix mLU,
const SCSIZE  n,
const ::std::vector< SCSIZE > &  P,
const ::std::vector< double > &  B,
::std::vector< double > &  X 

Definition at line 863 of file interpr5.cxx.

References ScMatrix::GetDouble(), i, and SCSIZE_MAX.

Referenced by ScInterpreter::ScMatInv().

template<class Function >
static ScMatrixRef lcl_MatrixCalculation ( const ScMatrix rMat1,
const ScMatrix rMat2,
ScInterpreter pInterpreter