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
|
||||
|
||||
Reference in New Issue
Block a user