From 9b5571f8b1317b0afe64d6fdd5031a89e9f1dc66 Mon Sep 17 00:00:00 2001 From: Meik Hellmund Date: Fri, 6 Mar 2026 16:21:08 +0100 Subject: [PATCH] n\times m: negspace \! removed, too large in typst --- Notes.txt | 2 ++ chapters/7_ArraysP2.qmd | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Notes.txt b/Notes.txt index 7fa16c0..6e267d9 100644 --- a/Notes.txt +++ b/Notes.txt @@ -6,6 +6,8 @@ SoSe25: für Plots/plotlyjs + 26: es reicht, die eine Zeile mit requirejs zu entfernen. + Book25: Versuch ohne quarto-patch: LaTeX: ansi in stdout not supported, Julia errors werden total zerschossen diff --git a/chapters/7_ArraysP2.qmd b/chapters/7_ArraysP2.qmd index 23ef52c..6506b3f 100644 --- a/chapters/7_ArraysP2.qmd +++ b/chapters/7_ArraysP2.qmd @@ -371,7 +371,7 @@ In the previous examples, the following syntactic enhancement (_syntactic sugar_ :::{.callout-important} - Vector notation with comma as separator only works for vectors -- do not mix "semicolon, space, newline". -- Vectors, $1\!\times\!n$-matrices, and $n\!\times\!1$-matrices are three different things. +- Vectors, $1\times n$-matrices, and $n\times1$-matrices are three different things. ```{julia} @@ -560,7 +560,7 @@ An example is the operator `'`, which delivers the adjoint matrix `A'` to a matr - The parser converts this to the function call `adjoint(A)`. - For real matrices, the adjoint is equal to the transposed matrix. - Julia implements `adjoint()` as a _lazy function_, i.e., for efficiency reasons no new object is constructed. The method provides an alternative 'view' of the matrix (with swapped indices) and an alternative 'view' of the entries (with sign change in the imaginary part). -- The adjoint of a vector produces a $1\!\times\!n$ matrix (row vector). +- The adjoint of a vector produces a $1\times n$ matrix (row vector). ```{julia} @@ -577,7 +577,7 @@ B ``` -From vectors, `adjoint()` makes a $1\!\times\!n$-matrix (a row vector). +From vectors, `adjoint()` makes a $1\times n$-matrix (a row vector). ```{julia} @@ -666,7 +666,7 @@ It is more efficient when the innermost loop iterates over the left index, i.e., ## Mathematical Operations with Arrays -Arrays of the same dimension (e.g., all $7\!\times\!3$-matrices) form a linear space. +Arrays of the same dimension (e.g., all $7\times3$-matrices) form a linear space. - They can be multiplied by scalars and - they can be added and subtracted. @@ -690,11 +690,11 @@ The matrix product is defined for | 1st factor | 2nd factor | Product | | :-: | :-: | :-: | -| $(n\!\times\!m)$-matrix | $(m\!\times\!k)$-matrix | $(n\times k)$-matrix| -| $(n\!\times\!m)$-matrix | $m$-vector | $n$-vector | -| $(1\!\times\!m)$-row vector | $(m\!\times\!n)$-matrix | $n$-vector | -| $(1\!\times\!m)$-row vector | $m$-vector | scalar product | -| $m$-vector | $(1\times n)$-row vector | $(m\!\times\!n)$-matrix | +| $(n\times m)$-matrix | $(m\times k)$-matrix | $(n\times k)$-matrix| +| $(n\times m)$-matrix | $m$-vector | $n$-vector | +| $(1\times m)$-row vector | $(m\times n)$-matrix | $n$-vector | +| $(1\times m)$-row vector | $m$-vector | scalar product | +| $m$-vector | $(1\times n)$-row vector | $(m\times n)$-matrix | :::