DiFunc

com.phasmidsoftware.number.core.misc.DiFunc
trait DiFunc[X]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DiFuncBase[X]
object Inverse
object Negative
class Power
class Times
Show all

Members list

Value members

Abstract methods

def arity: Int

Attributes

Returns

the number of independent variables in the function

def df_dx(i: Int): X => 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

def f: X => X

Attributes

Returns

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