NormedDifference

com.alecdorrington.scalgebra.normed.NormedDifference
See theNormedDifference companion trait
object NormedDifference extends Ops

The companion object for NormedDifference.

Attributes

Companion
trait
Graph
Supertypes
trait Ops
trait Ops
trait Ops
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

trait Ops extends Ops, Ops

Attributes

Supertypes
trait Ops
trait Ops
class Object
trait Matchable
class Any
Known subtypes
trait Ops
trait Ops
trait Ops
trait Ops
trait Ops
trait Ops
trait Ops
object NormedField
object NormedRing
trait Ops
trait Ops
Show all

Types

type Over[S] = [X] =>> NormedDifference[X, S]

Value members

Concrete methods

inline def normedDifference[X, S](using ev: NormedDifference[X, S]): NormedDifference[X, S]

The NormedDifference instance describing the current algebra system.

The NormedDifference instance describing the current algebra system.

Attributes

Inherited methods

inline def distance[X, S](x: X, y: X)(using ev: NormedDifference[X, S]): S

Computes the distance between x and y, i.e. ‖x − y‖.

Computes the distance between x and y, i.e. ‖x − y‖.

Attributes

Inherited from:
Ops
inline def length[X, S](x: X)(using ev: Normed[X, S]): S

Attributes

Inherited from:
Ops
inline def subtract[X](x: X, y: X)(using X: Difference[X]): X

Computes the difference between two values x and y, i.e. x - y.

Computes the difference between two values x and y, i.e. x - y.

Attributes

Inherited from:
Ops

Exports

Defined exports

Exported from normed
Exported from normed