Result

org.appliedtopology.tda4j.LatticeReduction.Result
case class Result(basisChange: Array[Array[Int]], reducedGram: Array[Array[Double]])

Value parameters

basisChange

U, k x k, integer, unimodular (|det U| = 1, checked internally -- a failure here indicates a bug in reduce itself, not a caller error). Column c gives the coefficients of the c-th REDUCED generator as a combination of the ORIGINAL generators: reduced_c = sum_r U(r)(c) * original_r. Apply the SAME U to any other linear stand-in for the original generators -- the harmonic cocycles themselves, or the circular coordinates they produce -- to get the reduced version of that thing (both are linear in the choice of generator).

reducedGram

U^T G U: the reduced generators' own Gram matrix. Diagonal entries are the reduced generators' own squared norms, off-diagonal their pairwise correlation under the inner product G was built from -- smaller/more-diagonal than G is the whole point of reduction, and is what a caller checks to confirm it actually helped on real data.

Attributes

Source
LatticeReduction.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala