LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScMatrixImpl Class Reference
Collaboration diagram for ScMatrixImpl:
[legend]

Public Member Functions

 ScMatrixImpl (const ScMatrixImpl &)=delete
 
const ScMatrixImploperator= (const ScMatrixImpl &)=delete
 
 ScMatrixImpl (SCSIZE nC, SCSIZE nR)
 
 ScMatrixImpl (SCSIZE nC, SCSIZE nR, double fInitVal)
 
 ScMatrixImpl (size_t nC, size_t nR, const std::vector< double > &rInitVals)
 
 ~ScMatrixImpl ()
 
void Clear ()
 
void Resize (SCSIZE nC, SCSIZE nR)
 
void Resize (SCSIZE nC, SCSIZE nR, double fVal)
 
void SetErrorInterpreter (ScInterpreter *p)
 
ScInterpreterGetErrorInterpreter () const
 
void GetDimensions (SCSIZE &rC, SCSIZE &rR) const
 
SCSIZE GetElementCount () const
 
bool ValidColRow (SCSIZE nC, SCSIZE nR) const
 
bool ValidColRowReplicated (SCSIZE &rC, SCSIZE &rR) const
 
bool ValidColRowOrReplicated (SCSIZE &rC, SCSIZE &rR) const
 
void SetErrorAtInterpreter (FormulaError nError) const
 
void PutDouble (double fVal, SCSIZE nC, SCSIZE nR)
 
void PutDouble (double fVal, SCSIZE nIndex)
 
void PutDouble (const double *pArray, size_t nLen, SCSIZE nC, SCSIZE nR)
 
void PutString (const svl::SharedString &rStr, SCSIZE nC, SCSIZE nR)
 
void PutString (const svl::SharedString &rStr, SCSIZE nIndex)
 
void PutString (const svl::SharedString *pArray, size_t nLen, SCSIZE nC, SCSIZE nR)
 
void PutEmpty (SCSIZE nC, SCSIZE nR)
 
void PutEmptyPath (SCSIZE nC, SCSIZE nR)
 
void PutError (FormulaError nErrorCode, SCSIZE nC, SCSIZE nR)
 
void PutBoolean (bool bVal, SCSIZE nC, SCSIZE nR)
 
FormulaError GetError (SCSIZE nC, SCSIZE nR) const
 
double GetDouble (SCSIZE nC, SCSIZE nR) const
 
double GetDouble (SCSIZE nIndex) const
 
double GetDoubleWithStringConversion (SCSIZE nC, SCSIZE nR) const
 
svl::SharedString GetString (SCSIZE nC, SCSIZE nR) const
 
svl::SharedString GetString (SCSIZE nIndex) const
 
svl::SharedString GetString (SvNumberFormatter &rFormatter, SCSIZE nC, SCSIZE nR) const
 
ScMatrixValue Get (SCSIZE nC, SCSIZE nR) const
 
bool IsStringOrEmpty (SCSIZE nIndex) const
 
bool IsStringOrEmpty (SCSIZE nC, SCSIZE nR) const
 
bool IsEmpty (SCSIZE nC, SCSIZE nR) const
 
bool IsEmptyCell (SCSIZE nC, SCSIZE nR) const
 
bool IsEmptyResult (SCSIZE nC, SCSIZE nR) const
 
bool IsEmptyPath (SCSIZE nC, SCSIZE nR) const
 
bool IsValue (SCSIZE nIndex) const
 
bool IsValue (SCSIZE nC, SCSIZE nR) const
 
bool IsValueOrEmpty (SCSIZE nC, SCSIZE nR) const
 
bool IsBoolean (SCSIZE nC, SCSIZE nR) const
 
bool IsNumeric () const
 
void MatCopy (ScMatrixImpl &mRes) const
 
void MatTrans (ScMatrixImpl &mRes) const
 
void FillDouble (double fVal, SCSIZE nC1, SCSIZE nR1, SCSIZE nC2, SCSIZE nR2)
 
