From 6a1ccd4bd4b053d494cb9acfc8116550e3de8bec Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 27 Dec 2020 17:30:15 -0500 Subject: Commentary on arithmetic primitives from layer 1 --- docs/spec/primitive.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/spec') diff --git a/docs/spec/primitive.html b/docs/spec/primitive.html index e62158f2..334ce80b 100644 --- a/docs/spec/primitive.html +++ b/docs/spec/primitive.html @@ -93,3 +93,16 @@
  • Length () gives the number of major cells, or 1 for an argument of rank 0.
  • Depth () gives the nesting depth. It ignores the shapes of arrays, and considering only the depths of their elements.
  • +

    Arithmetic

    +

    Arithmetic functions not already provided are defined in layer 1. These definitions, like the provided functions, apply to atoms only; they should be extended to arrays using the _perv modifier from layer 2.

    + -- cgit v1.2.3