Coefficients

org.appliedtopology.tda4j.Coefficients
See theCoefficients companion object
trait Coefficients

A coefficient field chosen at runtime: Coefficients(0) for real coefficients (Double, compared within precision), Coefficients(p) for Z/p with a prime p, and Coefficients.Rationals for exact rational numbers. import coefficients.given brings the field into scope; the coefficient type is the type member C. The library's default is FiniteField.DefaultPrime (17).

Attributes

Companion
object
Experimental
true
Source
Coefficients.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type C

Attributes

Source
Coefficients.scala

Value members

Abstract methods

def characteristic: Int

p for Z/p, and 0 for the real and the rational numbers.

p for Z/p, and 0 for the real and the rational numbers.

Attributes

Source
Coefficients.scala
def fromInt(x: Int): C

Attributes

Source
Coefficients.scala

Givens

Givens

given field: is[C, Field]

Attributes

Source
Coefficients.scala