API

Theseus.combineSortedMethod

Returns a sorted matrix of points based on their indices in the original matrix. This allows for changes to some elements of the matrix in a differentiable way since zygote does not support mutating operations and the typical assignment operator mutates.

source
Theseus.forceVarMethod

Reduce the difference between the maximum and minimum forces in the network. From Schek theorem 2.

source
Theseus.lenVarMethod

Compute difference between the maximum and minimum lengths of the edges in the network.

source
Theseus.logisticFuncMethod

The derivative of the softplus function is the logistic function. A scaling parameter k can be introduced to make the inflection point more precise. This is a smooth approximation of the heaviside step function. https://en.wikipedia.org/wiki/Logistic_function

source
Theseus.pairDistMethod

Find the distance between all pairs of points in a point set. Returns a strictly lower triangular matrix.

source
Theseus.rigidSetCompareMethod

Compare the distance between all pairs of points in a target point set and the distance between all pairs of points in a form found point set.

source
Theseus.softmaxMethod

Softmax is a generalized version of the logistic function. It returns a vector of probabilities that sum to 1.

source
Theseus.softplusMethod

Softplus is a smooth approximation of the ReLU function. A sharpness parameter k may be included to make the inflection point more precise.

x is the input, b is the inflection point bias, k is the sharpness parameter for the barrier slope.

negative k raises a barrier on the left side of the inflection point. positive k raises a barrier on the right side of the inflection point.

source
Theseus.target_xyMethod

Minimize the distance between the x and y coordinates of the target nodes and their corresponding nodes in the form found network. Equal to targeting a plan projection of the target nodes. Useful if the target geometry variation is dominated by the x and y coordinates.

source
Theseus.target_xyzMethod

Minimze distances between selected target nodes and their corresponding nodes in the form found network.

source