summaryrefslogtreecommitdiffstats
path: root/content/zettel/2e1b2.md
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-05-11 19:38:03 +0100
committerYann Herklotz <git@yannherklotz.com>2023-05-11 19:38:03 +0100
commit47c1289ff658a5aec71635d79ffe30bb29a07876 (patch)
tree56cf6b959e37fed88c492d34defd3d7ec40e7148 /content/zettel/2e1b2.md
parentfbe0fc62120348f582dc4db2b614078943d0764b (diff)
downloadzk-web-47c1289ff658a5aec71635d79ffe30bb29a07876.tar.gz
zk-web-47c1289ff658a5aec71635d79ffe30bb29a07876.zip
Add content
Diffstat (limited to 'content/zettel/2e1b2.md')
-rw-r--r--content/zettel/2e1b2.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/content/zettel/2e1b2.md b/content/zettel/2e1b2.md
new file mode 100644
index 0000000..51ebdaa
--- /dev/null
+++ b/content/zettel/2e1b2.md
@@ -0,0 +1,20 @@
++++
+title = "μ function"
+author = "Yann Herklotz"
+tags = []
+categories = []
+backlinks = ["2e1b5a", "2e1b1"]
+forwardlinks = ["2e1b3", "2e1b2a"]
+zettelid = "2e1b2"
++++
+
+The μ function only appears in loop headers, and it selects the initial
+and loop carried values for the variables in the loop. It does not come
+with a condition, and instead works exactly like a φ function, where the
+left hand value is the initial one, and the right hand value is the
+loop-carried value.
+
+ x2 = μ(x1, x3)
+
+Means that the initial value for x2 is x1, and that the consequent
+values for x2 is the value of x3.