MOAB  4.9.3pre
Eigen::internal::compute_inverse_size4< Arch, Scalar, MatrixType, ResultType > Struct Template Reference

#include <InverseImpl.h>

Inheritance diagram for Eigen::internal::compute_inverse_size4< Arch, Scalar, MatrixType, ResultType >:

List of all members.

Static Public Member Functions

static EIGEN_DEVICE_FUNC void run (const MatrixType &matrix, ResultType &result)

Detailed Description

template<int Arch, typename Scalar, typename MatrixType, typename ResultType>
struct Eigen::internal::compute_inverse_size4< Arch, Scalar, MatrixType, ResultType >

Definition at line 229 of file InverseImpl.h.


Member Function Documentation

template<int Arch, typename Scalar, typename MatrixType, typename ResultType>
static EIGEN_DEVICE_FUNC void Eigen::internal::compute_inverse_size4< Arch, Scalar, MatrixType, ResultType >::run ( const MatrixType &  matrix,
ResultType &  result 
) [inline, static]

Definition at line 232 of file InverseImpl.h.

  {
    result.coeffRef(0,0) =  cofactor_4x4<MatrixType,0,0>(matrix);
    result.coeffRef(1,0) = -cofactor_4x4<MatrixType,0,1>(matrix);
    result.coeffRef(2,0) =  cofactor_4x4<MatrixType,0,2>(matrix);
    result.coeffRef(3,0) = -cofactor_4x4<MatrixType,0,3>(matrix);
    result.coeffRef(0,2) =  cofactor_4x4<MatrixType,2,0>(matrix);
    result.coeffRef(1,2) = -cofactor_4x4<MatrixType,2,1>(matrix);
    result.coeffRef(2,2) =  cofactor_4x4<MatrixType,2,2>(matrix);
    result.coeffRef(3,2) = -cofactor_4x4<MatrixType,2,3>(matrix);
    result.coeffRef(0,1) = -cofactor_4x4<MatrixType,1,0>(matrix);
    result.coeffRef(1,1) =  cofactor_4x4<MatrixType,1,1>(matrix);
    result.coeffRef(2,1) = -cofactor_4x4<MatrixType,1,2>(matrix);
    result.coeffRef(3,1) =  cofactor_4x4<MatrixType,1,3>(matrix);
    result.coeffRef(0,3) = -cofactor_4x4<MatrixType,3,0>(matrix);
    result.coeffRef(1,3) =  cofactor_4x4<MatrixType,3,1>(matrix);
    result.coeffRef(2,3) = -cofactor_4x4<MatrixType,3,2>(matrix);
    result.coeffRef(3,3) =  cofactor_4x4<MatrixType,3,3>(matrix);
    result /= (matrix.col(0).cwiseProduct(result.row(0).transpose())).sum();
  }

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