HasValue

com.phasmidsoftware.number.core.numerical.HasValue
See theHasValue companion trait
object HasValue

Companion object for the HasValue type class.

This object provides an implicit implementation of the HasValue type class for Double values through the HasValueDouble trait.

The HasValue type class is designed to represent a type that can interoperate with fractional operations, scaling, normalization, and rendering to a string.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HasValue.type

Members list

Type members

Classlikes

An implicit object extending HasValueDouble, providing functionality for working with Double values within the HasValue type class.

An implicit object extending HasValueDouble, providing functionality for working with Double values within the HasValue type class.

This object offers default implementations of operations such as rendering, scaling, normalization, and fractional operations for Double values.

As an implicit object, it allows for automatic resolution of the HasValue type class for Double values in relevant contexts.

Attributes

Supertypes
trait IeeeOrdering
trait DoubleIsFractional
trait HasValue[Double]
trait Fractional[Double]
trait Numeric[Double]
trait Ordering[Double]
trait PartialOrdering[Double]
trait Equiv[Double]
trait Serializable
trait Comparator[Double]
class Object
trait Matchable
class Any
Show all
Self type