LifeV
KNM_< R > Class Template Reference

#include <RNM.hpp>

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

Public Member Functions

int IsVector1 () const
 
int N () const
 
int M () const
 
int size () const
 
 KNM_ (R *u, const ShapeOfArray &s, const ShapeOfArray &si, const ShapeOfArray &sj)
 
 KNM_ (R *u, int n, int m)
 
 KNM_ (R *u, int n, int m, int s)
 
 KNM_ (KN_< R > u, int n, int m)
 
 KNM_ (const KN_< R > &u, const ShapeOfArray &si, const ShapeOfArray &sj, int offset=0)
 
 KNM_ (const KN_< R > &u, const ShapeOfArray &si, const ShapeOfArray &sj, int offset, int nnext)
 
 KNM_ (KNM_< R > U, const SubArray &si, const SubArray &sj)
 
 KNM_ (KNM_< R > U, const SubArray &sa, const SubArray &si, const SubArray &sj)
 
 KNM_ (const KNM_< R > &u)
 
KNM_ operator() (const SubArray &sa, const SubArray &sb) const
 
int ij (const int i, const int j) const
 
int indexij (int i, int j) const
 
R & operator() (int i, int j) const
 
unsigned int indexij (unsigned int i, unsigned int j) const
 
R & operator() (unsigned int i, unsigned int j) const
 
long unsigned int indexij (long unsigned int i, long unsigned int j) const
 
R & operator() (long unsigned int i, long unsigned int j) const
 
KN_< R > operator() (const char, int j) const
 
KN_< R > operator() (int i, const char) const
 
KN_< R > operator() (const char, const char) const
 
KNM_< R > t () const
 
const KNM_operator= (const KNM_< R > &u)
 
const KNM_operator= (R a)
 
const KNM_operator+= (R a)
 
const KNM_operator-= (R a)
 
const KNM_operator/= (R a)
 
const KNM_operator*= (R a)
 
const KNM_operator+= (const KNM_< R > &u)
 
const KNM_operator-= (const KNM_< R > &u)
 
const KNM_operator*= (const KNM_< R > &u)
 
const KNM_operator/= (const KNM_< R > &u)
 
- Public Member Functions inherited from KN_< R >
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
 

Data Fields

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

Private Member Functions

KNM_operator++ ()
 
KNM_operator-- ()
 
KNM_ operator++ (int)
 
KNM_ operator-- (int)
 

Friends

class KN_< R >
 
class KNMK_< R >
 
class KNMKL_< R >
 
class KN< R >
 
class KNM< R >
 
class KNMK< R >
 
class KNMKL< R >
 

Additional Inherited Members

- Protected Attributes inherited from KN_< R >
R * v
 

Detailed Description

template<class R>
class LifeV::KNM_< R >

Definition at line 110 of file RNM.hpp.

Constructor & Destructor Documentation

◆ KNM_() [1/9]

KNM_ ( R *  u,
const ShapeOfArray s,
const ShapeOfArray si,
const ShapeOfArray sj 
)
inline

Definition at line 435 of file RNM.hpp.

◆ KNM_() [2/9]

KNM_ ( R *  u,
int  n,
int  m 
)
inline

Definition at line 440 of file RNM.hpp.

◆ KNM_() [3/9]

KNM_ ( R *  u,
int  n,
int  m,
int  s 
)
inline

Definition at line 443 of file RNM.hpp.

◆ KNM_() [4/9]

KNM_ ( KN_< R >  u,
int  n,
int  m 
)
inline

Definition at line 446 of file RNM.hpp.

◆ KNM_() [5/9]

KNM_ ( const KN_< R > &  u,
const ShapeOfArray si,
const ShapeOfArray sj,
int  offset = 0 
)
inline

Definition at line 450 of file RNM.hpp.

◆ KNM_() [6/9]

KNM_ ( const KN_< R > &  u,
const ShapeOfArray si,
const ShapeOfArray sj,
int  offset,
int  nnext 
)
inline

Definition at line 455 of file RNM.hpp.

◆ KNM_() [7/9]

KNM_ ( KNM_< R >  U,
const SubArray si,
const SubArray sj 
)
inline

Definition at line 461 of file RNM.hpp.

◆ KNM_() [8/9]

KNM_ ( KNM_< R >  U,
const SubArray sa,
const SubArray si,
const SubArray sj 
)
inline

Definition at line 466 of file RNM.hpp.

