1
0
Fork 0

零基础墨干04:如何输入矩阵和行列式

This commit is contained in:
Darcy Shen 2024-03-28 15:33:33 +08:00
parent c72089aafa
commit 88bfe722e0
3 changed files with 94 additions and 7 deletions

View File

@ -6,7 +6,7 @@
<screens|<\shown>
<tit|\<#7B2C\>03\<#8BB2\>\<#FF1A\>\<#8F93\>\<#5165\>\<#5206\>\<#6BB5\>\<#51FD\>\<#6570\>>
<tabular|<tformat|<twith|table-width|1par>|<twith|table-hmode|exact>|<cwith|2|2|2|2|cell-halign|r>|<cwith|4|4|2|2|cell-halign|r>|<cwith|2|2|3|3|cell-halign|l>|<cwith|4|4|3|3|cell-halign|l>|<cwith|1|1|2|2|cell-halign|r>|<cwith|3|3|2|2|cell-halign|r>|<cwith|2|2|4|4|cell-row-span|2>|<cwith|2|2|4|4|cell-col-span|1>|<cwith|2|2|4|4|cell-valign|c>|<table|<row|<cell|>|<cell|>|<cell|\<#9996\>\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|<cell|>>|<row|<cell|>|<cell|\<#5DE5\>\<#5177\>\<#680F\>\<#FF1A\>>|<cell|\<#6A21\>\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|<cell|\<#FF08\>\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>|<row|<cell|>|<cell|\<#83DC\>\<#5355\>\<#9879\>\<#FF1A\>>|<cell|<menu|Insert|Math|Choice>
<tabular|<tformat|<twith|table-width|1par>|<twith|table-hmode|exact>|<cwith|2|2|2|2|cell-halign|r>|<cwith|4|4|2|2|cell-halign|r>|<cwith|2|2|3|3|cell-halign|l>|<cwith|4|4|3|3|cell-halign|l>|<cwith|1|1|2|2|cell-halign|r>|<cwith|3|3|2|2|cell-halign|r>|<cwith|2|2|4|4|cell-row-span|2>|<cwith|2|2|4|4|cell-col-span|1>|<cwith|2|2|4|4|cell-valign|c>|<table|<row|<cell|>|<cell|>|<cell|\<#9996\>\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|<cell|>>|<row|<cell|>|<cell|\<#5DE5\>\<#5177\>\<#680F\>\<#FF1A\>>|<cell|\<#6A21\>\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|<cell|\<#FF08\>\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>|<row|<cell|>|<cell|\<#83DC\>\<#5355\>\<#9879\>\<#FF1A\>>|<cell|<menu|Insert|Table|Choice>
>|<cell|>>|<row|<cell|>|<cell|<LaTeX>\<#6DF7\>\<#5408\>\<#547D\>\<#4EE4\>\<#FF1A\>>|<cell|<markup|\\choice>>|<cell|>>>>>
<\equation*>
@ -32,9 +32,9 @@
<\references>
<\collection>
<associate|auto-1|<tuple|?|?|http://git.tmml.wiki/XmacsLabs/planet/raw/main/MoganSTEMTutorial/02_math_latex.tm>>
<associate|auto-2|<tuple|?|?|http://git.tmml.wiki/XmacsLabs/planet/raw/main/MoganSTEMTutorial/02_math_latex.tm>>
<associate|auto-3|<tuple|1|?|http://git.tmml.wiki/XmacsLabs/planet/raw/main/MoganSTEMTutorial/02_math_latex.tm>>
<associate|auto-1|<tuple|?|?>>
<associate|auto-2|<tuple|?|?>>
<associate|auto-3|<tuple|1|?>>
</collection>
</references>
@ -46,7 +46,7 @@
</surround>|<pageref|auto-3>>
</associate>
<\associate|idx>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#63D2\>\<#5165\>>|<with|font-family|<quote|ss>|\<#6570\>\<#5B66\>>|<with|font-family|<quote|ss>|\<#9009\>\<#62E9\>>>|<pageref|auto-1>>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#63D2\>\<#5165\>>|<with|font-family|<quote|ss>|\<#8868\>\<#683C\>>|<with|font-family|<quote|ss>|\<#9009\>\<#62E9\>>>|<pageref|auto-1>>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#5E2E\>\<#52A9\>>|<with|font-family|<quote|ss>|\<#58A8\>\<#5BA2\>\<#661F\>\<#7403\>>>|<pageref|auto-2>>
</associate>

View File

