feat(linalg): F3 formula-doc public pages and T_ascii
Ship runnable public how-to pages, T_ascii/转置文本 one-step display, explicit auto-simplify, and mark formula-doc F1–F3 complete. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f3c49e86ae
commit
3ade036d34
12 files changed
+114
-81
No files matched your search
+12
-4
@@ -130,11 +130,12 @@ Absorb a `$$` numeric matrix formula (or nested list / dense map) as a dense lea
|
||||
|
||||
## explicit
|
||||
+ `expr`
|
||||
+ `raw`=False
|
||||
|
||||
Evaluate a MatExpr tree of dense/eye/zero ops to `linalg_dense` (symbols rejected).
|
||||
Evaluate to dense (default **simplify** first).
|
||||
|
||||
> ensure_plugin
|
||||
**> linalg_explicit expr=`expr`**
|
||||
**> linalg_explicit expr=`expr` raw=`raw`**
|
||||
|
||||
## det
|
||||
+ `expr`
|
||||
@@ -252,7 +253,7 @@ Numerical rank (SVD).
|
||||
Declare several matrix symbols from an `@` record table (`name` / `rows` / `cols`). Returns a map env.
|
||||
|
||||
> ensure_plugin
|
||||
**> linalg_declare table=`table`**
|
||||
**> linalg_declare table=`table` type_tag="matrix"**
|
||||
|
||||
## symbol
|
||||
+ `name`
|
||||
@@ -293,6 +294,13 @@ Matrix value (`_type=matrix`). Prefer infix `A + B` / `A * B`, or methods `` `A`
|
||||
|
||||
**> linalg_transpose expr=`self`**
|
||||
|
||||
## T_ascii
|
||||
|
||||
Transpose then display ASCII (auto-simplified). Handy for lecture identities.
|
||||
|
||||
*`Pt` = > linalg_transpose expr=`self`*
|
||||
**> linalg_ascii expr=`Pt` raw=False**
|
||||
|
||||
## add
|
||||
+ `b`
|
||||
|
||||
@@ -326,7 +334,7 @@ Matrix value (`_type=matrix`). Prefer infix `A + B` / `A * B`, or methods `` `A`
|
||||
|
||||
## explicit
|
||||
|
||||
**> linalg_explicit expr=`self`**
|
||||
**> linalg_explicit expr=`self` raw=False**
|
||||
|
||||
## det
|
||||
|
||||
|
||||
+13
-4
@@ -126,11 +126,12 @@ import sys:lib/sys.mq.md
|
||||
|
||||
## 求值
|
||||
+ `式`
|
||||
+ `原始`=False
|
||||
|
||||
将仅含稠密/单位/零阵运算的表达式求成 `linalg_dense`。
|
||||
求成稠密(默认先 **化简**)。
|
||||
|
||||
> 确保插件
|
||||
**> linalg_explicit expr=`式`**
|
||||
**> linalg_explicit expr=`式` raw=`原始`**
|
||||
|
||||
## 行列式
|
||||
+ `式`
|
||||
@@ -246,7 +247,7 @@ import sys:lib/sys.mq.md
|
||||
用 `@` 记录表一次声明多个符号矩阵(`名` / `行` / `列`)。返回环境 map。
|
||||
|
||||
> 确保插件
|
||||
**> linalg_declare table=`表`**
|
||||
**> linalg_declare table=`表` type_tag="矩阵"**
|
||||
|
||||
## 符号
|
||||
+ `名`
|
||||
@@ -287,6 +288,13 @@ import sys:lib/sys.mq.md
|
||||
|
||||
**> linalg_transpose expr=`self`**
|
||||
|
||||
## 转置文本
|
||||
|
||||
转置后输出 ASCII(默认化简)。适合讲义恒等式验收。
|
||||
|
||||
*`转` = > linalg_transpose expr=`self`*
|
||||
**> linalg_ascii expr=`转` raw=False**
|
||||
|
||||
## 加
|
||||
+ `右`
|
||||
|
||||
@@ -319,8 +327,9 @@ import sys:lib/sys.mq.md
|
||||
**> linalg_latex expr=`self` raw=False**
|
||||
|
||||
## 求值
|
||||
+ `原始`=False
|
||||
|
||||
**> linalg_explicit expr=`self`**
|
||||
**> linalg_explicit expr=`self` raw=`原始`**
|
||||
|
||||
## 行列式
|
||||
|
||||
|
||||
Reference in new issue
Block a user