summaryrefslogtreecommitdiff
path: root/library/src/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-06 17:55:06 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-06 17:55:06 +0100
commitef44c3848a84d80defb15160c230207de963881e (patch)
tree63da309ecaedfed258f6f196c46b0fba0b054801 /library/src/math
parent149e2b055bbf19d6908d825817f2edbb6bb66abb (diff)
Add missing `.op` modifiers
Diffstat (limited to 'library/src/math')
-rw-r--r--library/src/math/matrix.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/matrix.rs b/library/src/math/matrix.rs
index c7b94417..d523e590 100644
--- a/library/src/math/matrix.rs
+++ b/library/src/math/matrix.rs
@@ -11,7 +11,7 @@ const VERTICAL_PADDING: Ratio = Ratio::new(0.1);
///
/// ## Example
/// ```example
-/// $ vec(a, b, c) dot vec(1, 2, 3)
+/// $ vec(a, b, c) dot.op vec(1, 2, 3)
/// = a + 2b + 3c $
/// ```
///
@@ -139,7 +139,7 @@ impl LayoutMath for MatNode {
/// ## Example
/// ```example
/// $ f(x, y) := cases(
-/// 1 "if" (x dot y)/2 <= 0,
+/// 1 "if" (x dot.op y)/2 <= 0,
/// 2 "if" x "is even",
/// 3 "if" x in NN,
/// 4 "else",