`abstract class UnivariateFunction: DefinableDomain<Double>, Any`

Function with exactly one parameter of the form z = f(x).

Fields

Name Description
```val startValue: /** * [startValue] = f(lowest endpoint of [domain]). */```

startValue = f(lowest endpoint of domain).

```val endValue: /** * [endValue] = f(upper endpoint of [domain]). */```

endValue = f(upper endpoint of domain).

Constructors

Name Description
`constructor()`

Function with exactly one parameter of the form z = f(x).

## Methods

### plus

`operator fun plus(other: UnivariateFunction): StackedFunction`

Parameters

Name Description
`other: UnivariateFunction`

ReturnValue

Name Description
`StackedFunction`

### unaryMinus

`operator fun unaryMinus(): StackedFunction`

ReturnValue

Name Description
`StackedFunction`

### times

`operator fun times(m: Double): StackedFunction`

Parameters

Name Description
`m: Double`

ReturnValue

Name Description
`StackedFunction`

### div

`operator fun div(m: Double): StackedFunction`

Parameters

Name Description
`m: Double`

ReturnValue

Name Description
`StackedFunction`

### value

`fun value(x: Double): Result<Double, Exception>`

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

Parameters

Name Description
`x: Double`

parameter x of function

ReturnValue

Name Description
`Result<Double, Exception>`

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

### valueInFuzzy

`open fun valueInFuzzy(x: Double, tolerance: Double): Result<Double, Exception>`

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

Parameters

Name Description
`x: Double`

parameter x of function

`tolerance: Double`

allowed tolerance for fuzzy checking

ReturnValue

Name Description
`Result<Double, Exception>`

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

### slope

`fun slope(x: Double): (x: Double)`

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

Parameters

Name Description
`x: Double`

parameter x of function

ReturnValue

Name Description
`(x: Double)`

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

### slopeInFuzzy

`fun slopeInFuzzy(x: Double, tolerance: Double): Result<Double, Exception>`

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

Parameters

Name Description
`x: Double`

parameter x of function

`tolerance: Double`

allowed tolerance for fuzzy checking

ReturnValue

Name Description
`Result<Double, Exception>`

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