Skip to content

Commit 150895c

Browse files
authoredMar 18, 2024··
Merge pull request #38 from endjin/features/linear-algebra-mathjax
Add MathJax to Linear Algebra examples
2 parents 14c1298 + 4328c34 commit 150895c

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed
 

‎README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,15 @@ using (var ctx = new Z3Context())
2727

2828
### Problem - Linear Algebra
2929

30-
Solve the following system with 3 variables, with linear equalities and inequalities.
30+
Solve the following system with 3 variables, with linear equalities and inequalities:
31+
32+
$$
33+
x_1 - x_2 \ge 1
34+
\\
35+
x_1 - x_2 \le 3
36+
\\
37+
x_1 = 2x_3 + x_2
38+
$$
3139

3240
```csharp
3341
using (var ctx = new Z3Context())

‎build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ param (
7171
[string] $BuildModulePath,
7272

7373
[Parameter()]
74-
[version] $BuildModuleVersion = "1.5.3",
74+
[version] $BuildModuleVersion = "1.5.4",
7575

7676
[Parameter()]
77-
[version] $InvokeBuildModuleVersion = "5.7.1"
77+
[version] $InvokeBuildModuleVersion = "5.10.3"
7878
)
7979

8080
$ErrorActionPreference = $ErrorActionPreference ? $ErrorActionPreference : 'Stop'

‎examples/z3-problems.dib

+8
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ using (var ctx = new Z3Context())
6262

6363
Solve the following system with 3 variables, with linear equalities and inequalities.
6464

65+
$$
66+
x_1 - x_2 \ge 1
67+
\\
68+
x_1 - x_2 \le 3
69+
\\
70+
x_1 = 2x_3 + x_2
71+
$$
72+
6573
#!csharp
6674

6775
using (var ctx = new Z3Context())

0 commit comments

Comments
 (0)
Please sign in to comment.