Functions
dynamic_graph.signal_base Namespace Reference

Functions

def matrixToString (matrix)
 
def objectToString (obj)
 
def stringToMatrix (string)
 
def stringToObject (string)
 
def stringToTuple (vector)
 
def tupleToString (vector)
 

Function Documentation

◆ matrixToString()

def dynamic_graph.signal_base.matrixToString (   matrix)
Transform a tuple of tuple of numbers into a string of format
'[n,m]((x_11,x_12,...,x_1m),...,(x_n1,x_n2,...,x_nm))'.

Definition at line 87 of file signal_base.py.

◆ objectToString()

def dynamic_graph.signal_base.objectToString (   obj)
Transform an object to a string. Object is either
  - an entity (more precisely a sub-class named Feature)
  - a matrix
  - a vector or
  - a floating point number,
  - an integer,
  - a boolean,

Definition at line 110 of file signal_base.py.

◆ stringToMatrix()

def dynamic_graph.signal_base.stringToMatrix (   string)
Transform a string of format
'[n,m]((x_11,x_12,...,x_1m),...,(x_n1,x_n2,...,x_nm))' into a tuple
of tuple of numbers.

Definition at line 52 of file signal_base.py.

◆ stringToObject()

def dynamic_graph.signal_base.stringToObject (   string)
Convert a string into one of the following types
  - a matrix (tuple of tuple),
  - a vector,
  - an integer,
  - a floating point number.
Successively attempts conversion in the above order and return
on success. If no conversion fits, the string is returned.

Definition at line 137 of file signal_base.py.

◆ stringToTuple()

def dynamic_graph.signal_base.stringToTuple (   vector)
Transform a string of format '[n](x_1,x_2,...,x_n)' into a tuple of numbers.

Definition at line 15 of file signal_base.py.

◆ tupleToString()

def dynamic_graph.signal_base.tupleToString (   vector)
Transform a tuple of numbers into a string of format
'[n](x_1, x_2, ..., x_n)'

Definition at line 40 of file signal_base.py.



dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:55:50