SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
slip::saxpy< _F, _S, _RT, _AT > Struct Template Reference

Computes the saxpy ("scalar a x plus b") operation: ( $a*x + y$) between two values. More...

#include <linear_algebra.hpp>

Inheritance diagram for slip::saxpy< _F, _S, _RT, _AT >:
Inheritance graph

Public Member Functions

 saxpy ()
 
 saxpy (const _AT &a)
 
_RT operator() (const _F &__x, const _S &__y) const
 

Public Attributes

_AT a_
 

Detailed Description

template<typename _F, typename _S, typename _RT, typename _AT>
struct slip::saxpy< _F, _S, _RT, _AT >

Computes the saxpy ("scalar a x plus b") operation: ( $a*x + y$) between two values.

Author
Benoit Tremblais <tremblais_AT_sic.univ-poitiers.fr>
Date
2008/10/05
Since
1.0.0
Version
0.0.1
Parameters
__xThe first value.
__yThe second value.
Returns
The saxpy value.
Complexity: 2 flops

Definition at line 162 of file linear_algebra.hpp.

Constructor & Destructor Documentation

template<typename _F , typename _S , typename _RT , typename _AT >
slip::saxpy< _F, _S, _RT, _AT >::saxpy ( )
inline

Definition at line 164 of file linear_algebra.hpp.

template<typename _F , typename _S , typename _RT , typename _AT >
slip::saxpy< _F, _S, _RT, _AT >::saxpy ( const _AT &  a)
inline

Definition at line 166 of file linear_algebra.hpp.

Member Function Documentation

template<typename _F , typename _S , typename _RT , typename _AT >
_RT slip::saxpy< _F, _S, _RT, _AT >::operator() ( const _F &  __x,
const _S &  __y 
) const
inline

Definition at line 171 of file linear_algebra.hpp.

Member Data Documentation

template<typename _F , typename _S , typename _RT , typename _AT >
_AT slip::saxpy< _F, _S, _RT, _AT >::a_

Definition at line 176 of file linear_algebra.hpp.


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