Home | History | Annotate | Download | only in SparseLU

Lines Matching refs:Index

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