Negative

com.phasmidsoftware.number.core.misc.Negative
case object Negative extends DiFuncBase[Double]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class DiFuncBase[Double]
trait DiFunc[Double]
class Object
trait Matchable
class Any
Show all
Self type
Negative.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = this.type

The mirrored *-type.

The mirrored *-type.

Attributes

Inherited from:
Singleton
type MirroredType = this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def df_dx(i: Int): Double => Double

Value parameters

i

which variable we want the partial derivative for (0<=i<arity)

Attributes

Returns

the partial derivative of f with respect to the ith variable

Inherited from:
DiFuncBase
def fromProduct(p: Product): MirroredMonoType

Creates a new instance of type T with elements taken from product p.

Creates a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Inherited fields

lazy val arity: Int

Attributes

Returns

the number of independent variables in the function

Inherited from:
DiFuncBase
lazy val f: Double => Double

Attributes

Returns

the function which transforms a value into a different value (THE function)

Inherited from:
DiFuncBase