Vocabulary

math.vectors

Inputs

Outputs

Generic word contract

Computes the norm (size) of k in 𝑙₁ ( L^1 ) vector space, usually written ∥･∥₁.

Examples

See also

norm-sq, norm, l-infinity-norm, p-norm

Definition

math.vectors

Inputs

k | a sequence |

Outputs

x | a non-negative real number |

Generic word contract

Computes the norm (size) of k in 𝑙₁ ( L^1 ) vector space, usually written ∥･∥₁.

Examples

USING: math.vectors prettyprint ;
{ 1 2 3 4 } l1-norm .

10

10

See also

norm-sq, norm, l-infinity-norm, p-norm

Definition

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2190, heads/master-46c625f8dc, Feb 4 2023 19:37:27)