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.101 x86.64 (2282, heads/master-74be1555ff, Sep 25 2024 19:43:38)