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.100 x86.64 (2240, heads/master-b90c89f82e, Sep 26 2023 19:59:25)