All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
blaze::LSE Struct Reference

A linear system of equations (LSE) data structure.The LSE class represent a linear system of equations of the form $ A \cdot x + b = 0 $. More...

#include <LSE.h>

Public Member Functions

Utility functions
size_t size () const
 Returns the size of the linear system of equations. More...
 
void project (size_t index)
 Projects the unknown at the given index on the solution range. More...
 
real lbound (size_t index) const
 Returns the lower bound of the unknown at the given index. More...
 
real ubound (size_t index) const
 Returns the upper bound of the unknown at the given index. More...
 
real residual (size_t index) const
 Calculates the residual of the unknown at the given index. More...
 
real residual () const
 Calculates the maximum norm of the residual of the linear system of equations. More...
 

Public Attributes

Member variables
CMatMxN A_
 The system matrix $ A $.
 
VecN b_
 The right-hand side vector $ b $.
 
VecN x_
 The vector of unknowns $ x $.
 

Detailed Description

A linear system of equations (LSE) data structure.

The LSE class represent a linear system of equations of the form $ A \cdot x + b = 0 $.

Member Function Documentation

real blaze::LSE::lbound ( size_t  index) const
inline

Returns the lower bound of the unknown at the given index.

Parameters
indexAccess index. The index has to be in the range $ [0..size) $.
Returns
void
void blaze::LSE::project ( size_t  index)
inline

Projects the unknown at the given index on the solution range.

Parameters
indexAccess index. The index has to be in the range $ [0..size) $.
Returns
void
real blaze::LSE::residual ( size_t  index) const
inline

Calculates the residual of the unknown at the given index.

Parameters
indexAccess index. The index has to be in the range $ [0..size) $.
Returns
The residual at index index.
real blaze::LSE::residual ( ) const
inline

Calculates the maximum norm of the residual of the linear system of equations.

Returns
The maximum norm of the global residual of the LSE.
size_t blaze::LSE::size ( ) const
inline

Returns the size of the linear system of equations.

Returns
The actual size of the LSE.
real blaze::LSE::ubound ( size_t  index) const
inline

Returns the upper bound of the unknown at the given index.

Parameters
indexAccess index. The index has to be in the range $ [0..size) $.
Returns
void

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