void PutDoubleVector (const ::std::vector< double > &rVec, SCSIZE nC, SCSIZE nR)
 
void PutStringVector (const ::std::vector< svl::SharedString > &rVec, SCSIZE nC, SCSIZE nR)
 
void PutEmptyVector (SCSIZE nCount, SCSIZE nC, SCSIZE nR)
 
void PutEmptyResultVector (SCSIZE nCount, SCSIZE nC, SCSIZE nR)
 
void PutEmptyPathVector (SCSIZE nCount, SCSIZE nC, SCSIZE nR)
 
void CompareEqual ()
 
void CompareNotEqual ()
 
void CompareLess ()
 
void CompareGreater ()
 
void CompareLessEqual ()
 
void CompareGreaterEqual ()
 
double And () const
 
double Or () const
 
double Xor () const
 
ScMatrix::KahanIterateResult Sum (bool bTextAsZero, bool bIgnoreErrorValues) const
 
ScMatrix::KahanIterateResult SumSquare (bool bTextAsZero, bool bIgnoreErrorValues) const
 
ScMatrix::DoubleIterateResult Product (bool bTextAsZero, bool bIgnoreErrorValues) const
 
size_t Count (bool bCountStrings, bool bCountErrors, bool bIgnoreEmptyStrings) const
 
size_t MatchDoubleInColumns (double fValue, size_t nCol1, size_t nCol2) const
 
size_t MatchStringInColumns (const svl::SharedString &rStr, size_t nCol1, size_t nCol2) const
 
double GetMaxValue (bool bTextAsZero, bool bIgnoreErrorValues) const
 
double GetMinValue (bool bTextAsZero, bool bIgnoreErrorValues) const
 
double GetGcd () const
 
double GetLcm () const
 
ScMatrixRef CompareMatrix (sc::Compare &rComp, size_t nMatPos, sc::CompareOptions *pOptions) const
 
void GetDoubleArray (std::vector< double > &rArray, bool bEmptyAsZero) const
 
void MergeDoubleArrayMultiply (std::vector< double > &rArray) const
 
template<typename T >
void ApplyOperation (T aOp, ScMatrixImpl &rMat)
 
void ExecuteOperation (const std::pair< size_t, size_t > &rStartPos, const std::pair< size_t, size_t > &rEndPos, const ScMatrix::DoubleOpFunction &aDoubleFunc, const ScMatrix::BoolOpFunction &aBoolFunc, const ScMatrix::StringOpFunction &aStringFunc, const ScMatrix::EmptyOpFunction &aEmptyFunc) const
 
template<typename T , typename tRes >
ScMatrix::IterateResultMultiple< tRes > ApplyCollectOperation (const std::vector< T > &aOp)
 
void MatConcat (SCSIZE nMaxCol, SCSIZE nMaxRow, const ScMatrixRef &xMat1, const ScMatrixRef &xMat2, SvNumberFormatter &rFormatter, svl::SharedStringPool &rPool)
 
void ExecuteBinaryOp (SCSIZE nMaxCol, SCSIZE nMaxRow, const ScMatrix &rInputMat1, const ScMatrix &rInputMat2, ScInterpreter *pInterpreter, ScMatrix::CalculateOpFunction op)
 
bool IsValueOrEmpty (const MatrixImplType::const_position_type &rPos) const
 
double GetDouble (const MatrixImplType::const_position_type &rPos) const
 
FormulaError GetErrorIfNotString (const MatrixImplType::const_position_type &rPos) const
 
bool IsValue (const MatrixImplType::const_position_type &rPos) const
 
FormulaError GetError (const MatrixImplType::const_position_type &rPos) const
 
bool IsStringOrEmpty (const MatrixImplType::const_position_type &rPos) const
 
svl::SharedString GetString (const MatrixImplType::const_position_type &rPos) const
 

Private Member Functions

void CalcPosition (SCSIZE nIndex, SCSIZE &rC, SCSIZE &rR) const
 

