LifeV
KN_< R > Class Template Reference

#include <RNM.hpp>

+ Inheritance diagram for KN_< R >:
+ Collaboration diagram for KN_< R >:

Public Member Functions

int N () const
 
int size () const
 
 operator R* () const
 
 KN_ (const KN_< R > &u)
 
 KN_ (const KN_< R > &U, const SubArray &sa)
 
KN_ operator() (const SubArray &sa) const
 
R & operator[] (int i) const
 
R & operator() (int i) const
 
operator, (const KN_< R > &v) const
 
const KN_operator= (const KN_< R > &u)
 
const KN_operator+= (const KN_< R > &u)
 
const KN_operator-= (const KN_< R > &u)
 
const KN_operator*= (const KN_< R > &u)
 
const KN_operator/= (const KN_< R > &u)
 
const KN_operator= (R a)
 
const KN_operator+= (R a)
 
const KN_operator-= (R a)
 
const KN_operator/= (R a)
 
const KN_operator*= (R a)
 
KNMmin () const
 
KNMmax () const
 
sum () const
 
KN_map (R(*)(R))
 
const KN_operator= (const Add_KN_< R > &u)
 
const KN_operator+= (const Add_KN_< R > &u)
 
const KN_operator-= (const Add_KN_< R > &u)
 
const KN_operator= (const Sub_KN_< R > &u)
 
const KN_operator-= (const Sub_KN_< R > &u)
 
const KN_operator+= (const Sub_KN_< R > &u)
 
const KN_operator= (const Mulc_KN_< R > &u)
 
const KN_operator+= (const Mulc_KN_< R > &u)
 
const KN_operator-= (const Mulc_KN_< R > &u)
 
const KN_operator= (const Add_Mulc_KN_< R > &u)
 
const KN_operator+= (const Add_Mulc_KN_< R > &u)
 
const KN_operator-= (const Add_Mulc_KN_< R > &u)
 
const KN_operator= (const Mul_KNM_KN_< R > &u)
 
const KN_operator+= (const Mul_KNM_KN_< R > &u)
 
const KN_operator-= (const Mul_KNM_KN_< R > &u)
 
const KN_operator= (const MatriceCreuseMulKN_< R > &)
 
const KN_operator= (const MatriceCreuseDivKN_< R > &)
 
- Public Member Functions inherited from ShapeOfArray
 ShapeOfArray (const ShapeOfArray &s, int nn)
 
 ShapeOfArray (int nn)
 
 ShapeOfArray (int nn, int s)
 
 ShapeOfArray (int nn, int s, int nextt)
 
 ShapeOfArray (const ShapeOfArray &old, const SubArray &sub)
 
 ShapeOfArray (const ShapeOfArray &old, int stepo, int start)
 
int end () const
 
int last () const
 
int constant () const
 
int index (int k) const
 
ShapeOfArray operator* (int stepp) const
 
bool SameShape (const ShapeOfArray &a) const
 
int N (const ShapeOfArray &a)
 
int operator[] (int k) const
 

Protected Attributes

R * v
 

Private Member Functions

KN_operator++ ()
 
KN_operator-- ()
 
KN_ operator++ (int)
 
KN_ operator-- (int)
 
 KN_ (R *u, const ShapeOfArray &s)
 
 KN_ (R *u, int nn, int s)
 
 KN_ (R *u, int nn, int s, int nextt)
 
 KN_ (R *u, int nn)
 
 KN_ (const KN_< R > &u, int offset)
 
 KN_ (const KN_< R > &u, const ShapeOfArray &sh, int startv=0)
 
 KN_ (const KN_< R > &u, int nnext, const ShapeOfArray &sh, int startv=0)
 

Friends

class KNM_< R >
 
class KNMK_< R >
 
class KNMKL_< R >
 
class KN< R >
 
class KNM< R >
 
class KNMK< R >
 
class KNMKL< R >
 
std::ostream & operator (std::ostream &f, const KN_< R > &v)
 

Additional Inherited Members

- Data Fields inherited from ShapeOfArray
const int n
 
const int step
 
const int next
 

Detailed Description

template<class R>
class LifeV::KN_< R >

Definition at line 112 of file RNM.hpp.

Constructor & Destructor Documentation

◆ KN_() [1/9]

KN_ ( const KN_< R > &  u)
inline

Definition at line 289 of file RNM.hpp.

◆ KN_() [2/9]

KN_ ( const KN_< R > &  U,
const SubArray sa 
)
inline

Definition at line 291 of file RNM.hpp.

◆ KN_() [3/9]

KN_ ( R *  u,
const ShapeOfArray s 
)
inlineprivate

Definition at line 382 of file RNM.hpp.

◆ KN_() [4/9]

KN_ ( R *  u,
int  nn,
int  s 
)
inlineprivate

Definition at line 384 of file RNM.hpp.

◆ KN_() [5/9]

KN_ ( R *  u,
int  nn,
int  s,
int  nextt 
)
inlineprivate

Definition at line 386 of file RNM.hpp.

◆ KN_() [6/9]

KN_ ( R *  u,
int  nn 
)
inlineprivate

Definition at line 388 of file RNM.hpp.

◆ KN_() [7/9]

KN_ ( const KN_< R > &  u,
int  offset 
)
inlineprivate

Definition at line 390 of file RNM.hpp.

◆ KN_() [8/9]

KN_ ( const KN_< R > &  u,
const ShapeOfArray sh,
int  startv = 0 
)
inlineprivate

Definition at line 392 of file RNM.hpp.

◆ KN_() [9/9]