@ -0,0 +1,87 @@
<TeXmacs|2.1.2>
<style|<tuple|beamer|no-page-numbers|chinese|doc>>
<\body>
<screens|<\shown>
<tit|\<#7B2C\>04\<#8BB2\>\<#FF1A\>\<#8F93\>\<#5165\>\<#77E9\>\<#9635\>\<#548C\>\<#884C\>\<#5217\>\<#5F0F\>>
<tabular|<tformat|<twith|table-width|1par>|<twith|table-hmode|exact>|<cwith|2|2|2|2|cell-halign|r>|<cwith|4|4|2|2|cell-halign|r>|<cwith|2|2|3|3|cell-halign|l>|<cwith|4|4|3|3|cell-halign|l>|<cwith|1|1|2|2|cell-halign|r>|<cwith|3|3|2|2|cell-halign|r>|<cwith|2|2|4|4|cell-row-span|2>|<cwith|2|2|4|4|cell-col-span|1>|<cwith|2|2|4|4|cell-valign|c>|<table|<row|<cell|>|<cell|>|<cell|\<#9996\>\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|<cell|>>|<row|<cell|>|<cell|\<#5DE5\>\<#5177\>\<#680F\>\<#FF1A\>>|<cell|\<#6A21\>\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|<cell|\<#FF08\>\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>|<row|<cell|>|<cell|\<#83DC\>\<#5355\>\<#9879\>\<#FF1A\>>|<cell|<menu|Insert|Table|Matrix>
>|<cell|>>|<row|<cell|>|<cell|<LaTeX>\<#6DF7\>\<#5408\>\<#547D\>\<#4EE4\>\<#FF1A\>>|<cell|<markup|\\matrix>,<markup|\\det>,<markup|\\bmatrix>,<markup|\\Bmatrix>>|<cell|>>>>>
\<#672C\>\<#9875\>\<#5E7B\>\<#706F\>\<#7247\>\<#FF1A\>\<#70B9\>\<#51FB\><strong|<menu|Help|Planet>>\<#FF0C\>\<#70B9\>\<#51FB\><strong|\<#4ECE\>\<#96F6\>\<#5F00\>\<#59CB\>\<#5B66\>\<#58A8\>\<#5E72\>\<#7406\>\<#5DE5\>\<#5957\>\<#4EF6\>>\<#5373\>\<#53EF\>\<#627E\>\<#5230\>
\;
\<#4E5F\>\<#53EF\>\<#4EE5\>\<#4F7F\>\<#7528\>Octave\<#63D2\>\<#4EF6\>\<#FF08\><menu|Insert|Session|Octave>\<#FF09\>
<\session|octave|default>
<\folded-io>
\<gtr\>\<gtr\>\
<|folded-io>
ones(3)
<|folded-io>
<with|mode|math|math-display|true|<matrix|<tformat|<table|<row|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>>|<row|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>>|<row|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>|<cell|<with|mode|math|1>>>>>>>
</folded-io>
<\folded-io>
\<gtr\>\<gtr\>\
<|folded-io>
zeros (1, 2)
<|folded-io>
<with|mode|math|math-display|true|<matrix|<tformat|<table|<row|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>>>>>>
</folded-io>
<\folded-io>
\<gtr\>\<gtr\>\
<|folded-io>
eye(4)
<|folded-io>
<with|mode|math|math-display|true|<matrix|<tformat|<table|<row|<cell|<with|mode|math|1>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>>|<row|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|1>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>>|<row|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|1>>|<cell|<with|mode|math|0.0>>>|<row|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|0.0>>|<cell|<with|mode|math|1>>>>>>>
</folded-io>
<\folded-io>
\<gtr\>\<gtr\>\
<|folded-io>
rand (4, 3)
<|folded-io>
<with|mode|math|math-display|true|<matrix|<tformat|<table|<row|<cell|<with|mode|math|0.5594>>|<cell|<with|mode|math|0.7707>>|<cell|<with|mode|math|0.6751>>>|<row|<cell|<with|mode|math|0.4034>>|<cell|<with|mode|math|0.4454>>|<cell|<with|mode|math|0.4771>>>|<row|<cell|<with|mode|math|0.2260>>|<cell|<with|mode|math|0.6986>>|<cell|<with|mode|math|0.3410>>>|<row|<cell|<with|mode|math|0.2914>>|<cell|<with|mode|math|0.8416>>|<cell|<with|mode|math|0.9346>>>>>>>
</folded-io>
<\input>
\<gtr\>\<gtr\>\
<|input>
\;
</input>
</session>
\;
</shown>>
</body>
<\initial>
<\collection>
<associate|page-medium|beamer>
<associate|page-screen-margin|false>
</collection>
</initial>
<\references>
<\collection>
<associate|auto-1|<tuple|?|?>>
<associate|auto-2|<tuple|?|?>>
<associate|auto-3|<tuple|?|?>>
</collection>
</references>
<\auxiliary>
<\collection>
<\associate|idx>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#63D2\>\<#5165\>>|<with|font-family|<quote|ss>|\<#8868\>\<#683C\>>|<with|font-family|<quote|ss>|\<#77E9\>\<#9635\>>>|<pageref|auto-1>>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#5E2E\>\<#52A9\>>|<with|font-family|<quote|ss>|\<#58A8\>\<#5BA2\>\<#661F\>\<#7403\>>>|<pageref|auto-2>>
<tuple|<tuple|<with|font-family|<quote|ss>|\<#63D2\>\<#5165\>>|<with|font-family|<quote|ss>|\<#4F1A\>\<#8BDD\>>|<with|font-family|<quote|ss>|Octave>>|<pageref|auto-3>>
</associate>
</collection>
</auxiliary>

View File

@ -5,8 +5,6 @@
<\body>
<doc-data|<doc-title|\<#4ECE\>\<#96F6\>\<#5F00\>\<#59CB\>\<#5B66\>\<#58A8\>\<#5E72\>\<#7406\>\<#5DE5\>\<#5957\>\<#4EF6\>>>
<section*|\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>
<\itemize>
<item><hlink|\<#7B2C\>00\<#8BB2\>\<#FF1A\>\<#521D\>\<#8BC6\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>|00_math_mode.tm>
@ -15,6 +13,8 @@
<item><hlink|\<#7B2C\>02\<#8BB2\>\<#FF1A\>\<#6570\>\<#5B66\>\<#516C\>\<#5F0F\>\<#4E0E\><LaTeX>|02_math_latex.tm>
<item><hlink|\<#7B2C\>03\<#8BB2\>\<#FF1A\>\<#5982\>\<#4F55\>\<#8F93\>\<#5165\>\<#5206\>\<#6BB5\>\<#51FD\>\<#6570\>|03_math_choice.tm>
<item><hlink|\<#7B2C\>04\<#8BB2\>\<#FF1A\>\<#5982\>\<#4F55\>\<#8F93\>\<#5165\>\<#77E9\>\<#9635\>\<#548C\>\<#884C\>\<#5217\>\<#5F0F\>|04_math_matrix.tm>
</itemize>
</body>