Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
627 B
627 B
title, description, import
| title | description | import | ||
|---|---|---|---|---|
| Transpose identity (formula document) | (AB)^T = B^T A^T as a runnable lecture fragment. |
|
Transpose reverses products
Declare shapes in a table, form (P = AB), then check ((AB)^\top = B^\top A^\top) by running the document.
main
shapes =
| @ | name | rows | cols |
|---|---|---|---|
| 1 | A | 2 | 3 |
| 2 | B | 3 | 2 |
env = > la.declare table=shapes
A = A
B = B
P = A * B
t = > P.T_ascii
print text=
t
t== "B^T*A^T"
print text=identity-ok
print text=identity-fail