Algosim documentation: identity

identity

The identity map.

Syntax

Description

For any object X, identity(X) returns X.

This is the function that implements the unary plus operator +.

Examples

X ≔ RandomVector(100);
sort(X) = SortBy(X, identity)
true

See also