Public Member Functions | Public Attributes | List of all members
factor.Factor Class Reference
Inheritance diagram for factor.Factor:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, index, matrix)
 

Public Attributes

 index
 
 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 22 of file factor.py.

Constructor & Destructor Documentation

◆ __init__()

def factor.Factor.__init__ (   self,
  index,
  matrix 
)

Definition at line 32 of file factor.py.

Member Data Documentation

◆ index

factor.Factor.index

Definition at line 33 of file factor.py.

◆ matrix

factor.Factor.matrix

Definition at line 34 of file factor.py.


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


pinocchio
Author(s):
autogenerated on Tue Jun 25 2024 02:42:42