55 data.conservativeResizeLike(Eigen::VectorXd::Zero(newSize));
72 return static_cast<unsigned int>(
data.rows());
77 return static_cast<unsigned int>(
data.cols());
102 Eigen::Matrix<double,6,1> t=jac.
data.lazyProduct(src.
data);
108 array.
data.setZero();
115 return (src1.
data-src2.
data).isZero(eps);
friend void MultiplyJacobian(const Jacobian &jac, const JntArray &src, Twist &dest)
friend void Add(const JntArray &src1, const JntArray &src2, JntArray &dest)
friend void SetToZero(JntArray &array)
This class represents an fixed size array containing joint values of a KDL::Chain.
unsigned int rows() const
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Matrix< double, 6, Eigen::Dynamic > data
represents both translational and rotational velocities.
A concrete implementation of a 3 dimensional vector class.
double operator()(unsigned int i, unsigned int j=0) const
friend void Multiply(const JntArray &src, const double &factor, JntArray &dest)
void resize(unsigned int newSize)
friend void Subtract(const JntArray &src1, const JntArray &src2, JntArray &dest)
JntArray & operator=(const JntArray &arg)
friend bool operator==(const JntArray &src1, const JntArray &src2)
unsigned int columns() const
friend bool Equal(const JntArray &src1, const JntArray &src2, double eps)
friend void Divide(const JntArray &src, const double &factor, JntArray &dest)