Private Attributes

MatrixImplType maMat
 
MatrixFlagImplType maMatFlag
 
ScInterpreterpErrorInterpreter
 

Detailed Description

Definition at line 231 of file scmatrix.cxx.

Constructor & Destructor Documentation

◆ ScMatrixImpl() [1/4]

ScMatrixImpl::ScMatrixImpl ( const ScMatrixImpl )
delete

◆ ScMatrixImpl() [2/4]

ScMatrixImpl::ScMatrixImpl ( SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 390 of file scmatrix.cxx.

References GetElementCount(), and nElementsMax.

◆ ScMatrixImpl() [3/4]

ScMatrixImpl::ScMatrixImpl ( SCSIZE  nC,
SCSIZE  nR,
double  fInitVal 
)

Definition at line 396 of file scmatrix.cxx.

References GetElementCount(), and nElementsMax.

◆ ScMatrixImpl() [4/4]

ScMatrixImpl::ScMatrixImpl ( size_t  nC,
size_t  nR,
const std::vector< double > &  rInitVals 
)

Definition at line 402 of file scmatrix.cxx.

References begin, end, GetElementCount(), and nElementsMax.

◆ ~ScMatrixImpl()

ScMatrixImpl::~ScMatrixImpl ( )

Definition at line 408 of file scmatrix.cxx.

References Clear(), GetElementCount(), nElementsMax, and suppress_fun_call_w_exception.

Member Function Documentation

◆ And()

double ScMatrixImpl::And ( ) const

Definition at line 1122 of file scmatrix.cxx.

References maMat.

◆ ApplyCollectOperation()

template<typename T , typename tRes >
ScMatrix::IterateResultMultiple< tRes > ScMatrixImpl::ApplyCollectOperation ( const std::vector< T > &  aOp)

Definition at line 2434 of file scmatrix.cxx.

References maMat.

◆ ApplyOperation()

template<typename T >
void ScMatrixImpl::ApplyOperation ( aOp,
ScMatrixImpl rMat 
)

Definition at line 2427 of file scmatrix.cxx.

References maMat.

◆ CalcPosition()

void ScMatrixImpl::CalcPosition ( SCSIZE  nIndex,
SCSIZE rC,
SCSIZE rR 
) const
private

Definition at line 2629 of file scmatrix.cxx.

References maMat, nIndex, and SAL_WARN_IF.

Referenced by GetDouble(), GetString(), IsStringOrEmpty(), IsValue(), PutDouble(), and PutString().

◆ Clear()

void ScMatrixImpl::Clear ( )

Definition at line 414 of file scmatrix.cxx.

References maMat, maMatFlag, and suppress_fun_call_w_exception.

Referenced by ~ScMatrixImpl().

◆ CompareEqual()

void ScMatrixImpl::CompareEqual ( )

Definition at line 1018 of file scmatrix.cxx.

References maMat.

◆ CompareGreater()

void ScMatrixImpl::CompareGreater ( )

Definition at line 1042 of file scmatrix.cxx.

References maMat.

◆ CompareGreaterEqual()

void ScMatrixImpl::CompareGreaterEqual ( )

Definition at line 1058 of file scmatrix.cxx.

References maMat.

◆ CompareLess()

void ScMatrixImpl::CompareLess ( )

Definition at line 1034 of file scmatrix.cxx.

References maMat.

◆ CompareLessEqual()

void ScMatrixImpl::CompareLessEqual ( )

Definition at line 1050 of file scmatrix.cxx.

References maMat.

◆ CompareMatrix()

ScMatrixRef ScMatrixImpl::CompareMatrix ( sc::Compare rComp,
size_t  nMatPos,
sc::CompareOptions pOptions 
) const

◆ CompareNotEqual()

void ScMatrixImpl::CompareNotEqual ( )

Definition at line 1026 of file scmatrix.cxx.

References maMat.

◆ Count()

size_t ScMatrixImpl::Count ( bool  bCountStrings,
bool  bCountErrors,
bool  bIgnoreEmptyStrings 
) const

Definition at line 2116 of file scmatrix.cxx.

References maMat.

◆ ExecuteBinaryOp()

void ScMatrixImpl::ExecuteBinaryOp ( SCSIZE  nMaxCol,
SCSIZE  nMaxRow,
const ScMatrix rInputMat1,
const ScMatrix rInputMat2,
ScInterpreter pInterpreter,
ScMatrix::CalculateOpFunction  op 
)

◆ ExecuteOperation()

void ScMatrixImpl::ExecuteOperation ( const std::pair< size_t, size_t > &  rStartPos,
const std::pair< size_t, size_t > &  rEndPos,
const ScMatrix::DoubleOpFunction aDoubleFunc,
const ScMatrix::BoolOpFunction aBoolFunc,
const ScMatrix::StringOpFunction aStringFunc,
const ScMatrix::EmptyOpFunction aEmptyFunc 
) const

Definition at line 2580 of file scmatrix.cxx.

References maMat.

◆ FillDouble()

void ScMatrixImpl::FillDouble ( double  fVal,
SCSIZE  nC1,
SCSIZE  nR1,
SCSIZE  nC2,
SCSIZE  nR2 
)

Definition at line 933 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ Get()

ScMatrixValue ScMatrixImpl::Get ( SCSIZE  nC,
SCSIZE  nR 
) const

◆ GetDimensions()

void ScMatrixImpl::GetDimensions ( SCSIZE rC,
SCSIZE rR 
) const

Definition at line 459 of file scmatrix.cxx.

References maMat.

◆ GetDouble() [1/3]

double ScMatrixImpl::GetDouble ( const MatrixImplType::const_position_type &  rPos) const

◆ GetDouble() [2/3]

double ScMatrixImpl::GetDouble ( SCSIZE  nC,
SCSIZE  nR 
) const

◆ GetDouble() [3/3]

double ScMatrixImpl::GetDouble ( SCSIZE  nIndex) const

Definition at line 642 of file scmatrix.cxx.

References CalcPosition(), GetDouble(), and nIndex.

◆ GetDoubleArray()

void ScMatrixImpl::GetDoubleArray ( std::vector< double > &  rArray,
bool  bEmptyAsZero 
) const

Definition at line 2202 of file scmatrix.cxx.

References maMat.

◆ GetDoubleWithStringConversion()

double ScMatrixImpl::GetDoubleWithStringConversion ( SCSIZE  nC,
SCSIZE  nR 
) const

◆ GetElementCount()

SCSIZE ScMatrixImpl::GetElementCount ( ) const

Definition at line 466 of file scmatrix.cxx.

References maMat.

Referenced by Resize(), ScMatrixImpl(), and ~ScMatrixImpl().

◆ GetError() [1/2]

FormulaError ScMatrixImpl::GetError ( const MatrixImplType::const_position_type &  rPos) const

Definition at line 2866 of file scmatrix.cxx.

References GetDoubleErrorValue(), and maMat.

◆ GetError() [2/2]

FormulaError ScMatrixImpl::GetError ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 608 of file scmatrix.cxx.

References GetDoubleErrorValue(), maMat, and ValidColRowOrReplicated().

Referenced by GetErrorIfNotString().

◆ GetErrorIfNotString()

FormulaError ScMatrixImpl::GetErrorIfNotString ( const MatrixImplType::const_position_type &  rPos) const

Definition at line 2850 of file scmatrix.cxx.

References GetError(), and IsValue().

◆ GetErrorInterpreter()

ScInterpreter * ScMatrixImpl::GetErrorInterpreter ( ) const
inline

Definition at line 252 of file scmatrix.cxx.

References pErrorInterpreter.

◆ GetGcd()

double ScMatrixImpl::GetGcd ( ) const

Definition at line 2151 of file scmatrix.cxx.

References maMat.

◆ GetLcm()

double ScMatrixImpl::GetLcm ( ) const

Definition at line 2158 of file scmatrix.cxx.

References maMat.

◆ GetMaxValue()

double ScMatrixImpl::GetMaxValue ( bool  bTextAsZero,
bool  bIgnoreErrorValues 
) const

Definition at line 2137 of file scmatrix.cxx.

References maMat.

◆ GetMinValue()

double ScMatrixImpl::GetMinValue ( bool  bTextAsZero,
bool  bIgnoreErrorValues 
) const

Definition at line 2144 of file scmatrix.cxx.

References maMat.

◆ GetString() [1/4]

svl::SharedString ScMatrixImpl::GetString ( const MatrixImplType::const_position_type &  rPos) const

◆ GetString() [2/4]

svl::SharedString ScMatrixImpl::GetString ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 657 of file scmatrix.cxx.

References svl::SharedString::getEmptyString(), GetString(), maMat, and ValidColRowOrReplicated().

Referenced by GetString().

◆ GetString() [3/4]

svl::SharedString ScMatrixImpl::GetString ( SCSIZE  nIndex) const

Definition at line 690 of file scmatrix.cxx.

References CalcPosition(), GetString(), and nIndex.

◆ GetString() [4/4]

svl::SharedString ScMatrixImpl::GetString ( SvNumberFormatter rFormatter,
SCSIZE  nC,
SCSIZE  nR 
) const

◆ IsBoolean()

bool ScMatrixImpl::IsBoolean ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 902 of file scmatrix.cxx.

References maMat, and ValidColRowOrReplicated().

◆ IsEmpty()

bool ScMatrixImpl::IsEmpty ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 819 of file scmatrix.cxx.

References maMat, maMatFlag, SC_MATFLAG_EMPTYPATH, and ValidColRowOrReplicated().

◆ IsEmptyCell()

bool ScMatrixImpl::IsEmptyCell ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 830 of file scmatrix.cxx.

References maMat, maMatFlag, and ValidColRowOrReplicated().

◆ IsEmptyPath()

bool ScMatrixImpl::IsEmptyPath ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 852 of file scmatrix.cxx.

References maMat, maMatFlag, SC_MATFLAG_EMPTYPATH, and ValidColRowOrReplicated().

◆ IsEmptyResult()

bool ScMatrixImpl::IsEmptyResult ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 841 of file scmatrix.cxx.

References maMat, maMatFlag, SC_MATFLAG_EMPTYRESULT, and ValidColRowOrReplicated().

◆ IsNumeric()

bool ScMatrixImpl::IsNumeric ( ) const

Definition at line 910 of file scmatrix.cxx.

References maMat.

◆ IsStringOrEmpty() [1/3]

bool ScMatrixImpl::IsStringOrEmpty ( const MatrixImplType::const_position_type &  rPos) const

Definition at line 2872 of file scmatrix.cxx.

References maMat.

◆ IsStringOrEmpty() [2/3]

bool ScMatrixImpl::IsStringOrEmpty ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 803 of file scmatrix.cxx.

References maMat, and ValidColRowOrReplicated().

◆ IsStringOrEmpty() [3/3]

bool ScMatrixImpl::IsStringOrEmpty ( SCSIZE  nIndex) const

Definition at line 796 of file scmatrix.cxx.

References CalcPosition(), IsStringOrEmpty(), and nIndex.

Referenced by IsStringOrEmpty().

◆ IsValue() [1/3]

bool ScMatrixImpl::IsValue ( const MatrixImplType::const_position_type &  rPos) const

Definition at line 2853 of file scmatrix.cxx.

References maMat.

◆ IsValue() [2/3]

bool ScMatrixImpl::IsValue ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 869 of file scmatrix.cxx.

References maMat, and ValidColRowOrReplicated().

◆ IsValue() [3/3]

bool ScMatrixImpl::IsValue ( SCSIZE  nIndex) const

Definition at line 862 of file scmatrix.cxx.

References CalcPosition(), IsValue(), and nIndex.

Referenced by GetErrorIfNotString(), and IsValue().

◆ IsValueOrEmpty() [1/2]

bool ScMatrixImpl::IsValueOrEmpty ( const MatrixImplType::const_position_type &  rPos) const

Definition at line 2824 of file scmatrix.cxx.

References maMat.

◆ IsValueOrEmpty() [2/2]

bool ScMatrixImpl::IsValueOrEmpty ( SCSIZE  nC,
SCSIZE  nR 
) const

Definition at line 885 of file scmatrix.cxx.

References maMat, and ValidColRowOrReplicated().

◆ MatchDoubleInColumns()

size_t ScMatrixImpl::MatchDoubleInColumns ( double  fValue,
size_t  nCol1,
size_t  nCol2 
) const

Definition at line 2123 of file scmatrix.cxx.

References maMat.

◆ MatchStringInColumns()

size_t ScMatrixImpl::MatchStringInColumns ( const svl::SharedString rStr,
size_t  nCol1,
size_t  nCol2 
) const

Definition at line 2130 of file scmatrix.cxx.

References maMat.

◆ MatConcat()

void ScMatrixImpl::MatConcat ( SCSIZE  nMaxCol,
SCSIZE  nMaxRow,
const ScMatrixRef xMat1,
const ScMatrixRef xMat2,
SvNumberFormatter rFormatter,
svl::SharedStringPool rPool 
)

◆ MatCopy()

void ScMatrixImpl::MatCopy ( ScMatrixImpl mRes) const

Definition at line 915 of file scmatrix.cxx.

References maMat.

◆ MatTrans()

void ScMatrixImpl::MatTrans ( ScMatrixImpl mRes) const

Definition at line 927 of file scmatrix.cxx.

References maMat.

◆ MergeDoubleArrayMultiply()

void ScMatrixImpl::MergeDoubleArrayMultiply ( std::vector< double > &  rArray) const

Definition at line 2210 of file scmatrix.cxx.

References maMat.

◆ operator=()

const ScMatrixImpl & ScMatrixImpl::operator= ( const ScMatrixImpl )
delete

◆ Or()

double ScMatrixImpl::Or ( ) const

Definition at line 1129 of file scmatrix.cxx.

References maMat.

◆ Product()

ScMatrix::DoubleIterateResult ScMatrixImpl::Product ( bool  bTextAsZero,
bool  bIgnoreErrorValues 
) const

Definition at line 2111 of file scmatrix.cxx.

References maMat.

◆ PutBoolean()

void ScMatrixImpl::PutBoolean ( bool  bVal,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 598 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ PutDouble() [1/3]

void ScMatrixImpl::PutDouble ( const double *  pArray,
size_t  nLen,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 523 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ PutDouble() [2/3]

void ScMatrixImpl::PutDouble ( double  fVal,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 513 of file scmatrix.cxx.

References maMat, and ValidColRow().

Referenced by PutDouble().

◆ PutDouble() [3/3]

void ScMatrixImpl::PutDouble ( double  fVal,
SCSIZE  nIndex 
)

Definition at line 533 of file scmatrix.cxx.

References CalcPosition(), nIndex, and PutDouble().

◆ PutDoubleVector()

void ScMatrixImpl::PutDoubleVector ( const ::std::vector< double > &  rVec,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 950 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ PutEmpty()

void ScMatrixImpl::PutEmpty ( SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 567 of file scmatrix.cxx.

References maMat, maMatFlag, and ValidColRow().

◆ PutEmptyPath()

void ScMatrixImpl::PutEmptyPath ( SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 580 of file scmatrix.cxx.

References maMat, maMatFlag, SC_MATFLAG_EMPTYPATH, and ValidColRow().

◆ PutEmptyPathVector()

void ScMatrixImpl::PutEmptyPathVector ( SCSIZE  nCount,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 1003 of file scmatrix.cxx.

References maMat, maMatFlag, nCount, SC_MATFLAG_EMPTYPATH, and ValidColRow().

◆ PutEmptyResultVector()

void ScMatrixImpl::PutEmptyResultVector ( SCSIZE  nCount,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 988 of file scmatrix.cxx.

References maMat, maMatFlag, nCount, SC_MATFLAG_EMPTYRESULT, and ValidColRow().

◆ PutEmptyVector()

void ScMatrixImpl::PutEmptyVector ( SCSIZE  nCount,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 974 of file scmatrix.cxx.

References maMat, maMatFlag, nCount, and ValidColRow().

◆ PutError()

void ScMatrixImpl::PutError ( FormulaError  nErrorCode,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 593 of file scmatrix.cxx.

References CreateDoubleError(), and maMat.

◆ PutString() [1/3]

void ScMatrixImpl::PutString ( const svl::SharedString rStr,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 540 of file scmatrix.cxx.

References maMat, and ValidColRow().

Referenced by PutString().

◆ PutString() [2/3]

void ScMatrixImpl::PutString ( const svl::SharedString rStr,
SCSIZE  nIndex 
)

Definition at line 560 of file scmatrix.cxx.

References CalcPosition(), nIndex, and PutString().

◆ PutString() [3/3]

void ScMatrixImpl::PutString ( const svl::SharedString pArray,
size_t  nLen,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 550 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ PutStringVector()

void ScMatrixImpl::PutStringVector ( const ::std::vector< svl::SharedString > &  rVec,
SCSIZE  nC,
SCSIZE  nR 
)

Definition at line 962 of file scmatrix.cxx.

References maMat, and ValidColRow().

◆ Resize() [1/2]

void ScMatrixImpl::Resize ( SCSIZE  nC,
SCSIZE  nR 
)

◆ Resize() [2/2]

void ScMatrixImpl::Resize ( SCSIZE  nC,
SCSIZE  nR,
double  fVal 
)

◆ SetErrorAtInterpreter()

void ScMatrixImpl::SetErrorAtInterpreter ( FormulaError  nError) const

Definition at line 507 of file scmatrix.cxx.

References pErrorInterpreter, and ScInterpreter::SetError().

Referenced by GetDouble(), and GetString().

◆ SetErrorInterpreter()

void ScMatrixImpl::SetErrorInterpreter ( ScInterpreter p)

Definition at line 454 of file scmatrix.cxx.

References p, and pErrorInterpreter.

◆ Sum()

ScMatrix::KahanIterateResult ScMatrixImpl::Sum ( bool  bTextAsZero,
bool  bIgnoreErrorValues 
) const

Definition at line 2101 of file scmatrix.cxx.

References maMat.

◆ SumSquare()

ScMatrix::KahanIterateResult ScMatrixImpl::SumSquare ( bool  bTextAsZero,
bool  bIgnoreErrorValues 
) const

Definition at line 2106 of file scmatrix.cxx.

References maMat.

◆ ValidColRow()

bool ScMatrixImpl::ValidColRow ( SCSIZE  nC,
SCSIZE  nR 
) const

◆ ValidColRowOrReplicated()

bool ScMatrixImpl::ValidColRowOrReplicated ( SCSIZE rC,
SCSIZE rR 
) const

◆ ValidColRowReplicated()

bool ScMatrixImpl::ValidColRowReplicated ( SCSIZE rC,
SCSIZE rR 
) const

Definition at line 478 of file scmatrix.cxx.

References maMat.

Referenced by ValidColRowOrReplicated().

◆ Xor()

double ScMatrixImpl::Xor ( ) const

Definition at line 1136 of file scmatrix.cxx.

References maMat.

Member Data Documentation

◆ maMat

MatrixImplType ScMatrixImpl::maMat
private

◆ maMatFlag

MatrixFlagImplType ScMatrixImpl::maMatFlag
private

◆ pErrorInterpreter

ScInterpreter* ScMatrixImpl::pErrorInterpreter
private

The documentation for this class was generated from the following file: