twizy_description/src/twizy_description/collada_node.py
def terminate(a):
            """Flattens a matrix of coordinates terminating each tuple with -1

            :param a: A matrix where each row represents a tuple of coordinates

            :return: A flat list where each row in the input matrix follows
                after the next, but where every row has been terminated with -1
                to separate out rows
            """

            return np.hstack((a, np.full((a.shape[0], 1), -1))).flatten()
Flattens a matrix of coordinates terminating each tuple with -1

            :param a: A matrix where each row represents a tuple of coordinates

            :return: A flat list where each row in the input matrix follows
                after the next, but where every row has been terminated with -1
                to separate out rows
            
Flattens a matrix of coordinates terminating each tuple with -1
Flattens a matrix of coordinates terminating each tuple with - 1
def terminate(a):
            return np.hstack((a, np.full((a.shape[0], 1), -1))).flatten()
def terminate ( a ) : return np . hstack ( ( a , np . full ( ( a . shape [ 0 ] , 1 ) , - 1 ) ) ) . flatten ( )
Flattens a matrix of coordinates terminating each tuple with -1
Flattens a matrix of coordinates terminating each tuple with - 1
"""Flattens a matrix of coordinates terminating each tuple with -1

            :param a: A matrix where each row represents a tuple of coordinates

            :return: A flat list where each row in the input matrix follows
                after the next, but where every row has been terminated with -1
                to separate out rows
            """
A flat list where each row in the input matrix follows
after the next, but where every row has been terminated with -1
to separate out rows
A flat list where each row in the input matrix follows after the next but where every row has been terminated with - 1 to separate out rows
a
A matrix where each row represents a tuple of coordinates
A matrix where each row represents a tuple of coordinates