| 38 | enum {emptyIdxLU = -1}; |
| 39 | template<typename Index> |
| 40 | inline Index LUnumTempV(Index& m, Index& w, Index& t, Index& b) |
| 41 | { |
| 42 | return (std::max)(m, (t+b)*w); |
| 43 | } |
| 44 | |
| 45 | template< typename Scalar, typename Index> |
| 46 | inline Index LUTempSpace(Index&m, Index& w) |