🎨 style(syntax): normalize naming conventions
Align all TSL syntax documentation examples with docs/tsl/naming.md: - Classes/types: PascalCase, drop Hungarian prefix (THuman→Human) - Parameters/locals: snake_case with meaningful names (isLeft→is_left, maxb→max_b) - Private members: snake_case_ with trailing underscore (real_part_, imaginary_part_) - Public members: PascalCase (value→Value) - Top-level functions: PascalCase (test→Test) - Module constants: kPascalCase (kernel_dll→kKernelDll) Affected: 01-24 syntax docs (23 files) Verified: 150+ code blocks locally tested, output unchanged Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
- `fmarray[...]` 可以直接构造 `FMArray` 常量。
|
||||
- `dataType(v)` 对 `FMArray` 返回 `27`。
|
||||
- `dataType(v, 1)` 可以读出 `FMArray` 单元格类型;本页文档类型包括 `0` 整型、`1` 浮点、`20` 64 位整型。
|
||||
- FMArray 相关函数的参数规格见 [../reference/catalog/system.md](../reference/catalog/system.md) 和 [../reference/catalog/math.md](../reference/catalog/math.md);本页只保留 FMArray 行为示例和返回形态边界。
|
||||
- FMArray 相关函数的参数规格见 [../codegen/special/pending/system/01_data_type.md](../codegen/special/pending/system/01_data_type.md) 和 [../codegen/builtin/math.md](../codegen/builtin/math.md);本页只保留 FMArray 行为示例和返回形态边界。
|
||||
- `ifFmarray(v)` 可直接判断值是否为 `FMArray`。
|
||||
- `mInit`、`mInitDiag`、`mRand` 都可直接生成 `FMArray`。
|
||||
- `arrayToFm` 和 `matrixToArray` 可在 `Array` / `FMArray` 间互转。
|
||||
|
||||
Reference in New Issue
Block a user