Home | History | Annotate | Download | only in Core

Lines Matching defs:m_other

447  * indeed it seems better to declare m_other as a Packet and do the pset1() once
449 * - GCC does not like m_other as a Packet and generate a load every time it needs it
458 EIGEN_STRONG_INLINE scalar_multiple_op(const scalar_multiple_op& other) : m_other(other.m_other) { }
459 EIGEN_STRONG_INLINE scalar_multiple_op(const Scalar& other) : m_other(other) { }
460 EIGEN_STRONG_INLINE Scalar operator() (const Scalar& a) const { return a * m_other; }
462 { return internal::pmul(a, pset1<Packet>(m_other)); }
463 typename add_const_on_value_type<typename NumTraits<Scalar>::Nested>::type m_other;
472 EIGEN_STRONG_INLINE scalar_multiple2_op(const scalar_multiple2_op& other) : m_other(other.m_other) { }
473 EIGEN_STRONG_INLINE scalar_multiple2_op(const Scalar2& other) : m_other(other) { }
474 EIGEN_STRONG_INLINE result_type operator() (const Scalar1& a) const { return a * m_other; }
475 typename add_const_on_value_type<typename NumTraits<Scalar2>::Nested>::type m_other;
485 EIGEN_STRONG_INLINE scalar_quotient1_impl(const scalar_quotient1_impl& other) : m_other(other.m_other) { }
486 EIGEN_STRONG_INLINE scalar_quotient1_impl(const Scalar& other) : m_other(static_cast<Scalar>(1) / other) {}
487 EIGEN_STRONG_INLINE Scalar operator() (const Scalar& a) const { return a * m_other; }
489 { return internal::pmul(a, pset1<Packet>(m_other)); }
490 const Scalar m_other;
499 EIGEN_STRONG_INLINE scalar_quotient1_impl(const scalar_quotient1_impl& other) : m_other(other.m_other) { }
500 EIGEN_STRONG_INLINE scalar_quotient1_impl(const Scalar& other) : m_other(other) {}
501 EIGEN_STRONG_INLINE Scalar operator() (const Scalar& a) const { return a / m_other; }
502 typename add_const_on_value_type<typename NumTraits<Scalar>::Nested>::type m_other;
531 EIGEN_STRONG_INLINE scalar_constant_op(const scalar_constant_op& other) : m_other(other.m_other) { }
532 EIGEN_STRONG_INLINE scalar_constant_op(const Scalar& other) : m_other(other) { }
534 EIGEN_STRONG_INLINE const Scalar operator() (Index, Index = 0) const { return m_other; }
536 EIGEN_STRONG_INLINE const Packet packetOp(Index, Index = 0) const { return internal::pset1<Packet>(m_other); }
537 const Scalar m_other;
674 inline scalar_add_op(const scalar_add_op& other) : m_other(other.m_other) { }
675 inline scalar_add_op(const Scalar& other) : m_other(other) { }
676 inline Scalar operator() (const Scalar& a) const { return a + m_other; }
678 { return internal::padd(a, pset1<Packet>(m_other)); }
679 const Scalar m_other;
821 scalar_inverse_mult_op(const Scalar& other) : m_other(other) {}
822 inline Scalar operator() (const Scalar& a) const { return m_other / a; }
825 { return internal::pdiv(pset1<Packet>(m_other),a); }
826 Scalar m_other;