slope

fun slope(x: Double): Either<Exception, Double>

Evaluation of the slope = f'(x) with strict checking whether x is within the function's domain.

Return

returns Result.Success(slope) = f(x), if x is strictly contained in domain and evaluation was successful

Parameters

x

parameter x of function