KN_ ( const KN_< R > &  u,
int  nnext,
const ShapeOfArray sh,
int  startv = 0 
)
inlineprivate

Definition at line 395 of file RNM.hpp.

Member Function Documentation

◆ N()

int N ( ) const
inline

Definition at line 277 of file RNM.hpp.

+ Here is the caller graph for this function:

◆ size()

int size ( ) const
inline

Definition at line 281 of file RNM.hpp.

◆ operator R*()

operator R* ( ) const
inline

Definition at line 285 of file RNM.hpp.

◆ operator()() [1/2]

KN_ operator() ( const SubArray sa) const
inline

Definition at line 294 of file RNM.hpp.

◆ operator[]()

R& operator[] ( int  i) const
inline

Definition at line 298 of file RNM.hpp.

◆ operator()() [2/2]

R& operator() ( int  i) const
inline

Definition at line 302 of file RNM.hpp.

◆ operator,()

R operator, ( const KN_< R > &  v) const

Definition at line 151 of file RNMTemplate.hpp.

◆ operator=() [1/9]

const KN_& operator= ( const KN_< R > &  u)

◆ operator+=() [1/7]

const KN_& operator+= ( const KN_< R > &  u)

◆ operator-=() [1/7]

const KN_& operator-= ( const KN_< R > &  u)

◆ operator*=() [1/2]

const KN_& operator*= ( const KN_< R > &  u)

◆ operator/=() [1/2]

const KN_& operator/= ( const KN_< R > &  u)

◆ operator=() [2/9]

const KN_& operator= ( a)

◆ operator+=() [2/7]

const KN_& operator+= ( a)

◆ operator-=() [2/7]

const KN_& operator-= ( a)

◆ operator/=() [2/2]

const KN_& operator/= ( a)

◆ operator*=() [2/2]

const KN_& operator*= ( a)

◆ KNMmin()

R KNMmin ( ) const

Definition at line 166 of file RNMTemplate.hpp.

◆ KNMmax()

R KNMmax ( ) const

Definition at line 176 of file RNMTemplate.hpp.

◆ sum()

R sum ( ) const

Definition at line 187 of file RNMTemplate.hpp.

◆ map()

KN_< R > & map ( R(*)(R)  f)

Definition at line 197 of file RNMTemplate.hpp.

◆ operator=() [3/9]

const KN_& operator= ( const Add_KN_< R > &  u)

◆ operator+=() [3/7]

const KN_& operator+= ( const Add_KN_< R > &  u)

◆ operator-=() [3/7]

const KN_& operator-= ( const Add_KN_< R > &  u)

◆ operator=() [4/9]

const KN_& operator= ( const Sub_KN_< R > &  u)

◆ operator-=() [4/7]

const KN_& operator-= ( const Sub_KN_< R > &  u)

◆ operator+=() [4/7]

const KN_& operator+= ( const Sub_KN_< R > &  u)

◆ operator=() [5/9]

const KN_& operator= ( const Mulc_KN_< R > &  u)

◆ operator+=() [5/7]

const KN_& operator+= ( const Mulc_KN_< R > &  u)

◆ operator-=() [5/7]

const KN_& operator-= ( const Mulc_KN_< R > &  u)

◆ operator=() [6/9]

const KN_& operator= ( const Add_Mulc_KN_< R > &  u)

◆ operator+=() [6/7]

const KN_& operator+= ( const Add_Mulc_KN_< R > &  u)

◆ operator-=() [6/7]

const KN_& operator-= ( const Add_Mulc_KN_< R > &  u)

◆ operator=() [7/9]

const KN_& operator= ( const Mul_KNM_KN_< R > &  u)

◆ operator+=() [7/7]

const KN_& operator+= ( const Mul_KNM_KN_< R > &  u)

◆ operator-=() [7/7]

const KN_& operator-= ( const Mul_KNM_KN_< R > &  u)

◆ operator=() [8/9]

const KN_& operator= ( const MatriceCreuseMulKN_< R > &  )

◆ operator=() [9/9]

const KN_& operator= ( const MatriceCreuseDivKN_< R > &  )

◆ operator++() [1/2]

KN_& operator++ ( )
inlineprivate

Definition at line 355 of file RNM.hpp.

◆ operator--() [1/2]

KN_& operator-- ( )
inlineprivate

Definition at line 361 of file RNM.hpp.

◆ operator++() [2/2]

KN_ operator++ ( int  )
inlineprivate

Definition at line 367 of file RNM.hpp.

◆ operator--() [2/2]

KN_ operator-- ( int  )
inlineprivate

Definition at line 374 of file RNM.hpp.

Friends And Related Function Documentation

◆ KNM_< R >

friend class KNM_< R >
friend

Definition at line 401 of file RNM.hpp.

◆ KNMK_< R >

friend class KNMK_< R >
friend

Definition at line 402 of file RNM.hpp.

◆ KNMKL_< R >

friend class KNMKL_< R >
friend

Definition at line 403 of file RNM.hpp.

◆ KN< R >

friend class KN< R >
friend

Definition at line 404 of file RNM.hpp.

◆ KNM< R >

friend class KNM< R >
friend

Definition at line 405 of file RNM.hpp.

◆ KNMK< R >

friend class KNMK< R >
friend

Definition at line 406 of file RNM.hpp.

◆ KNMKL< R >

friend class KNMKL< R >
friend

Definition at line 407 of file RNM.hpp.

◆ operator

std::ostream& operator ( std::ostream &  f,
const KN_< R > &  v 
)
friend

Field Documentation

◆ v

R* v
protected

Definition at line 275 of file RNM.hpp.


The documentation for this class was generated from the following files: