Compressed Sparse Blocks  1.2
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Public Types | Static Public Member Functions | List of all members
PTSR< T1, T2 > Struct Template Reference

#include <Semirings.h>

Public Types

typedef promote_trait< T1, T2 >
::T_promote 
T_promote
 

Static Public Member Functions

static T_promote add (const T1 &arg1, const T2 &arg2)
 
static T_promote multiply (const T1 &arg1, const T2 &arg2)
 
static void axpy (const T2 &x, T_promote &y)
 
static void axpy (T1 a, const T2 &x, T_promote &y)
 

Detailed Description

template<class T1, class T2>
struct PTSR< T1, T2 >

Definition at line 24 of file Semirings.h.

Member Typedef Documentation

template<class T1 , class T2 >
typedef promote_trait<T1,T2>::T_promote PTSR< T1, T2 >::T_promote

Definition at line 26 of file Semirings.h.

Member Function Documentation

template<class T1 , class T2 >
static T_promote PTSR< T1, T2 >::add ( const T1 &  arg1,
const T2 &  arg2 
)
inlinestatic

Definition at line 28 of file Semirings.h.

template<class T1 , class T2 >
static void PTSR< T1, T2 >::axpy ( const T2 &  x,
T_promote y 
)
inlinestatic

Definition at line 39 of file Semirings.h.

template<class T1 , class T2 >
static void PTSR< T1, T2 >::axpy ( T1  a,
const T2 &  x,
T_promote y 
)
inlinestatic

Definition at line 44 of file Semirings.h.

template<class T1 , class T2 >
static T_promote PTSR< T1, T2 >::multiply ( const T1 &  arg1,
const T2 &  arg2 
)
inlinestatic

Definition at line 33 of file Semirings.h.


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