MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
ArrayView Class Reference

#include <matvec3n.h>

Collaboration diagram for ArrayView:

Public Member Functions

 ArrayView (integer s, integer o, integer n)
 
 ~ArrayView (void)
 
integer Start (void) const
 
integer Offset (void) const
 
integer Number (void) const
 
integer Last (void) const
 

Private Attributes

integer start
 
integer offset
 
integer number
 

Detailed Description

Definition at line 45 of file matvec3n.h.

Constructor & Destructor Documentation

ArrayView::ArrayView ( integer  s,
integer  o,
integer  n 
)
inline

Definition at line 50 of file matvec3n.h.

References NO_OP.

51  : start(s), offset(o), number(n) {
52  NO_OP;
53  };
integer start
Definition: matvec3n.h:47
#define NO_OP
Definition: myassert.h:74
integer offset
Definition: matvec3n.h:47
integer number
Definition: matvec3n.h:47
ArrayView::~ArrayView ( void  )
inline

Definition at line 55 of file matvec3n.h.

References NO_OP.

55  {
56  NO_OP;
57  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

integer ArrayView::Last ( void  ) const
inline

Definition at line 71 of file matvec3n.h.

References number, offset, and start.

Referenced by VecN::Mult(), and Mat3xN::Mult().

71  {
72  return start + (number-1)*offset;
73  };
integer start
Definition: matvec3n.h:47
integer offset
Definition: matvec3n.h:47
integer number
Definition: matvec3n.h:47
integer ArrayView::Number ( void  ) const
inline

Definition at line 67 of file matvec3n.h.

References number.

Referenced by VecN::Mult(), and Mat3xN::Mult().

67  {
68  return number;
69  };
integer number
Definition: matvec3n.h:47
integer ArrayView::Offset ( void  ) const
inline

Definition at line 63 of file matvec3n.h.

References offset.

Referenced by VecN::Mult(), and Mat3xN::Mult().

63  {
64  return offset;
65  };
integer offset
Definition: matvec3n.h:47
integer ArrayView::Start ( void  ) const
inline

Definition at line 59 of file matvec3n.h.

References start.

Referenced by VecN::Mult(), and Mat3xN::Mult().

59  {
60  return start;
61  };
integer start
Definition: matvec3n.h:47

Member Data Documentation

integer ArrayView::number
private

Definition at line 47 of file matvec3n.h.

Referenced by Last(), and Number().

integer ArrayView::offset
private

Definition at line 47 of file matvec3n.h.

Referenced by Last(), and Offset().

integer ArrayView::start
private

Definition at line 47 of file matvec3n.h.

Referenced by Last(), and Start().


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