Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Types
SkylineStorage< Scalar > Class Template Reference

#include <SkylineStorage.h>

List of all members.

Public Member Functions

Index allocatedSize () const
void clear ()
Scalardiag (Index i)
const Scalardiag (Index i) const
Index diagSize () const
Scalarlower (Index i)
const Scalarlower (Index i) const
IndexlowerProfile (Index i)
const IndexlowerProfile (Index i) const
Index lowerProfileSize () const
Index lowerSize () const
SkylineStorageoperator= (const SkylineStorage &other)
void prune (Scalar reference, RealScalar epsilon=dummy_precision< RealScalar >())
void reserve (Index size, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize)
void reset ()
void resize (Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize, float reserveSizeFactor=0)
 SkylineStorage ()
 SkylineStorage (const SkylineStorage &other)
void squeeze ()
void swap (SkylineStorage &other)
Scalarupper (Index i)
const Scalarupper (Index i) const
IndexupperProfile (Index i)
const IndexupperProfile (Index i) const
Index upperProfileSize () const
Index upperSize () const
 ~SkylineStorage ()

Static Public Member Functions

static SkylineStorage Map (Index *upperProfile, Index *lowerProfile, Scalar *diag, Scalar *upper, Scalar *lower, Index size, Index upperSize, Index lowerSize)

Public Attributes

Index m_allocatedSize
Scalarm_diag
Index m_diagSize
Scalarm_lower
Indexm_lowerProfile
Index m_lowerProfileSize
Index m_lowerSize
Scalarm_upper
Indexm_upperProfile
Index m_upperProfileSize
Index m_upperSize

Protected Member Functions

void reallocate (Index diagSize, Index upperProfileSize, Index lowerProfileSize, Index upperSize, Index lowerSize)

Private Types

typedef SparseIndex Index
typedef NumTraits< Scalar >::Real RealScalar

Detailed Description

template<typename Scalar>
class SkylineStorage< Scalar >

Stores a skyline set of values in three structures : The diagonal elements The upper elements The lower elements

Definition at line 35 of file SkylineStorage.h.


Member Typedef Documentation

template<typename Scalar >
typedef SparseIndex SkylineStorage< Scalar >::Index [private]

Definition at line 37 of file SkylineStorage.h.

template<typename Scalar >
typedef NumTraits<Scalar>::Real SkylineStorage< Scalar >::RealScalar [private]

Definition at line 36 of file SkylineStorage.h.


Constructor & Destructor Documentation

template<typename Scalar >
SkylineStorage< Scalar >::SkylineStorage ( ) [inline]

Definition at line 40 of file SkylineStorage.h.

template<typename Scalar >
SkylineStorage< Scalar >::SkylineStorage ( const SkylineStorage< Scalar > &  other) [inline]

Definition at line 54 of file SkylineStorage.h.

template<typename Scalar >
SkylineStorage< Scalar >::~SkylineStorage ( ) [inline]

Definition at line 91 of file SkylineStorage.h.


Member Function Documentation

template<typename Scalar >
Index SkylineStorage< Scalar >::allocatedSize ( ) const [inline]

Definition at line 141 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::clear ( void  ) [inline]

Definition at line 145 of file SkylineStorage.h.

template<typename Scalar >
Scalar& SkylineStorage< Scalar >::diag ( Index  i) [inline]

Definition at line 149 of file SkylineStorage.h.

template<typename Scalar >
const Scalar& SkylineStorage< Scalar >::diag ( Index  i) const [inline]

Definition at line 153 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::diagSize ( ) const [inline]

Definition at line 121 of file SkylineStorage.h.

template<typename Scalar >
Scalar& SkylineStorage< Scalar >::lower ( Index  i) [inline]

Definition at line 165 of file SkylineStorage.h.

template<typename Scalar >
const Scalar& SkylineStorage< Scalar >::lower ( Index  i) const [inline]

Definition at line 169 of file SkylineStorage.h.

