Libbarrett  1.2.4
Namespaces | Functions
include/barrett/math/utils.h File Reference
#include <Eigen/Core>
#include <barrett/math/detail/utils-inl.h>

Go to the source code of this file.

Namespaces

namespace  barrett
namespace  barrett::math

Functions

template<typename Derived >
const Eigen::CwiseUnaryOp
< detail::CwiseSignOp
< typename Eigen::ei_traits
< Derived >::Scalar >, Derived > 
barrett::math::sign (const Eigen::MatrixBase< Derived > &x)
double barrett::math::sign (double x)
template<typename Derived >
const Eigen::CwiseUnaryOp
< Eigen::ei_scalar_abs_op
< typename Eigen::ei_traits
< Derived >::Scalar >, Derived > 
barrett::math::abs (const Eigen::MatrixBase< Derived > &x)
template<typename Derived1 , typename Derived2 >
const Eigen::CwiseBinaryOp
< Eigen::ei_scalar_min_op
< typename Eigen::ei_traits
< Derived1 >::Scalar >
, Derived1, Derived2 > 
barrett::math::min (const Eigen::MatrixBase< Derived1 > &a, const Eigen::MatrixBase< Derived2 > &b)
double barrett::math::min (double a, double b)
template<typename Derived1 , typename Derived2 >
const Eigen::CwiseBinaryOp
< Eigen::ei_scalar_max_op
< typename Eigen::ei_traits
< Derived1 >::Scalar >
, Derived1, Derived2 > 
barrett::math::max (const Eigen::MatrixBase< Derived1 > &a, const Eigen::MatrixBase< Derived2 > &b)
double barrett::math::max (double a, double b)
template<typename Derived >
const Eigen::CwiseUnaryOp
< detail::CwiseUnarySaturateOp
< typename Eigen::ei_traits
< Derived >::Scalar >, Derived > 
barrett::math::saturate (const Eigen::MatrixBase< Derived > &x, double limit)
template<typename Derived1 , typename Derived2 >
const Eigen::CwiseBinaryOp
< detail::CwiseBinarySaturateOp
< typename Eigen::ei_traits
< Derived1 >::Scalar >
, Derived1, Derived2 > 
barrett::math::saturate (const Eigen::MatrixBase< Derived1 > &x, const Eigen::MatrixBase< Derived2 > &limit)
double barrett::math::saturate (double x, double limit)
template<typename Derived >
const Eigen::CwiseUnaryOp
< detail::CwiseUnarySaturateOp
< typename Eigen::ei_traits
< Derived >::Scalar >, Derived > 
barrett::math::saturate (const Eigen::MatrixBase< Derived > &x, double lowerLimit, double upperLimit)
double barrett::math::saturate (double x, double lowerLimit, double upperLimit)
template<typename Derived >
const Eigen::CwiseUnaryOp
< detail::CwiseUnaryDeadbandOp
< typename Eigen::ei_traits
< Derived >::Scalar >, Derived > 
barrett::math::deadband (const Eigen::MatrixBase< Derived > &x, double cutoff)
template<typename Derived1 , typename Derived2 >
const Eigen::CwiseBinaryOp
< detail::CwiseBinaryDeadbandOp
< typename Eigen::ei_traits
< Derived1 >::Scalar >
, Derived1, Derived2 > 
barrett::math::deadband (const Eigen::MatrixBase< Derived1 > &x, const Eigen::MatrixBase< Derived2 > &cutoff)
double barrett::math::deadband (double x, double cutoff)

Detailed Description

Math utilities and operators for double and descendants of barrett::math::Vector.

Date:
Oct 26, 2009
Author:
Dan Cody
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines