quala 0.0.1a1
Quasi-Newton and other accelerators
Public Types | Public Member Functions | Public Attributes | List of all members
BroydenStorage Struct Reference

#include <quala/broyden-good.hpp>

Detailed Description

Layout:

┌───── 2 m + 1 ─────┐
┌ ┌───┬───┬───┬───┬───┐
│ │ │ │ │ │ │
n │ │ ss │ w │
│ │ │ │ │ │ │
└ └───┴───┴───┴───┴───┘
auto s(index_t i)
length_t n() const
Get the size of the s and s̃ vectors in the buffer.
auto s̃(index_t i)

Definition at line 16 of file broyden-good.hpp.

+ Collaboration diagram for BroydenStorage:

Public Types

using storage_t = Eigen::Matrix< real_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor >
 

Public Member Functions

void resize (length_t n, length_t history)
 Re-allocate storage for a problem with a different size. More...
 
length_t n () const
 Get the size of the s and s̃ vectors in the buffer. More...
 
length_t history () const
 Get the number of previous vectors s and s̃ stored in the buffer. More...
 
auto s (index_t i)
 
auto s (index_t i) const
 
auto  (index_t i)
 
auto  (index_t i) const
 
auto work ()
 
auto work () const
 

Public Attributes

storage_t sto
 

Member Typedef Documentation

◆ storage_t

using storage_t = Eigen::Matrix<real_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor>

Definition at line 32 of file broyden-good.hpp.

Member Function Documentation

◆ resize()

void resize ( length_t  n,
length_t  history 
)
inline

Re-allocate storage for a problem with a different size.

Definition at line 37 of file broyden-good.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ n()

length_t n ( ) const
inline

Get the size of the s and s̃ vectors in the buffer.

Definition at line 21 of file broyden-good.hpp.

+ Here is the caller graph for this function:

◆ history()

length_t history ( ) const
inline

Get the number of previous vectors s and s̃ stored in the buffer.

Definition at line 23 of file broyden-good.hpp.

+ Here is the caller graph for this function:

◆ s() [1/2]

auto s ( index_t  i)
inline

Definition at line 25 of file broyden-good.hpp.

+ Here is the caller graph for this function:

◆ s() [2/2]

auto s ( index_t  i) const
inline

Definition at line 26 of file broyden-good.hpp.

◆ s̃() [1/2]

auto s̃ ( index_t  i)
inline

Definition at line 27 of file broyden-good.hpp.

+ Here is the caller graph for this function:

◆ s̃() [2/2]

auto s̃ ( index_t  i) const
inline

Definition at line 28 of file broyden-good.hpp.

◆ work() [1/2]

auto work ( )
inline

Definition at line 29 of file broyden-good.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ work() [2/2]

auto work ( ) const
inline

Definition at line 30 of file broyden-good.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ sto

storage_t sto

Definition at line 34 of file broyden-good.hpp.


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