Norm

interface Norm<in T : Any, out R>(source)

A container for norm functional on element.

Parameters

T

the type of element having norm defined.

R

the type of norm.

Inheritors

Functions

Link copied to clipboard
abstract fun norm(arg: T): R

Computes the norm of arg (i.e., absolute value or vector length).