LibreOffice Module sc (master)  1
Classes | Namespaces | Typedefs | Functions | Variables
scmatrix.cxx File Reference
#include <scmatrix.hxx>
#include <global.hxx>
#include <address.hxx>
#include <formula/errorcodes.hxx>
#include <interpre.hxx>
#include <mtvelements.hxx>
#include <compare.hxx>
#include <matrixoperators.hxx>
#include <math.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <svl/sharedstring.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <memory>
#include <vector>
#include <limits>
#include <mdds/multi_type_matrix.hpp>
#include <mdds/multi_type_vector_types.hpp>
Include dependency graph for scmatrix.cxx:

Go to the source code of this file.

Classes

class  ScMatrixImpl
 

Namespaces

 matop
 

Typedefs

typedef mdds::multi_type_matrix< matrix_trait > MatrixImplType
 
typedef double TMatFlag
 

Functions

static size_t GetElementsMax (size_t nMemory)
 The maximum number of elements a matrix or the pool may have at runtime. More...
 

Variables

const TMatFlag SC_MATFLAG_EMPTYRESULT = 1.0
 
const TMatFlag SC_MATFLAG_EMPTYPATH = 2.0
 
static bool bElementsMaxFetched
 
static size_t nElementsMax
 

Typedef Documentation

typedef mdds::multi_type_matrix<matrix_trait> MatrixImplType

Definition at line 69 of file scmatrix.cxx.

typedef double TMatFlag

Definition at line 222 of file scmatrix.cxx.

Function Documentation

static size_t GetElementsMax ( size_t  nMemory)
static

The maximum number of elements a matrix or the pool may have at runtime.

Parameters
nMemoryIf 0, the arbitrary limit of one matrix is returned. If >0, the given memory pool divided by the average size of a matrix element is returned, which is used to initialize nElementsMax.

Definition at line 356 of file scmatrix.cxx.

References MAXROWCOUNT.

Referenced by ScMatrix::IsSizeAllocatable().

Variable Documentation

bool bElementsMaxFetched
static

Definition at line 345 of file scmatrix.cxx.

Referenced by ScMatrix::IsSizeAllocatable().

TOp maOp

Definition at line 3267 of file scmatrix.cxx.

double mfVal

Definition at line 3269 of file scmatrix.cxx.

ScInterpreter* mpErrorInterpreter

Definition at line 3268 of file scmatrix.cxx.

size_t nElementsMax
static
const TMatFlag SC_MATFLAG_EMPTYPATH = 2.0
const TMatFlag SC_MATFLAG_EMPTYRESULT = 1.0