template<typename Scalar >
Index& SkylineStorage< Scalar >::lowerProfile ( Index  i) [inline]

Definition at line 181 of file SkylineStorage.h.

template<typename Scalar >
const Index& SkylineStorage< Scalar >::lowerProfile ( Index  i) const [inline]

Definition at line 185 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::lowerProfileSize ( ) const [inline]

Definition at line 137 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::lowerSize ( ) const [inline]

Definition at line 129 of file SkylineStorage.h.

template<typename Scalar >
static SkylineStorage SkylineStorage< Scalar >::Map ( Index upperProfile,
Index lowerProfile,
Scalar diag,
Scalar upper,
Scalar lower,
Index  size,
Index  upperSize,
Index  lowerSize 
) [inline, static]

Definition at line 189 of file SkylineStorage.h.

template<typename Scalar >
SkylineStorage& SkylineStorage< Scalar >::operator= ( const SkylineStorage< Scalar > &  other) [inline]

Definition at line 69 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::prune ( Scalar  reference,
RealScalar  epsilon = dummy_precision<RealScalar>() 
) [inline]

Definition at line 210 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::reallocate ( Index  diagSize,
Index  upperProfileSize,
Index  lowerProfileSize,
Index  upperSize,
Index  lowerSize 
) [inline, protected]

Definition at line 216 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::reserve ( Index  size,
Index  upperProfileSize,
Index  lowerProfileSize,
Index  upperSize,
Index  lowerSize 
) [inline]

Definition at line 100 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::reset ( ) [inline]

Definition at line 202 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::resize ( Index  diagSize,
Index  upperProfileSize,
Index  lowerProfileSize,
Index  upperSize,
Index  lowerSize,
float  reserveSizeFactor = 0 
) [inline]

Definition at line 111 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::squeeze ( ) [inline]

Definition at line 106 of file SkylineStorage.h.

template<typename Scalar >
void SkylineStorage< Scalar >::swap ( SkylineStorage< Scalar > &  other) [inline]

Definition at line 79 of file SkylineStorage.h.

template<typename Scalar >
Scalar& SkylineStorage< Scalar >::upper ( Index  i) [inline]

Definition at line 157 of file SkylineStorage.h.

template<typename Scalar >
const Scalar& SkylineStorage< Scalar >::upper ( Index  i) const [inline]

Definition at line 161 of file SkylineStorage.h.

template<typename Scalar >
Index& SkylineStorage< Scalar >::upperProfile ( Index  i) [inline]

Definition at line 173 of file SkylineStorage.h.

template<typename Scalar >
const Index& SkylineStorage< Scalar >::upperProfile ( Index  i) const [inline]

Definition at line 177 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::upperProfileSize ( ) const [inline]

Definition at line 133 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::upperSize ( ) const [inline]

Definition at line 125 of file SkylineStorage.h.


Member Data Documentation

template<typename Scalar >
Index SkylineStorage< Scalar >::m_allocatedSize

Definition at line 266 of file SkylineStorage.h.

template<typename Scalar >
Scalar* SkylineStorage< Scalar >::m_diag

Definition at line 256 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::m_diagSize

Definition at line 261 of file SkylineStorage.h.

template<typename Scalar >
Scalar* SkylineStorage< Scalar >::m_lower

Definition at line 258 of file SkylineStorage.h.

template<typename Scalar >
Index* SkylineStorage< Scalar >::m_lowerProfile

Definition at line 260 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::m_lowerProfileSize

Definition at line 265 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::m_lowerSize

Definition at line 263 of file SkylineStorage.h.

template<typename Scalar >
Scalar* SkylineStorage< Scalar >::m_upper

Definition at line 257 of file SkylineStorage.h.

template<typename Scalar >
Index* SkylineStorage< Scalar >::m_upperProfile

Definition at line 259 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::m_upperProfileSize

Definition at line 264 of file SkylineStorage.h.

template<typename Scalar >
Index SkylineStorage< Scalar >::m_upperSize

Definition at line 262 of file SkylineStorage.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:28