-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #386 from JuliaSymbolics/myb/compat
Update compat
- Loading branch information
Showing
18 changed files
with
92 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "Symbolics" | ||
uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7" | ||
authors = ["Shashi Gowda <[email protected]>"] | ||
version = "3.3.1" | ||
version = "3.4.0" | ||
|
||
[deps] | ||
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9" | ||
|
@@ -46,7 +46,7 @@ SciMLBase = "1.8" | |
Setfield = "0.7" | ||
SpecialFunctions = "0.7, 0.8, 0.9, 0.10, 1.0" | ||
StaticArrays = "1.1" | ||
SymbolicUtils = "0.15.1" | ||
SymbolicUtils = "0.16" | ||
TreeViews = "0.3" | ||
julia = "1.5" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
\begin{align} | ||
x =& y + z \\ | ||
y =& x - 3 z \\ | ||
z =& - 5 x + 4 y | ||
y =& x - 3 z | ||
\end{align} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include <math.h> | ||
void diffeqf(double* internal_var___du, const double* internal_var___u, const double* internal_var___p, const double t) { | ||
internal_var___du[0] = internal_var___p[0] * internal_var___u[0] + -1 * internal_var___u[0] * internal_var___u[1]; | ||
internal_var___du[1] = -3 * internal_var___u[1] + internal_var___u[0] * internal_var___u[1]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
diffeqf = @(t,internal_var___u) [ | ||
internal_var___p(1) * internal_var___u(1) + -1 * internal_var___u(1) * internal_var___u(2); | ||
-3 * internal_var___u(2) + internal_var___u(1) * internal_var___u(2); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
vector diffeqf(real t,vector internal_var___u,vector internal_var___p) { | ||
vector[2] internal_var___du; | ||
internal_var___du[1] = internal_var___p[1] * internal_var___u[1] + -1 * internal_var___u[1] * internal_var___u[2]; | ||
internal_var___du[2] = -3 * internal_var___u[2] + internal_var___u[1] * internal_var___u[2]; | ||
return internal_var___du; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include <math.h> | ||
void diffeqf(double* du, const double* RHS1) { | ||
du[0] = u * (M[0] * qd[0] + M[6] * qd[1] + M[0] * qd[2] + M[0] * qd[3] + M[24] * qd[4] + M[30] * qd[5]) * qd[0]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <math.h> | ||
void diffeqf(double* du, const double* RHS1) { | ||
du[0] = RHS1[0]; | ||
du[1] = RHS1[1]; | ||
du[2] = RHS1[2]; | ||
du[3] = RHS1[3]; | ||
du[4] = RHS1[4]; | ||
du[5] = RHS1[5]; | ||
du[6] = RHS1[6]; | ||
du[7] = RHS1[7]; | ||
du[8] = RHS1[8]; | ||
du[9] = RHS1[9]; | ||
du[10] = RHS1[10]; | ||
du[11] = RHS1[11]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
diffeqf = @(t,internal_var___u) [ | ||
internal_var___u(1), internal_var___u(5), internal_var___u(9); | ||
internal_var___u(2), internal_var___u(6), internal_var___u(10); | ||
internal_var___u(3), internal_var___u(7), internal_var___u(11); | ||
internal_var___u(4), internal_var___u(8), internal_var___u(12); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
vector diffeqf(real Any[],vector internal_var___u,vector internal_var___p) { | ||
vector[12] internal_var___du; | ||
internal_var___du[1] = internal_var___u[1]; | ||
internal_var___du[2] = internal_var___u[2]; | ||
internal_var___du[3] = internal_var___u[3]; | ||
internal_var___du[4] = internal_var___u[4]; | ||
internal_var___du[5] = internal_var___u[5]; | ||
internal_var___du[6] = internal_var___u[6]; | ||
internal_var___du[7] = internal_var___u[7]; | ||
internal_var___du[8] = internal_var___u[8]; | ||
internal_var___du[9] = internal_var___p[1]; | ||
internal_var___du[10] = internal_var___p[2]; | ||
internal_var___du[11] = internal_var___p[3]; | ||
internal_var___du[12] = internal_var___p[4]; | ||
return internal_var___du; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include <math.h> | ||
void diffeqf(double* du, const double* RHS1, const double* RHS2, const double RHS3) { | ||
du[0] = RHS3 + RHS1[0] + RHS2[0]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
diffeqf = @(t,internal_var___u) [ | ||
internal_var___u(1) + internal_var___u(2) + internal_var___u(3); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vector diffeqf(real t,vector internal_var___u,vector internal_var___p) { | ||
vector[1] internal_var___du; | ||
internal_var___du[1] = internal_var___u[1] + internal_var___u[2] + internal_var___p[1]; | ||
return internal_var___du; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include <math.h> | ||
void diffeqf(double* du, const double* RHS1, const double* RHS2, const double RHS3) { | ||
du[0] = 2 * RHS3 * 1 + pow(RHS1[0], 2) + 1 / RHS1[1] + pow(sin(RHS2[0]), 3.5); | ||
} |
0892bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
0892bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/45294
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: