Lines Matching full:template
1 // This file is part of Eigen, a lightweight C++ template library
19 template<typename Transform>
31 template< typename TransformType,
38 template< typename Other,
47 template< typename Lhs,
54 template< typename Other,
63 template<typename TransformType> struct transform_take_affine_part;
65 template<int Mode> struct transform_make_affine;
177 template<typename _Scalar, int _Dim, int _Mode, int _Options>
254 template<typename Derived>
267 template<typename OtherDerived>
278 template<typename OtherDerived>
288 template<int OtherOptions>
296 template<int OtherMode,int OtherOptions>
319 m_matrix.template block<Dim,Dim+1>(0,0) = other.matrix().template block<Dim,Dim+1>(0,0);
337 template<typename OtherDerived>
344 template<typename OtherDerived>
399 template<typename OtherDerived>
411 template<typename OtherDerived> friend
422 template<typename DiagonalDerived>
437 template<typename DiagonalDerived>
449 template<typename OtherDerived>
461 // error: template instantiation resulted in unexpected function type of "Eigen::Transform<double, 3, 32, 0>
463 // (the meaning of a name may have changed since the template declaration -- the type of the template is:
467 template<int OtherMode,int OtherOptions> struct icc_11_workaround
475 template<int OtherMode,int OtherOptions>
484 template<int OtherMode,int OtherOptions>
504 template<typename OtherDerived>
507 template<typename OtherDerived>
513 template<typename OtherDerived>
516 template<typename OtherDerived>
519 template<typename RotationType>
522 template<typename RotationType>
543 template<typename Derived>
545 template<typename Derived>
547 template<typename Derived>
551 template<typename RotationMatrixType, typename ScalingMatrixType>
553 template<typename ScalingMatrixType, typename RotationMatrixType>
556 template<typename PositionDerived, typename OrientationType, typename ScaleDerived>
572 template<typename NewScalarType>
577 template<typename OtherScalarType>
581 m_matrix = other.matrix().template cast<Scalar>();
603 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,Dim>(0,0); }
609 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,Dim>(0,0); }
616 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,1>(0,Dim); }
622 { return m_matrix.template block<int(Mode)==int(Projective)?HDim:Dim,1>(0,Dim); }
684 template<typename Scalar, int Dim, int Mode,int Options>
695 template<typename Scalar, int Dim, int Mode,int Options>
711 template<typename Scalar, int Dim, int Mode, int Options>
725 template<typename Scalar, int Dim, int Mode,int Options>
736 template<typename Scalar, int Dim, int Mode, int Options>
755 template<typename Scalar, int Dim, int Mode, int Options>
778 template<typename Scalar, int Dim, int Mode, int Options>
779 template<typename OtherDerived>
793 template<typename Scalar, int Dim, int Mode, int Options>
805 template<typename Scalar, int Dim, int Mode, int Options>
806 template<typename OtherDerived>
812 m_matrix.template block<Dim,HDim>(0,0).noalias() = (other.asDiagonal() * m_matrix.template block<Dim,HDim>(0,0));
820 template<typename Scalar, int Dim, int Mode, int Options>
824 m_matrix.template topRows<Dim>() *= s;
832 template<typename Scalar, int Dim, int Mode, int Options>
833 template<typename OtherDerived>
846 template<typename Scalar, int Dim, int Mode, int Options>
847 template<typename OtherDerived>
862 * The template parameter \a RotationType is the type of the rotation which
876 template<typename Scalar, int Dim, int Mode, int Options>
877 template<typename RotationType>
892 template<typename Scalar, int Dim, int Mode, int Options>
893 template<typename RotationType>
897 m_matrix.template block<Dim,HDim>(0,0) = internal::toRotationMatrix<Scalar,Dim>(rotation)
898 * m_matrix.template block<Dim,HDim>(0,0);
907 template<typename Scalar, int Dim, int Mode, int Options>
923 template<typename Scalar, int Dim, int Mode, int Options>
929 m_matrix.template block<Dim,HDim>(0,0) = LinearMatrixType(1, sx, sy, 1) * m_matrix.template block<Dim,HDim>(0,0);
937 template<typename Scalar, int Dim, int Mode, int Options>
946 template<typename Scalar, int Dim, int Mode, int Options>
954 template<typename Scalar, int Dim, int Mode, int Options>
963 template<typename Scalar, int Dim, int Mode, int Options>
964 template<typename Derived>
973 template<typename Scalar, int Dim, int Mode, int Options>
974 template<typename Derived>
993 template<typename Scalar, int Dim, int Mode, int Options>
1014 template<typename Scalar, int Dim, int Mode, int Options>
1015 template<typename RotationMatrixType, typename ScalingMatrixType>
1043 template<typename Scalar, int Dim, int Mode, int Options>
1044 template<typename ScalingMatrixType, typename RotationMatrixType>
1064 template<typename Scalar, int Dim, int Mode, int Options>
1065 template<typename PositionDerived, typename OrientationType, typename ScaleDerived>
1079 template<int Mode>
1082 template<typename MatrixType>
1086 mat.template block<1,Dim>(Dim,0).setZero();
1091 template<>
1094 template<typename MatrixType> static void run(MatrixType &) { }
1098 template<typename TransformType, int Mode=TransformType::Mode>
1105 template<typename TransformType>
1129 * The default is the template class parameter \c Mode.
1137 template<typename Scalar, int Dim, int Mode, int Options>
1150 res.matrix().template topLeftCorner<Dim,Dim>() = linear().transpose();
1154 res.matrix().template topLeftCorner<Dim,Dim>() = linear().inverse();
1161 res.matrix().template topRightCorner<Dim,1>()
1162 = - res.matrix().template topLeftCorner<Dim,Dim>() * translation();
1174 template<typename TransformType> struct transform_take_affine_part {
1179 { return m.template block<TransformType::Dim,TransformType::HDim>(0,0); }
1181 { return m.template block<TransformType::Dim,TransformType::HDim>(0,0); }
1184 template<typename Scalar, int Dim, int Options>
1195 template<typename Other, int Mode, int Options, int Dim, int HDim>
1206 template<typename Other, int Mode, int Options, int Dim, int HDim>
1216 template<typename Other, int Mode, int Options, int Dim, int HDim>
1223 template<typename Other, int Options, int Dim, int HDim>
1227 { transform->matrix() = other.template block<Dim,HDim>(0,0); }
1234 template<int LhsMode,int RhsMode>
1247 template< typename TransformType, typename MatrixType >
1258 template< typename TransformType, typename MatrixType >
1284 template< typename TransformType, typename MatrixType >
1313 template<typename Other,int Mode, int Options, int Dim, int HDim>
1324 template<typename Other, int Options, int Dim, int HDim>
1333 res.matrix().noalias() = other.template block<HDim,Dim>(0,0) * tr.matrix();
1340 template<typename Other,int Mode, int Options, int Dim, int HDim>
1356 template<typename Other, int Options, int Dim, int HDim>
1365 res.matrix().noalias() = other.template block<Dim,Dim>(0,0) * tr.matrix();
1372 template<typename Other,int Mode, int Options, int Dim, int HDim>
1383 res.matrix().template topRows<Dim>().noalias()
1384 = other * tr.matrix().template topRows<Dim>();
1393 template<typename Scalar, int Dim, int LhsMode, int LhsOptions, int RhsMode, int RhsOptions>
1410 template<typename Scalar, int Dim, int LhsMode, int LhsOptions, int RhsMode, int RhsOptions>
1422 template<typename Scalar, int Dim, int LhsOptions, int RhsOptions>
1431 res.matrix().template topRows<Dim>() = lhs.matrix() * rhs.matrix();
1437 template<typename Scalar, int Dim, int LhsOptions, int RhsOptions>
1445 ResultType res(lhs.matrix().template leftCols<Dim>() * rhs.matrix());