W3cubDocs

/Eigen3

Jacobi module

This module provides Jacobi and Givens rotations.

#include <Eigen/Jacobi>

In addition to listed classes, it defines the two following MatrixBase methods to apply a Jacobi or Givens rotation:

class Eigen::JacobiRotation< Scalar >
Rotation given by a cosine-sine pair. More...
template<typename OtherScalar >
void Eigen::MatrixBase< Derived >::applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j)

applyOnTheRight()

template<typename Derived >
template<typename OtherScalar >
void Eigen::MatrixBase< Derived >::applyOnTheRight ( Index p,
Index q,
const JacobiRotation< OtherScalar > & j
)
inline

Applies the rotation in the plane j to the columns p and q of *this, i.e., it computes B = B * J with \( B = \left ( \begin{array}{cc} \text{*this.col}(p) & \text{*this.col}(q) \end{array} \right ) \).

See also
class JacobiRotation, MatrixBase::applyOnTheLeft(), internal::apply_rotation_in_the_plane()

© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/group__Jacobi__Module.html