Reciprocal

inline fun <Input, Result> Reciprocal(crossinline block: (Input) -> Result): Reciprocal<Input, Result>(source)

Creates a Reciprocal instance from a lambda.

Return

A new Reciprocal instance.

Parameters

block

The function implementing reciprocal.

Type Parameters

Input

The type of the operand.

Result

The type of the result.