#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>
Go to the source code of this file.
|
static size_t | GetElementsMax (size_t nMemory) |
| The maximum number of elements a matrix or the pool may have at runtime. More...
|
|
◆ MatrixImplType
◆ TMatFlag
◆ GetElementsMax()
static size_t GetElementsMax |
( |
size_t |
nMemory | ) |
|
|
static |
The maximum number of elements a matrix or the pool may have at runtime.
- Parameters
-
nMemory | If 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().
◆ bElementsMaxFetched
◆ maOp
◆ mfVal
◆ mpErrorInterpreter
◆ nElementsMax
◆ SC_MATFLAG_EMPTYPATH
const TMatFlag SC_MATFLAG_EMPTYPATH = 2.0 |
◆ SC_MATFLAG_EMPTYRESULT
const TMatFlag SC_MATFLAG_EMPTYRESULT = 1.0 |