mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
some more cleanup and reorganisation
This commit is contained in:
@@ -47,9 +47,9 @@ template<typename MatrixType> class Conjugate : NoOperatorEquals,
|
||||
int _rows() const { return m_matrix.rows(); }
|
||||
int _cols() const { return m_matrix.cols(); }
|
||||
|
||||
Scalar _read(int row, int col) const
|
||||
Scalar _coeff(int row, int col) const
|
||||
{
|
||||
return conj(m_matrix.read(row, col));
|
||||
return conj(m_matrix.coeff(row, col));
|
||||
}
|
||||
|
||||
protected:
|
||||
@@ -63,4 +63,11 @@ MatrixBase<Scalar, Derived>::conjugate() const
|
||||
return Conjugate<Derived>(static_cast<const Derived*>(this)->ref());
|
||||
}
|
||||
|
||||
template<typename Scalar, typename Derived>
|
||||
const Transpose<Conjugate<Derived> >
|
||||
MatrixBase<Scalar, Derived>::adjoint() const
|
||||
{
|
||||
return conjugate().transpose();
|
||||
}
|
||||
|
||||
#endif // EIGEN_CONJUGATE_H
|
||||
|
||||
Reference in New Issue
Block a user