Biorbd
Public Member Functions | List of all members
biorbd::rigidbody::GeneralizedTorque Class Reference

Class GeneralizedTorque. More...

#include <GeneralizedTorque.h>

Inheritance diagram for biorbd::rigidbody::GeneralizedTorque:
biorbd::utils::Vector

Public Member Functions

 GeneralizedTorque ()
 Construct generalized torque.
 
 GeneralizedTorque (unsigned int nTorque)
 Construct generalized torque of dimension nTorque. More...
 
 GeneralizedTorque (const biorbd::rigidbody::Joints &j)
 Construct generalized torque from a joint model. More...
 
 GeneralizedTorque (const biorbd::rigidbody::GeneralizedTorque &other)
 Construct generalized torque from anoter Generalized torque. More...
 
 GeneralizedTorque (const RigidBodyDynamics::Math::VectorNd &v)
 Construct vector from Casadi vector. More...
 
void operator= (const biorbd::utils::Vector &other)
 operator= For submatrices More...
 
- Public Member Functions inherited from biorbd::utils::Vector
 Vector ()
 Construct vector.
 
 Vector (unsigned int size)
 Construct vector of dimension size. More...
 
 Vector (const biorbd::utils::Vector &other)
 Construct vector from Casadi vector. More...
 
 Vector (const RigidBodyDynamics::Math::VectorNd &other)
 Construct vector from Casadi vector. More...
 
 Vector (const biorbd::utils::Vector3d &other)
 Construct vector from Casadi matrix. More...
 
biorbd::utils::Scalar norm (unsigned int p=2, bool skipRoot=false) const
 Return the Euclidian p-norm of the vector. More...
 
biorbd::utils::Vector normGradient (unsigned int p=2, bool skipRoot=false)
 Return the gradient of the p-norm. More...
 
void operator= (const biorbd::utils::Vector &other)
 operator= For submatrices More...
 

Detailed Description

Class GeneralizedTorque.

Definition at line 14 of file GeneralizedTorque.h.

Constructor & Destructor Documentation

◆ GeneralizedTorque() [1/4]

biorbd::rigidbody::GeneralizedTorque::GeneralizedTorque ( unsigned int  nTorque)

Construct generalized torque of dimension nTorque.

Parameters
nTorquePosition of the vector

Definition at line 10 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [2/4]

biorbd::rigidbody::GeneralizedTorque::GeneralizedTorque ( const biorbd::rigidbody::Joints j)

Construct generalized torque from a joint model.

Parameters
jThe joint model

Definition at line 16 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [3/4]

biorbd::rigidbody::GeneralizedTorque::GeneralizedTorque ( const biorbd::rigidbody::GeneralizedTorque other)

Construct generalized torque from anoter Generalized torque.

Parameters
otherThe other generalized torque

Definition at line 22 of file GeneralizedTorque.cpp.

◆ GeneralizedTorque() [4/4]

biorbd::rigidbody::GeneralizedTorque::GeneralizedTorque ( const RigidBodyDynamics::Math::VectorNd &  v)

Construct vector from Casadi vector.

Parameters
vThe vector to copy

Definition at line 28 of file GeneralizedTorque.cpp.

Member Function Documentation

◆ operator=()

void biorbd::rigidbody::GeneralizedTorque::operator= ( const biorbd::utils::Vector other)

operator= For submatrices

Parameters
otherThe vector to copy

Definition at line 46 of file GeneralizedTorque.cpp.


The documentation for this class was generated from the following files: