Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::scalar_identity_op< Scalar > Struct Template Reference

#include <src/eigen/Eigen/src/Core/functors/NullaryFunctors.h>

Public Member Functions

template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() (IndexType row, IndexType col) const
 

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_identity_op< Scalar >

Member Function Documentation

◆ operator()()

template<typename Scalar >
template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_identity_op< Scalar >::operator() ( IndexType  row,
IndexType  col 
) const
inline
34{ return row==col ? Scalar(1) : Scalar(0); }
EIGEN_DEVICE_FUNC RowXpr row(Index i)
This is the const version of row(). *‍/.
Definition BlockMethods.h:859
EIGEN_DEVICE_FUNC ColXpr col(Index i)
This is the const version of col().
Definition BlockMethods.h:838
typename Traits< remove_cvref_t< L > >::Scalar Scalar
Definition Line.hpp:36

References col(), and row().

+ Here is the call graph for this function:

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