Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MathJax to Linear Algebra examples #38

Merged
merged 3 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ using (var ctx = new Z3Context())

### Problem - Linear Algebra

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

$$
x_1 - x_2 \ge 1
\\
x_1 - x_2 \le 3
\\
x_1 = 2x_3 + x_2
$$

```csharp
using (var ctx = new Z3Context())
Expand Down
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ param (
[string] $BuildModulePath,

[Parameter()]
[version] $BuildModuleVersion = "1.5.3",
[version] $BuildModuleVersion = "1.5.4",

[Parameter()]
[version] $InvokeBuildModuleVersion = "5.7.1"
[version] $InvokeBuildModuleVersion = "5.10.3"
)

$ErrorActionPreference = $ErrorActionPreference ? $ErrorActionPreference : 'Stop'
Expand Down
8 changes: 8 additions & 0 deletions examples/z3-problems.dib
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ using (var ctx = new Z3Context())

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

$$
x_1 - x_2 \ge 1
\\
x_1 - x_2 \le 3
\\
x_1 = 2x_3 + x_2
$$

#!csharp

using (var ctx = new Z3Context())
Expand Down
Loading