Simplex

org.appliedtopology.tda4j.Simplex$package.Simplex

Constructors and operations of Simplex: Simplex(1, 2, 3) (also spelled ∆(1, 2, 3)), Simplex.from(seq), and the extension methods of SimplexOps (dim, +, union, toList, ...), found without an import.

Attributes

Experimental
true
Source
Simplex.scala
Graph
Supertypes
trait SimplexOps
class Object
trait Matchable
class Any
Self type
Simplex.type

Members list

Value members

Concrete methods

def apply[VertexT : Ordering](vertices: VertexT*): Simplex[VertexT]

Attributes

Source
Simplex.scala
def from[VertexT : Ordering, T <: Seq[VertexT]](vertices: T): Simplex[VertexT]

Attributes

Source
Simplex.scala
def unapplySeq[VertexT : Ordering](simplex: Simplex[VertexT]): Option[Seq[VertexT]]

Attributes

Source
Simplex.scala

Inherited 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

Inherited from:
SimplexInstances
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

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

The lexicographic order on simplices (simplexOrdering).

The lexicographic order on simplices (simplexOrdering).

Attributes

Inherited from:
SimplexInstances
Source
SimplexOrderedCell.scala

Givens

Inherited givens

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

Attributes

Inherited from:
SimplexInstances
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

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

Attributes

Inherited from:
SimplexInstances
Source
SimplexOrderedCell.scala

Extensions

Extensions

extension [VertexT](spx: Simplex[VertexT])
def underlying: SortedSet[VertexT]

Attributes

Source
Simplex.scala

Inherited extensions

extension [VertexT](spx: Simplex[VertexT])
def +(v: VertexT): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def ++(that: IterableOnce[VertexT]): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def -(v: VertexT): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def concat(that: IterableOnce[VertexT]): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def contains(elem: VertexT): Boolean

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def count(p: VertexT => Boolean): Int

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def dim: Int

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def drop(n: Int): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def dropIndex(n: Int): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def dropRight(n: Int): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def dropWhile(p: VertexT => Boolean): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def excl(v: VertexT): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def exists(p: VertexT => Boolean): Boolean

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def filter(pred: VertexT => Boolean): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def filterNot(pred: VertexT => Boolean): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def first: VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def firstKey: VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def firstOption: Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def flatMap[B : Ordering](f: VertexT => IterableOnce[B]): Simplex[B]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def forall(p: VertexT => Boolean): Boolean

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def foreach(f: VertexT => Unit): Unit

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def head: VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def headOption: Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def incl(v: VertexT): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def isEmpty: Boolean

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def iterator: Iterator[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def last: VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def lastKey: VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def lastOption: Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def map[B : Ordering](f: VertexT => B): Simplex[B]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def maxBefore(key: VertexT): Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def maxBy[B : Ordering](f: VertexT => B): VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def maxByOption[B : Ordering](f: VertexT => B): Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def maxOption[B >: VertexT](using ordering: Ordering[B]): Option[B]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def minAfter(key: VertexT): Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def minBy[B : Ordering](f: VertexT => B): VertexT

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def minByOption[B : Ordering](f: VertexT => B): Option[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def minOption[B >: VertexT](using ordering: Ordering[B]): Option[B]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def nonEmpty: Boolean

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def size: Int

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def tail: Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def tails: Iterator[Simplex[VertexT]]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def take(n: Int): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def takeRight(n: Int): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toArray[B >: VertexT : ClassTag]: Array[B]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toIndexedSeq: IndexedSeq[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toList: List[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toSeq: Seq[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toSet: Set[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def toSortedSet: SortedSet[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def union(that: Simplex[VertexT]): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def zip[B](that: IterableOnce[B]): IndexedSeq[(VertexT, B)]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def zipAll[V >: VertexT, B](that: Iterable[B], thisElem: V, thatElem: B): IndexedSeq[(V, B)]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def zipWithIndex: IndexedSeq[(VertexT, Int)]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala
def |(that: Simplex[VertexT]): Simplex[VertexT]

Attributes

Inherited from:
SimplexOps
Source
SimplexOps.scala