cpp_robotics::ADVector
#include <auto_diff.hpp>
Inherits from Eigen::Matrix< ADScalar< DerType >, NX, 1 >
Public Types
| Name | |
|---|---|
| using ADScalar< DerType > | Scalar | 
| using Eigen::Matrix< double, NX, 1 > | RealVector | 
Public Functions
| Name | |
|---|---|
| ADVector(const size_t dim) | |
| ADVector(const DerType & x) | |
| ADVector(const size_t dim, const size_t all_dim, const size_t start) | |
| ADVector(const size_t dim, const size_t all_dim, const size_t start, const DerType & x) | |
| ADVector & | operator=(const RealVector & x) | 
| RealVector | real_cast() const | 
| ADVector | operator+(const ADVector & other) const | 
| ADVector | operator-(const ADVector & other) const | 
| void | operator+=(const ADVector & other) | 
| void | operator-=(const ADVector & other) | 
| template <class SScalar >  ADVector  | 
operator*(const SScalar & scalar) const | 
| template <class SScalar >  void  | 
operator*=(const SScalar & scalar) | 
| template <class SScalar >  ADVector  | 
operator/(const SScalar & scalar) const | 
| template <class SScalar >  void  | 
operator/=(const SScalar & scalar) | 
Friends
| Name | |
|---|---|
| ADVector | operator*(const SScalar & scalar, const ADVector & vec) | 
Detailed Description
template <class DerType ,
int NX>
class cpp_robotics::ADVector;
Public Types Documentation
using Scalar
using cpp_robotics::ADVector< DerType, NX >::Scalar =  ADScalar<DerType>;
using RealVector
using cpp_robotics::ADVector< DerType, NX >::RealVector =  Eigen::Matrix<double, NX, 1>;
Public Functions Documentation
function ADVector
inline ADVector(
    const size_t dim
)
function ADVector
inline ADVector(
    const DerType & x
)
function ADVector
inline ADVector(
    const size_t dim,
    const size_t all_dim,
    const size_t start
)
function ADVector
inline ADVector(
    const size_t dim,
    const size_t all_dim,
    const size_t start,
    const DerType & x
)
function operator=
inline ADVector & operator=(
    const RealVector & x
)
function real_cast
inline RealVector real_cast() const
function operator+
inline ADVector operator+(
    const ADVector & other
) const
function operator-
inline ADVector operator-(
    const ADVector & other
) const
function operator+=
inline void operator+=(
    const ADVector & other
)
function operator-=
inline void operator-=(
    const ADVector & other
)
function operator*
template <class SScalar >
inline ADVector operator*(
    const SScalar & scalar
) const
function operator*=
template <class SScalar >
inline void operator*=(
    const SScalar & scalar
)
function operator/
template <class SScalar >
inline ADVector operator/(
    const SScalar & scalar
) const
function operator/=
template <class SScalar >
inline void operator/=(
    const SScalar & scalar
)
Friends
friend operator*
friend ADVector operator*(
    const SScalar & scalar,
    const ADVector & vec
);
Updated on 2024-05-28 at 06:55:39 +0000