SimplexInstances

org.appliedtopology.tda4j.SimplexInstances

Simplex's default instances, mixed into object Simplex so they sit in the type's IMPLICIT scope: found with no import at all, and consulted only when no given is lexically visible -- a stream's or a user's own Simplex[V] is OrderedCell/Ordering[Simplex[V]] always wins, never ties. Lives here (not in Simplex.scala) for the same opaque-transparency reason as simplexIsOrderedCell.

Attributes

Experimental
true
Source
SimplexOrderedCell.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Simplex

Members list

Value members

Concrete methods

def fromSortedSet[VertexT](vertices: SortedSet[VertexT]): Simplex[VertexT]

The simplex on an already-sorted vertex set, without copying (the companion spelling of .asSimplex, so it is reachable through a lab's re-exported Simplex).

The simplex on an already-sorted vertex set, without copying (the companion spelling of .asSimplex, so it is reachable through a lab's re-exported Simplex).

Attributes

Source
SimplexOrderedCell.scala
def isOrderedCell[VertexT : Ordering](order: Ordering[Simplex[VertexT]]): is[Simplex[VertexT], OrderedCell]

A Simplex is OrderedCell instance with a chosen order, e.g. a stream's filtration order (simplexIsOrderedCell).

A Simplex is OrderedCell instance with a chosen order, e.g. a stream's filtration order (simplexIsOrderedCell).

Attributes

Source
SimplexOrderedCell.scala
def ordering[VertexT : Ordering]: Ordering[Simplex[VertexT]]

The lexicographic order on simplices (simplexOrdering).

The lexicographic order on simplices (simplexOrdering).

Attributes

Source
SimplexOrderedCell.scala

Givens

Givens

given defaultSimplexIsOrderedCell: [VertexT : Ordering] => is[Simplex[VertexT], OrderedCell]

Attributes

Source
SimplexOrderedCell.scala
given simplexOrderingFromCell: [VertexT] => is[Simplex[VertexT], OrderedCell] => Ordering[Simplex[VertexT]]

The order of whichever Simplex[V] is OrderedCell instance is in scope at the use site (a user's filtration-aware one, else the lexicographic default above).

The order of whichever Simplex[V] is OrderedCell instance is in scope at the use site (a user's filtration-aware one, else the lexicographic default above).

Attributes

Source
SimplexOrderedCell.scala
given simplexShow: [VertexT] => Show[Simplex[VertexT]]

Attributes

Source
SimplexOrderedCell.scala