* \brief Checks if the this matrix has exclusive use to the underlying data, i.e. no other matrix expression shares the data. * \b Note: The data is tested, the sparsity pattern might still be shared! * This allows to check if this matrix is used in other expressions because that increments the internal reference counter. * If the internal reference counter is one, the matrix is nowher
| 253 | * \return |
| 254 | */ |
| 255 | CUMAT_STRONG_INLINE bool isExclusiveUse() const |
| 256 | { |
| 257 | return A_.dataPointer().getCounter() == 1; |
| 258 | } |
| 259 | |
| 260 | /** |
| 261 | * \brief Checks if the underlying data is used by an other matrix expression and if so, |