◆ KNM_() [9/9]

KNM_ ( const KNM_< R > &  u)
inline

Definition at line 470 of file RNM.hpp.

Member Function Documentation

◆ IsVector1()

int IsVector1 ( ) const
inline

Definition at line 418 of file RNM.hpp.

◆ N()

int N ( ) const
inline

Definition at line 422 of file RNM.hpp.

◆ M()

int M ( ) const
inline

Definition at line 426 of file RNM.hpp.

◆ size()

int size ( ) const
inline

Definition at line 430 of file RNM.hpp.

◆ operator()() [1/7]

KNM_ operator() ( const SubArray sa,
const SubArray sb 
) const
inline

Definition at line 474 of file RNM.hpp.

◆ ij()

int ij ( const int  i,
const int  j 
) const
inline

Definition at line 479 of file RNM.hpp.

◆ indexij() [1/3]

int indexij ( int  i,
int  j 
) const
inline

Definition at line 483 of file RNM.hpp.

◆ operator()() [2/7]

R& operator() ( int  i,
int  j 
) const
inline

Definition at line 487 of file RNM.hpp.

◆ indexij() [2/3]

unsigned int indexij ( unsigned int  i,
unsigned int  j 
) const
inline

Definition at line 492 of file RNM.hpp.

◆ operator()() [3/7]

R& operator() ( unsigned int  i,
unsigned int  j 
) const
inline

Definition at line 496 of file RNM.hpp.

◆ indexij() [3/3]

long unsigned int indexij ( long unsigned int  i,
long unsigned int  j 
) const
inline

Definition at line 501 of file RNM.hpp.

◆ operator()() [4/7]

R& operator() ( long unsigned int  i,
long unsigned int  j 
) const
inline

Definition at line 505 of file RNM.hpp.

◆ operator()() [5/7]

KN_<R> operator() ( const char  ,
int  j 
) const
inline

Definition at line 511 of file RNM.hpp.

◆ operator()() [6/7]

KN_<R> operator() ( int  i,
const char   
) const
inline

Definition at line 515 of file RNM.hpp.

◆ operator()() [7/7]

KN_<R> operator() ( const char  ,
const char   
) const
inline

Definition at line 519 of file RNM.hpp.

◆ t()

KNM_<R> t ( ) const
inline

Definition at line 526 of file RNM.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

const KNM_& operator= ( a)

◆ operator+=() [1/2]

const KNM_& operator+= ( a)

◆ operator-=() [1/2]

const KNM_& operator-= ( a)

◆ operator/=() [1/2]

const KNM_& operator/= ( a)

◆ operator*=() [1/2]

const KNM_& operator*= ( a)

◆ operator+=() [2/2]

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

◆ operator-=() [2/2]

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

◆ operator*=() [2/2]

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

◆ operator/=() [2/2]

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

◆ operator++() [1/2]

KNM_& operator++ ( )
inlineprivate

Definition at line 543 of file RNM.hpp.

◆ operator--() [1/2]

KNM_& operator-- ( )
inlineprivate

Definition at line 548 of file RNM.hpp.

◆ operator++() [2/2]

KNM_ operator++ ( int  )
inlineprivate

Definition at line 553 of file RNM.hpp.

◆ operator--() [2/2]

KNM_ operator-- ( int  )
inlineprivate

Definition at line 559 of file RNM.hpp.

Friends And Related Function Documentation

◆ KN_< R >

friend class KN_< R >
friend

Definition at line 567 of file RNM.hpp.

◆ KNMK_< R >

friend class KNMK_< R >
friend

Definition at line 569 of file RNM.hpp.

◆ KNMKL_< R >

friend class KNMKL_< R >
friend

Definition at line 570 of file RNM.hpp.

◆ KN< R >

friend class KN< R >
friend

Definition at line 571 of file RNM.hpp.

◆ KNM< R >

friend class KNM< R >
friend

Definition at line 572 of file RNM.hpp.

◆ KNMK< R >

friend class KNMK< R >
friend

Definition at line 573 of file RNM.hpp.

◆ KNMKL< R >

friend class KNMKL< R >
friend

Definition at line 574 of file RNM.hpp.

Field Documentation

◆ shapei

ShapeOfArray shapei

Definition at line 415 of file RNM.hpp.

◆ shapej

ShapeOfArray shapej

Definition at line 416 of file RNM.hpp.


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