From 1ed46f023b88852714866a670fb2ea80b66adb77 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Sun, 13 Jul 2025 12:31:22 +0200 Subject: [PATCH 1/3] Talk about matrices in matrix docs --- docs/clay/vector_matrix.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clay/vector_matrix.qmd b/docs/clay/vector_matrix.qmd index 55facbd9..bf8954fb 100644 --- a/docs/clay/vector_matrix.qmd +++ b/docs/clay/vector_matrix.qmd @@ -3054,7 +3054,7 @@ $\mathbf{C} = \mathbf{A}^T \mathbf{B}^T$ A wide range of element-wise mathematical functions (e.g., `sin`, `cos`, `pow`) are provided, mirroring those in `fastmath.vector`. -`fmap` applies a function to each element of the vector, returning a new vector of the same type. +`fmap` applies a function to each element of the matrix, returning a new matrix of the same type. ::: {.callout-tip title="Defined functions"} * `sin`, `cos`, `tan`, `asin`, `acos`, `atan` From ff902f9f755679038dad8c809ba7b1ea1af3f777 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Sun, 13 Jul 2025 12:31:42 +0200 Subject: [PATCH 2/3] Remove reference to missing fastmath.matrix/pow function --- docs/clay/vector_matrix.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clay/vector_matrix.qmd b/docs/clay/vector_matrix.qmd index bf8954fb..3f4450f5 100644 --- a/docs/clay/vector_matrix.qmd +++ b/docs/clay/vector_matrix.qmd @@ -3052,7 +3052,7 @@ $\mathbf{C} = \mathbf{A}^T \mathbf{B}^T$ #### Element-wise Operations -A wide range of element-wise mathematical functions (e.g., `sin`, `cos`, `pow`) are provided, mirroring those in `fastmath.vector`. +A wide range of element-wise mathematical functions (e.g., `sin`, `cos`) are provided, mirroring those in `fastmath.vector`. `fmap` applies a function to each element of the matrix, returning a new matrix of the same type. From 436a9d1fbcfc795bdfeba354f3f532e0385c51f3 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Sun, 13 Jul 2025 22:06:00 +0200 Subject: [PATCH 3/3] Revert "Remove reference to missing fastmath.matrix/pow function" This reverts commit ff902f9f755679038dad8c809ba7b1ea1af3f777. --- docs/clay/vector_matrix.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clay/vector_matrix.qmd b/docs/clay/vector_matrix.qmd index 3f4450f5..bf8954fb 100644 --- a/docs/clay/vector_matrix.qmd +++ b/docs/clay/vector_matrix.qmd @@ -3052,7 +3052,7 @@ $\mathbf{C} = \mathbf{A}^T \mathbf{B}^T$ #### Element-wise Operations -A wide range of element-wise mathematical functions (e.g., `sin`, `cos`) are provided, mirroring those in `fastmath.vector`. +A wide range of element-wise mathematical functions (e.g., `sin`, `cos`, `pow`) are provided, mirroring those in `fastmath.vector`. `fmap` applies a function to each element of the matrix, returning a new matrix of the same type.