Power

com.phasmidsoftware.number.core.misc.Power
case class Power(y: Double) extends DiFuncBase[Double]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class DiFuncBase[Double]
trait DiFunc[Double]
class Object
trait Matchable
class Any
Show all

Members list

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 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