batchlas::SteinParams< T > Struct Template Reference

Overview

template<typename T>
struct batchlas::SteinParams< T >

Parameters for stein() (inverse iteration on a symmetric tridiagonal).

Definition at line 777 of file extensions.hh.

#include <batchlas/blas/extensions.hh>

Variables

◆ max_iterations

template<typename T>
int32_t batchlas::SteinParams< T >::max_iterations = 3

Fixed number of inverse-iteration steps; two or three suffice for eigenvalues accurate to working precision.

No convergence test is made.

Definition at line 780 of file extensions.hh.

◆ ortho_threshold

template<typename T>
T batchlas::SteinParams< T >::ortho_threshold = T(1e-3)

Eigenvalues closer than ortho_threshold * ||T|| form one cluster and have their vectors explicitly reorthogonalised (LAPACK dstein uses 1e-3).

Definition at line 783 of file extensions.hh.

◆ seed

template<typename T>
uint32_t batchlas::SteinParams< T >::seed = 0x5eed1234u

Seed of the random starting vectors.

Definition at line 784 of file extensions.hh.