Home | History | Annotate | Download | only in Core

Lines Matching defs:derived

29 template<typename Derived> class TriangularBase : public EigenBase<Derived>
34 Mode = internal::traits<Derived>::Mode,
35 CoeffReadCost = internal::traits<Derived>::CoeffReadCost,
36 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
37 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
38 MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime,
39 MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime
41 typedef typename internal::traits<Derived>::Scalar Scalar;
42 typedef typename internal::traits<Derived>::StorageKind StorageKind;
43 typedef typename internal::traits<Derived>::Index Index;
44 typedef typename internal::traits<Derived>::DenseMatrixType DenseMatrixType;
49 inline Index rows() const { return derived().rows(); }
50 inline Index cols() const { return derived().cols(); }
51 inline Index outerStride() const { return derived().outerStride(); }
52 inline Index innerStride() const { return derived().innerStride(); }
54 inline Scalar coeff(Index row, Index col) const { return derived().coeff(row,col); }
55 inline Scalar& coeffRef(Index row, Index col) { return derived().coeffRef(row,col); }
62 derived().coeffRef(row, col) = other.coeff(row, col);
77 inline const Derived& derived() const { return *static_cast<const Derived*>(this); }
78 inline Derived& derived() { return *static_cast<Derived*>(this); }
201 template<typename Other> TriangularView& operator+=(const DenseBase<Other>& other) { return *this = m_matrix + other.derived(); }
203 template<typename Other> TriangularView& operator-=(const DenseBase<Other>& other) { return *this = m_matrix - other.derived(); }
286 (m_matrix, rhs.derived());
296 (lhs.derived(),rhs.m_matrix);
358 TriangularView<SwapWrapper<MatrixType>,Mode>(const_cast<MatrixType&>(m_matrix)).lazyAssign(other.derived());
365 TriangularView<SwapWrapper<MatrixType>,Mode>(swaper).lazyAssign(other.derived());
383 return assignProduct(other.derived(),1);
389 return assignProduct(other.derived(),1);
395 return assignProduct(other.derived(),-1);
403 return assignProduct(other.derived(),other.alpha());
409 return assignProduct(other.derived(),other.alpha());
415 return assignProduct(other.derived(),-other.alpha());
608 other_evaluated.template triangularView<Mode>().lazyAssign(other.derived());
612 lazyAssign(other.derived());
632 >::run(m_matrix.const_cast_derived(), other.derived());
646 other_evaluated.template triangularView<Mode>().lazyAssign(other.derived().nestedExpression());
650 lazyAssign(other.derived().nestedExpression());
670 >::run(m_matrix.const_cast_derived(), other.derived().nestedExpression());
679 template<typename Derived>
681 void TriangularBase<Derived>::evalTo(MatrixBase<DenseDerived> &other) const
683 if(internal::traits<Derived>::Flags & EvalBeforeAssigningBit)
685 typename internal::plain_matrix_type<Derived>::type other_evaluated(rows(), cols());
687 other.derived().swap(other_evaluated);
690 evalToLazy(other.derived());
695 template<typename Derived>
697 void TriangularBase<Derived>::evalToLazy(MatrixBase<DenseDerived> &other) const
701 && internal::traits<Derived>::CoeffReadCost != Dynamic
702 && DenseDerived::SizeAtCompileTime * internal::traits<Derived>::CoeffReadCost / 2
705 other.derived().resize(this->rows(), this->cols());
708 <DenseDerived, typename internal::traits<Derived>::MatrixTypeNestedCleaned, Derived::Mode,
711 >::run(other.derived(), derived().nestedExpression());
741 template<typename Derived>
743 const typename internal::eigen2_part_return_type<Derived, Mode>::type MatrixBase<Derived>::part() const
745 return derived();
749 template<typename Derived>
751 typename internal::eigen2_part_return_type<Derived, Mode>::type MatrixBase<Derived>::part()
753 return derived();
768 template<typename Derived>
770 typename MatrixBase<Derived>::template TriangularViewReturnType<Mode>::Type
771 MatrixBase<Derived>::triangularView()
773 return derived();
777 template<typename Derived>
779 typename MatrixBase<Derived>::template ConstTriangularViewReturnType<Mode>::Type
780 MatrixBase<Derived>::triangularView() const
782 return derived();
790 template<typename Derived>
791 bool MatrixBase<Derived>::isUpperTriangular(const RealScalar& prec) const
816 template<typename Derived>
817 bool MatrixBase<Derived>::isLowerTriangular(const RealScalar& prec) const