From 310f7aa09622e8e549b4e14cc3659e22bb02d915 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 31 May 2008 18:11:48 +0000 Subject: moved purely "array" related stuff to a new module Array. This include: - cwise Pow,Sin,Cos,Exp... - cwise Greater and other comparison operators - .any(), .all() and partial reduction - random --- Eigen/src/Core/CwiseUnaryOp.h | 49 ------------------------------------------- 1 file changed, 49 deletions(-) (limited to 'Eigen/src/Core/CwiseUnaryOp.h') diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index e2ae35b3d..893c8abf6 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -196,53 +196,4 @@ MatrixBase::operator/=(const Scalar& other) return *this = *this / other; } -/** \returns an expression of the coefficient-wise square root of *this. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwiseSqrt() const -{ - return derived(); -} - -/** \returns an expression of the coefficient-wise exponential of *this. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwiseExp() const -{ - return derived(); -} - -/** \returns an expression of the coefficient-wise logarithm of *this. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwiseLog() const -{ - return derived(); -} - -/** \returns an expression of the coefficient-wise cosine of *this. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwiseCos() const -{ - return derived(); -} - -/** \returns an expression of the coefficient-wise sine of *this. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwiseSin() const -{ - return derived(); -} - -/** \returns an expression of the coefficient-wise power of *this to the given exponent. */ -template -inline const CwiseUnaryOp::Scalar>, Derived> -MatrixBase::cwisePow(const Scalar& exponent) const -{ - return CwiseUnaryOp, Derived> - (derived(), ei_scalar_pow_op(exponent)); -} - #endif // EIGEN_CWISE_UNARY_OP_H -- cgit v1.2.3