Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::compute_inverse_size4< Arch, Scalar, MatrixType, ResultType > Struct Template Reference

#include <src/eigen/Eigen/src/LU/InverseImpl.h>

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

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 >

Member Function Documentation

◆ run()

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 
)
inlinestatic
233 {
234 result.coeffRef(0,0) = cofactor_4x4<MatrixType,0,0>(matrix);
235 result.coeffRef(1,0) = -cofactor_4x4<MatrixType,0,1>(matrix);
236 result.coeffRef(2,0) = cofactor_4x4<MatrixType,0,2>(matrix);
237 result.coeffRef(3,0) = -cofactor_4x4<MatrixType,0,3>(matrix);
238 result.coeffRef(0,2) = cofactor_4x4<MatrixType,2,0>(matrix);
239 result.coeffRef(1,2) = -cofactor_4x4<MatrixType,2,1>(matrix);
240 result.coeffRef(2,2) = cofactor_4x4<MatrixType,2,2>(matrix);
241 result.coeffRef(3,2) = -cofactor_4x4<MatrixType,2,3>(matrix);
242 result.coeffRef(0,1) = -cofactor_4x4<MatrixType,1,0>(matrix);
243 result.coeffRef(1,1) = cofactor_4x4<MatrixType,1,1>(matrix);
244 result.coeffRef(2,1) = -cofactor_4x4<MatrixType,1,2>(matrix);
245 result.coeffRef(3,1) = cofactor_4x4<MatrixType,1,3>(matrix);
246 result.coeffRef(0,3) = -cofactor_4x4<MatrixType,3,0>(matrix);
247 result.coeffRef(1,3) = cofactor_4x4<MatrixType,3,1>(matrix);
248 result.coeffRef(2,3) = -cofactor_4x4<MatrixType,3,2>(matrix);
249 result.coeffRef(3,3) = cofactor_4x4<MatrixType,3,3>(matrix);
250 result /= (matrix.col(0).cwiseProduct(result.row(0).transpose())).sum();
251 }
IGL_INLINE void sum(const Eigen::SparseMatrix< T > &X, const int dim, Eigen::SparseVector< T > &S)
Definition sum.cpp:12

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