SimplexData

class SimplexData(val originalPoint: DoubleArray, val fractionalParts: DoubleArray, val sortedFractionIndices: IntArray, val sortedFractions: List<Double>, val vertices: List<DoubleArray>, val weights: DoubleArray)(source)

This class represents the data structure for a computed simplex. The simplex is a set of vertices, each with a weight.

Parameters

originalPoint

the point that started the simplex

fractionalParts

the fractional parts of the original point

sortedFractionIndices

the indices of the sorted fractions

sortedFractions

the fractional parts sorted

vertices

the vertices that make up the simplex

weights

the weights of the vertices

Constructors

Link copied to clipboard
constructor(originalPoint: DoubleArray, fractionalParts: DoubleArray, sortedFractionIndices: IntArray, sortedFractions: List<Double>, vertices: List<DoubleArray>, weights: DoubleArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String