NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
numerical::detail::row_operation Struct Reference

One operation of tridiagonal_ql or bidiagonal_qr on the rows of a vector matrix, recorded to be applied later. More...

#include <decomposition.hpp>

Public Types

enum class  kind : std::uint8_t { rotate , negate , swap }
 

Public Attributes

kind what
 The operation.
 
std::size_t i
 The first row.
 
std::size_t j
 The second row (unused by negate).
 
double c
 The cosine of a rotation.
 
double s
 The sine of a rotation.
 

Detailed Description

One operation of tridiagonal_ql or bidiagonal_qr on the rows of a vector matrix, recorded to be applied later.

Definition at line 3347 of file decomposition.hpp.

Member Enumeration Documentation

◆ kind

Enumerator
rotate 

row_i ← c row_i + s row_j, row_j ← c row_j − s row_i

negate 

row i ← −row i

swap 

rows i and j exchanged

Definition at line 3349 of file decomposition.hpp.

Member Data Documentation

◆ c

double numerical::detail::row_operation::c

The cosine of a rotation.

Definition at line 3359 of file decomposition.hpp.

◆ i

std::size_t numerical::detail::row_operation::i

The first row.

Definition at line 3357 of file decomposition.hpp.

◆ j

std::size_t numerical::detail::row_operation::j

The second row (unused by negate).

Definition at line 3358 of file decomposition.hpp.

◆ s

double numerical::detail::row_operation::s

The sine of a rotation.

Definition at line 3360 of file decomposition.hpp.

◆ what

kind numerical::detail::row_operation::what

The operation.

Definition at line 3356 of file decomposition.hpp.


The documentation for this struct was generated from the following file: