Skip to content

Commit 3f0be9c

Browse files
Tenth Commit
1 parent c31e5ca commit 3f0be9c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ SymSharp lets you:
2020
using SymSharp;
2121

2222
var x = new Variable("x");
23-
var expr = 2 * x + 3;
24-
var derivative = expr.Differentiate("x");
23+
var expr = new AddOperator(new MultiplyOperator(new Scalar(2.0), x), new Scalar(3.0));
24+
var derivative = expr.Derivative("x");
2525

2626
Console.WriteLine(expr); // 2x + 3
2727
Console.WriteLine(derivative); // 2
2828
2929
```
3030

31-
SymSharp makes symbolic math feel natural in C#.
31+
SymSharp makes symbolic math... *possible* in C#, and thus the majority of the .NET world.

obj/Debug/net9.0/SymSharp.AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: System.Reflection.AssemblyCompanyAttribute("SymSharp")]
1414
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
1515
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c32f75e11c5d110ffa28a8eaf09311cf651c50f3")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c31e5cac76185cbdb1a3049c3135e95727bd5228")]
1717
[assembly: System.Reflection.AssemblyProductAttribute("SymSharp")]
1818
[assembly: System.Reflection.AssemblyTitleAttribute("SymSharp")]
1919
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
083b4983fe54819ce905c4d883aba8c984085f6a1075c54515964a5f4099e128
1+
8646fdef5eabae13bc2de64ef854f03802abf6b93aa827a086c7f62aca2e187c

0 commit comments

Comments
 (0)