Dense matrix and array manipulation » Reference » Jacobi module module

Contents

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:

Classes

template<typename Scalar>
class Eigen::JacobiRotation
Rotation given by a cosine-sine pair.

Functions

template<typename OtherScalar>
void applyOnTheRight(Index p, Index q, const JacobiRotation<OtherScalar>& j)

Function documentation

template<typename OtherScalar>
void applyOnTheRight(Index p, Index q, const JacobiRotation<OtherScalar>& j)

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 ) $ .