MOAB  4.9.3pre
Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite > Struct Template Reference

#include <TriangularMatrix.h>

List of all members.

Public Types

enum  { col = (UnrollCount-1) / DstXprType::RowsAtCompileTime, row = (UnrollCount-1) % DstXprType::RowsAtCompileTime }
typedef Kernel::DstEvaluatorType DstEvaluatorType
typedef DstEvaluatorType::XprType DstXprType
typedef Kernel::Scalar Scalar

Static Public Member Functions

static EIGEN_DEVICE_FUNC void run (Kernel &kernel)

Detailed Description

template<typename Kernel, unsigned int Mode, int UnrollCount, bool SetOpposite>
struct Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite >

Definition at line 846 of file TriangularMatrix.h.


Member Typedef Documentation

template<typename Kernel , unsigned int Mode, int UnrollCount, bool SetOpposite>
typedef Kernel::DstEvaluatorType Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite >::DstEvaluatorType

Definition at line 849 of file TriangularMatrix.h.

template<typename Kernel , unsigned int Mode, int UnrollCount, bool SetOpposite>
typedef DstEvaluatorType::XprType Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite >::DstXprType

Definition at line 850 of file TriangularMatrix.h.

template<typename Kernel , unsigned int Mode, int UnrollCount, bool SetOpposite>
typedef Kernel::Scalar Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite >::Scalar

Definition at line 857 of file TriangularMatrix.h.


Member Enumeration Documentation

template<typename Kernel , unsigned int Mode, int UnrollCount, bool SetOpposite>
anonymous enum
Enumerator:
col 
row 

Definition at line 852 of file TriangularMatrix.h.

       {
    col = (UnrollCount-1) / DstXprType::RowsAtCompileTime,
    row = (UnrollCount-1) % DstXprType::RowsAtCompileTime
  };

Member Function Documentation

template<typename Kernel , unsigned int Mode, int UnrollCount, bool SetOpposite>
static EIGEN_DEVICE_FUNC void Eigen::internal::triangular_assignment_loop< Kernel, Mode, UnrollCount, SetOpposite >::run ( Kernel &  kernel) [inline, static]

Definition at line 860 of file TriangularMatrix.h.

  {
    triangular_assignment_loop<Kernel, Mode, UnrollCount-1, SetOpposite>::run(kernel);
    
    if(row==col)
      kernel.assignDiagonalCoeff(row);
    else if( ((Mode&Lower) && row>col) || ((Mode&Upper) && row<col) )
      kernel.assignCoeff(row,col);
    else if(SetOpposite)
      kernel.assignOppositeCoeff(row,col);
  }

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