Fuzzy

com.phasmidsoftware.lascala.values.Fuzzy
See theFuzzy companion trait
object Fuzzy

Attributes

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

Members list

Type members

Classlikes

Attributes

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

Value members

Concrete methods

def abs[T : Fractional](t: T): T
def apply[T](x: String, z: Fuzziness)(implicit fromString: FromString[T], fr: Fractional[T]): Fuzzy[T]
def div[N : Fractional](n1: N, n2: N): N
def exp(y: Double): Double
def fromInt[T : Fractional](x: Int): T
def inRange[T : Numeric](min: T, t: T, max: T): Boolean
def invert[N : Fractional](n: N): N
def minus[N : Fractional](n1: N, n2: N): N
def minus[N : Fractional](n1: N, n2: Int): N
def negate[N : Numeric](n: N): N
def plus[N : Fractional](n1: N, n2: N): N
def plus[N : Fractional](n1: N, n2: Int): N
def pow[N : Fractional](n: N, x: Int): N
def pow(x: Double, n: Double): Double
def times[N : Fractional](n1: N, n2: N): N
def times[N : Fractional](n1: N, n2: Int): N
def toFractional[M : Fractional, N : Fractional](m: M): N

TODO do this properly

TODO do this properly

Type parameters

M

the input type

N

the output type

Value parameters

m

the input value

Attributes

Returns

the value converted to the output type

def zero[T : Fractional]: T

Concrete fields