Public Member Functions | Public Attributes | List of all members
factor.Factor Class Reference

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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 35 of file factor.py.

Member Data Documentation

◆ index

factor.Factor.index

Definition at line 36 of file factor.py.

◆ matrix

factor.Factor.matrix

Definition at line 37 of file factor.py.


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


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:14