Go to the documentation of this file.
10 #ifndef EIGEN_SPARSE_DOT_H
11 #define EIGEN_SPARSE_DOT_H
15 template<
typename Derived>
16 template<
typename OtherDerived>
24 YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY)
40 template<
typename Derived>
41 template<
typename OtherDerived>
49 YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY)
62 if (
i.index()==
j.index())
67 else if (
i.index()<
j.index())
75 template<
typename Derived>
82 template<
typename Derived>
87 return sqrt(squaredNorm());
90 template<
typename Derived>
98 #endif // EIGEN_SPARSE_DOT_H
Namespace containing all symbols from the Eigen library.
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
RealScalar squaredNorm() const
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
internal::traits< Derived >::Scalar Scalar
#define EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(TYPE0, TYPE1)
AnnoyingScalar conj(const AnnoyingScalar &x)
NumTraits< typename traits< Derived >::Scalar >::Real blueNorm_impl(const EigenBase< Derived > &_vec)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
mp::number< mp::cpp_dec_float< 100 >, mp::et_on > Real
Base class of any sparse matrices or sparse expressions.
Base class for all dense matrices, vectors, and expressions.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Jet< T, N > sqrt(const Jet< T, N > &f)
Scalar dot(const MatrixBase< OtherDerived > &other) const
RealScalar blueNorm() const
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:03:20