-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Wolfram Language (#1014)
- Loading branch information
Showing
10 changed files
with
298 additions
and
0 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
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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
jupyter: | ||
kernelspec: | ||
display_name: Wolfram Language 13.1 | ||
language: Wolfram Language | ||
name: wolframlanguage13.1 | ||
--- | ||
|
||
**Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. | ||
|
||
|
||
We start with... | ||
|
||
```{wolfram language} | ||
Print["Hello, World!"]; | ||
``` | ||
|
||
Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: | ||
|
||
```{wolfram language} | ||
ListPlot[Prime[Range[25]]] | ||
``` | ||
|
||
We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: | ||
|
||
```{wolfram language} | ||
D[Integrate[1/(x^3 + 1), x], x] | ||
``` |
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,28 @@ | ||
(* --- *) | ||
(* jupyter: *) | ||
(* kernelspec: *) | ||
(* display_name: Wolfram Language 13.1 *) | ||
(* language: Wolfram Language *) | ||
(* name: wolframlanguage13.1 *) | ||
(* --- *) | ||
|
||
(* %% [markdown] *) | ||
(* **Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. *) | ||
|
||
(* %% [markdown] *) | ||
(* We start with... *) | ||
|
||
(* %% *) | ||
Print["Hello, World!"]; | ||
|
||
(* %% [markdown] *) | ||
(* Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: *) | ||
|
||
(* %% *) | ||
ListPlot[Prime[Range[25]]] | ||
|
||
(* %% [markdown] *) | ||
(* We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: *) | ||
|
||
(* %% *) | ||
D[Integrate[1/(x^3 + 1), x], x] |
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,28 @@ | ||
--- | ||
jupyter: | ||
kernelspec: | ||
display_name: Wolfram Language 13.1 | ||
language: Wolfram Language | ||
name: wolframlanguage13.1 | ||
--- | ||
|
||
**Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. | ||
|
||
|
||
We start with... | ||
|
||
```wolfram language | ||
Print["Hello, World!"]; | ||
``` | ||
|
||
Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: | ||
|
||
```wolfram language | ||
ListPlot[Prime[Range[25]]] | ||
``` | ||
|
||
We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: | ||
|
||
```wolfram language | ||
D[Integrate[1/(x^3 + 1), x], x] | ||
``` |
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,28 @@ | ||
--- | ||
kernelspec: | ||
display_name: Wolfram Language 13.1 | ||
language: Wolfram Language | ||
name: wolframlanguage13.1 | ||
--- | ||
|
||
**Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. | ||
|
||
+++ | ||
|
||
We start with... | ||
|
||
```{code-cell} mathematica | ||
Print["Hello, World!"]; | ||
``` | ||
|
||
Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: | ||
|
||
```{code-cell} mathematica | ||
ListPlot[Prime[Range[25]]] | ||
``` | ||
|
||
We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: | ||
|
||
```{code-cell} mathematica | ||
D[Integrate[1/(x^3 + 1), x], x] | ||
``` |
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,28 @@ | ||
(* --- *) | ||
(* jupyter: *) | ||
(* kernelspec: *) | ||
(* display_name: Wolfram Language 13.1 *) | ||
(* language: Wolfram Language *) | ||
(* name: wolframlanguage13.1 *) | ||
(* --- *) | ||
|
||
(* %% [markdown] *) | ||
(* **Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. *) | ||
|
||
(* %% [markdown] *) | ||
(* We start with... *) | ||
|
||
(* %% *) | ||
Print["Hello, World!"]; | ||
|
||
(* %% [markdown] *) | ||
(* Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: *) | ||
|
||
(* %% *) | ||
ListPlot[Prime[Range[25]]] | ||
|
||
(* %% [markdown] *) | ||
(* We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: *) | ||
|
||
(* %% *) | ||
D[Integrate[1/(x^3 + 1), x], x] |
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,21 @@ | ||
(* --- *) | ||
(* jupyter: *) | ||
(* kernelspec: *) | ||
(* display_name: Wolfram Language 13.1 *) | ||
(* language: Wolfram Language *) | ||
(* name: wolframlanguage13.1 *) | ||
(* --- *) | ||
|
||
(* **Note:** The `language_info` `file_extension` in this notebook should be `.m`, but it was deliberately changed to `.wolfram` to avoid conflicts with Matlab which is using the same extension. *) | ||
|
||
(* We start with... *) | ||
|
||
Print["Hello, World!"]; | ||
|
||
(* Then we draw the first example plot from the [ListPlot](https://reference.wolfram.com/language/ref/ListPlot.html) reference: *) | ||
|
||
ListPlot[Prime[Range[25]]] | ||
|
||
(* We also test the math outputs as in the [Simplify](https://reference.wolfram.com/language/ref/Simplify.html) example: *) | ||
|
||
D[Integrate[1/(x^3 + 1), x], x] |