| 138 | __host__ __device__ CUMAT_STRONG_INLINE Index batches() const { return matrix_.batches(); } |
| 139 | |
| 140 | __device__ CUMAT_STRONG_INLINE Scalar coeff(Index row, Index col, Index batch, Index index) const |
| 141 | { //read acces (cwise) |
| 142 | Scalar val = matrix_.coeff(col, row, batch, -1); |
| 143 | val = internal::TransposeFunctor<Scalar>()(val); |
| 144 | val = internal::conjugateCoeff<Scalar, IsConjugated>(val); |
| 145 | return val; |
| 146 | } |
| 147 | __device__ CUMAT_STRONG_INLINE Scalar& coeff(Index row, Index col, Index batch, Index index) |
| 148 | { //write acces (cwise) |
| 149 | //adjoint not allowed here |