v1.0
Public Member Functions
|
List of all members
Eigen::internal::scalar_identity_op< Scalar > Struct Template Reference
#include <
NullaryFunctors.h
>
Public Member Functions
template<typename IndexType >
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE
const
Scalar
operator()
(IndexType
row
, IndexType
col
) const
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
54
{
55
return
row
==
col
?
Scalar
(1) :
Scalar
(0);
56
}
col
m col(1)
row
m row(1)
Scalar
SCALAR Scalar
Definition:
bench_gemm.cpp:45
References
col()
, and
row()
.
The documentation for this struct was generated from the following file:
NullaryFunctors.h
Eigen
internal
scalar_identity_op
Generated on Wed Aug 27 2025 17:07:37 for MercuryDPM by
1.9.1