mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add a JacobiRotation class wrapping the cosine-sine pair with
some convenient features (transpose, adjoint, product)
This commit is contained in:
@@ -804,10 +804,10 @@ template<typename Derived> class MatrixBase
|
||||
///////// Jacobi module /////////
|
||||
|
||||
template<typename JacobiScalar>
|
||||
void applyJacobiOnTheLeft(int p, int q, JacobiScalar c, JacobiScalar s);
|
||||
void applyJacobiOnTheLeft(int p, int q, const JacobiRotation<JacobiScalar>& j);
|
||||
template<typename JacobiScalar>
|
||||
void applyJacobiOnTheRight(int p, int q, JacobiScalar c, JacobiScalar s);
|
||||
bool makeJacobi(int p, int q, Scalar *c, Scalar *s) const;
|
||||
void applyJacobiOnTheRight(int p, int q, const JacobiRotation<JacobiScalar>& j);
|
||||
bool makeJacobi(int p, int q, JacobiRotation<Scalar> *j) const;
|
||||
|
||||
#ifdef EIGEN_MATRIXBASE_PLUGIN
|
||||
#include EIGEN_MATRIXBASE_PLUGIN
|
||||
|
||||
@@ -123,6 +123,7 @@ template<typename MatrixType> class SVD;
|
||||
template<typename MatrixType, unsigned int Options = 0> class JacobiSVD;
|
||||
template<typename MatrixType, int UpLo = LowerTriangular> class LLT;
|
||||
template<typename MatrixType> class LDLT;
|
||||
template<typename Scalar> class JacobiRotation;
|
||||
|
||||
// Geometry module:
|
||||
template<typename Derived, int _Dim> class RotationBase;
|
||||
|
||||
Reference in New Issue
Block a user