pinocchio  3.9.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
Factor Class Reference

Public Member Functions

 __init__ (self, index, matrix)

Public Attributes

 index = index
 matrix = matrix

Detailed Description

A factor is a part of a linear constraint corresponding either a cost ||A x - b|| or
a constraint Cx = d.
In both cases, we have Ax = sum A_i x_i, where some A_i are null. One object of
class Factor stores one of the A_i, along with the correspond <i> index. It is
simply a pair (index, matrix).

This class is used as a arguments of some of the setup functions of FactorGraph.

Definition at line 24 of file factor.py.

Constructor & Destructor Documentation

◆ __init__()

__init__(self,
index,
matrix )

Definition at line 35 of file factor.py.

Member Data Documentation

◆ index

index = index

Definition at line 36 of file factor.py.

◆ matrix

matrix = matrix

Definition at line 37 of file factor.py.


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