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

Go to the source code of this file.

Classes

class  ScMatrixImpl
 
struct  matop::COp< T, svl::SharedString >
 
struct  matop::COp< T, double >
 

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 74 of file scmatrix.cxx.

typedef double TMatFlag

Definition at line 227 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 361 of file scmatrix.cxx.

References MAXROWCOUNT.

Referenced by ScMatrix::IsSizeAllocatable().

Variable Documentation

bool bElementsMaxFetched
static

Definition at line 350 of file scmatrix.cxx.

Referenced by ScMatrix::IsSizeAllocatable().

COp<TOp, TEmptyRes> maCOp

Definition at line 3356 of file scmatrix.cxx.

TOp maOp

Definition at line 3352 of file scmatrix.cxx.

Definition at line 3354 of file scmatrix.cxx.

double mfVal

Definition at line 3355 of file scmatrix.cxx.

ScInterpreter* mpErrorInterpreter

Definition at line 3353 of file scmatrix.cxx.

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