20template<
typename T,
typename U,
22 bool NeedToTranspose = T::IsVectorAtCompileTime
23 && U::IsVectorAtCompileTime
24 && ((int(T::RowsAtCompileTime) == 1 && int(U::ColsAtCompileTime) == 1)
27 (
int(T::ColsAtCompileTime) == 1 && int(U::RowsAtCompileTime) == 1))
39template<
typename T,
typename U>
62template<
typename Derived>
63template<
typename OtherDerived>
68 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived)
70 EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,
OtherDerived)
72 EIGEN_CHECK_BINARY_COMPATIBILIY(func,Scalar,
typename OtherDerived::Scalar);
74 eigen_assert(size() == other.size());
87template<
typename Derived>
90 return numext::real((*this).cwiseAbs2().sum());
99template<
typename Derived>
103 return sqrt(squaredNorm());
112template<
typename Derived>
127template<
typename Derived>
137template<
typename Derived,
int p>
145 return pow(m.cwiseAbs().array().pow(p).sum(), RealScalar(1)/p);
149template<
typename Derived>
155 return m.cwiseAbs().sum();
159template<
typename Derived>
169template<
typename Derived>
175 return m.cwiseAbs().maxCoeff();
189template<
typename Derived>
205template<
typename Derived>
206template<
typename OtherDerived>
226template<
typename Derived>
230 for(Index i = 0; i < cols(); ++i)
232 if(!internal::isApprox(self.col(i).squaredNorm(),
static_cast<RealScalar
>(1),
prec))
234 for(Index
j = 0;
j < i; ++
j)
235 if(!internal::isMuchSmallerThan(self.col(i).dot(self.col(
j)),
static_cast<Scalar
>(1),
prec))
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
Pseudo expression representing a solving operation.
Definition Solve.h:63
Definition BinaryFunctors.h:87
Definition ForwardDeclarations.h:17