MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / coeff

Method coeff

extensions/include/cuMat/src/TransposeOp.h:140–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TransposeOpClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected