Derivatives¶
The methods are needed to calculated the values from our basic idea and they do exactly that.
-
derivative.get_t()¶ Method for calculating the distance vector between vertices.
Parameters: daten: numpy array
Array of the vertices in numpy form. Shape needs to be (N,2)
Returns: t-vectors
Distance vectors of the initial vertices
-
derivative.deriva(norm=True)¶ Method for calculating the derivative out of the distance vectors.
Parameters: tvec: numpy array
Numpy array of the t-vectors of form (N,2)
norm: bool, optional
If True the t-vectors are normalized
Returns: numpy array
Derivative of the t-vectors in (N,2) form