Instance Constructors
-
new
ApproximateGradientFunction(f: (T) ⇒ Double, epsilon: Double = 1.0E-5)(implicit zeros: CanCreateZerosLike[T, T], view: <:<[T, Tensor[K, Double]], copy: CanCopy[T])
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
andThen[A](g: (Double) ⇒ A): (T) ⇒ A
-
final
def
apply(x: T): Double
-
final
def
asInstanceOf[T0]: T0
-
def
calculate(x: T): (Double, T)
-
def
calculateAndPrint(x: T, trueGrad: T): (Double, T)
-
def
clone(): AnyRef
-
def
compose[A](g: (A) ⇒ T): (A) ⇒ Double
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
gradientAt(x: T): T
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
throughLens[U](implicit l: Isomorphism[T, U]): DiffFunction[U]
-
def
toString(): String
-
def
valueAt(x: T): Double
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from (T) ⇒ Double
Inherited from AnyRef
Inherited from Any
Approximates a gradient by finite differences.