Lines Matching refs:Index
39 inline Index LUnumTempV(Index& m, Index& w, Index& t, Index& b) in LUnumTempV()
45 inline Index LUTempSpace(Index&m, Index& w) in LUTempSpace()
47 return (2*w + 4 + LUNoMarker) * m * sizeof(Index) + (w + 1) * m * sizeof(Scalar); in LUTempSpace()
63 Index SparseLUImpl<Scalar,StorageIndex>::expand(VectorType& vec, Index& length, Index nbElts, Inde… in expand()
67 Index new_len; // New size of the allocated memory in expand()
72 new_len = (std::max)(length+1,Index(alpha * length)); in expand()
105 Index tries = 0; // Number of attempts in expand()
109 new_len = (std::max)(length+1,Index(alpha * length)); in expand()
151 Index SparseLUImpl<Scalar,StorageIndex>::memInit(Index m, Index n, Index annz, Index lwork, Index f… in memInit()
153 Index& num_expansions = glu.num_expansions; //No memory expansions so far in memInit()
156 glu.nzlmax = (std::max)(Index(4), fillratio) * (annz+1) / 4; // estimated nnz in L factor in memInit()
158 Index tempSpace; in memInit()
159 …tempSpace = (2*panel_size + 4 + LUNoMarker) * m * sizeof(Index) + (panel_size + 1) * m * sizeof(Sc… in memInit()
162 Index estimated_size; in memInit()
163 estimated_size = (5 * n + 5) * sizeof(Index) + tempSpace in memInit()
164 … + (glu.nzlmax + glu.nzumax) * sizeof(Index) + (glu.nzlumax+glu.nzumax) * sizeof(Scalar) + n; in memInit()
209 Index SparseLUImpl<Scalar,StorageIndex>::memXpand(VectorType& vec, Index& maxlen, Index nbElts, Mem… in memXpand()
211 Index failed_size; in memXpand()