MOAB  4.9.3pre
Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator Class Reference

InnerIterator class to iterate over nonzero values of the current column in the supernodal matrix L. More...

#include <SparseLU_SupernodalMatrix.h>

Collaboration diagram for Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator:

List of all members.

Public Member Functions

 InnerIterator (const MappedSuperNodalMatrix &mat, Index outer)
InnerIteratoroperator++ ()
Scalar value () const
ScalarvalueRef ()
Index index () const
Index row () const
Index col () const
Index supIndex () const
 operator bool () const

Protected Attributes

const MappedSuperNodalMatrixm_matrix
const Index m_outer
const Index m_supno
Index m_idval
const Index m_startidval
const Index m_endidval
Index m_idrow
Index m_endidrow

Detailed Description

template<typename _Scalar, typename _StorageIndex>
class Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator

InnerIterator class to iterate over nonzero values of the current column in the supernodal matrix L.

Definition at line 182 of file SparseLU_SupernodalMatrix.h.


Constructor & Destructor Documentation

template<typename _Scalar, typename _StorageIndex>
Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::InnerIterator ( const MappedSuperNodalMatrix mat,
Index  outer 
) [inline]

Definition at line 185 of file SparseLU_SupernodalMatrix.h.

      : m_matrix(mat),
        m_outer(outer),
        m_supno(mat.colToSup()[outer]),
        m_idval(mat.colIndexPtr()[outer]),
        m_startidval(m_idval),
        m_endidval(mat.colIndexPtr()[outer+1]),
        m_idrow(mat.rowIndexPtr()[mat.supToCol()[mat.colToSup()[outer]]]),
        m_endidrow(mat.rowIndexPtr()[mat.supToCol()[mat.colToSup()[outer]]+1])
    {}

Member Function Documentation

template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::col ( ) const [inline]

Definition at line 207 of file SparseLU_SupernodalMatrix.h.

{ return m_outer; }
template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::index ( ) const [inline]

Definition at line 205 of file SparseLU_SupernodalMatrix.h.

{ return m_matrix.rowIndex()[m_idrow]; }
template<typename _Scalar, typename _StorageIndex>
Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::operator bool ( ) const [inline]

Definition at line 211 of file SparseLU_SupernodalMatrix.h.

    { 
      return ( (m_idval < m_endidval) && (m_idval >= m_startidval)
                && (m_idrow < m_endidrow) );
    }
template<typename _Scalar, typename _StorageIndex>
InnerIterator& Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::operator++ ( ) [inline]

Definition at line 195 of file SparseLU_SupernodalMatrix.h.

    { 
      m_idval++; 
      m_idrow++;
      return *this;
    }
template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::row ( ) const [inline]

Definition at line 206 of file SparseLU_SupernodalMatrix.h.

{ return index(); }
template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::supIndex ( ) const [inline]

Definition at line 209 of file SparseLU_SupernodalMatrix.h.

{ return m_supno; }
template<typename _Scalar, typename _StorageIndex>
Scalar Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::value ( ) const [inline]

Definition at line 201 of file SparseLU_SupernodalMatrix.h.

{ return m_matrix.valuePtr()[m_idval]; }
template<typename _Scalar, typename _StorageIndex>
Scalar& Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::valueRef ( ) [inline]

Definition at line 203 of file SparseLU_SupernodalMatrix.h.

{ return const_cast<Scalar&>(m_matrix.valuePtr()[m_idval]); }

Member Data Documentation

template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_endidrow [protected]

Definition at line 225 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
const Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_endidval [protected]

Definition at line 223 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_idrow [protected]

Definition at line 224 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_idval [protected]

Definition at line 221 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
const MappedSuperNodalMatrix& Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_matrix [protected]

Definition at line 218 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
const Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_outer [protected]

Definition at line 219 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
const Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_startidval [protected]

Definition at line 222 of file SparseLU_SupernodalMatrix.h.

template<typename _Scalar, typename _StorageIndex>
const Index Eigen::internal::MappedSuperNodalMatrix< _Scalar, _StorageIndex >::InnerIterator::m_supno [protected]

Definition at line 220 of file SparseLU_SupernodalMatrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines