# \#mathematica

**URL:** https://discourse.julialang.org/tag/mathematica/1422.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Interoperability between Symbolics.jl and MathLink.jl](https://discourse.julialang.org/t/interoperability-between-symbolics-jl-and-mathlink-jl/128596)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [May 1, 2025, 3:30pm UTC](https://discourse.julialang.org/t/interoperability-between-symbolics-jl-and-mathlink-jl/128596 "2025-05-01T15:30:23Z")

</div>

Dear All, Is interoperability possible between Symbolics.jl and MathLink.jl? I would like to create a symbolic object in Julia, do part of the calculation using Symbolics.jl and then pass some intermediate symbolic obje…

---

## [Comparing Symbolics.jl with Mathematica](https://discourse.julialang.org/t/comparing-symbolics-jl-with-mathematica/118656)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 2\
**Last updated:** [August 27, 2024, 2:17pm UTC](https://discourse.julialang.org/t/comparing-symbolics-jl-with-mathematica/118656 "2024-08-27T14:17:46Z")

</div>

Here I compare performing some simple CAS calculations on Mathematica and on Julia using Symbolics On Mathematica On Julia using Pkg Pkg.activate("/Users/ssiew/juliascript/Symbolics") # Pkg.add("Symbolics") # Pkg.ad…

---

## [Best Practices for converting a Mathematica expression to Julia](https://discourse.julialang.org/t/best-practices-for-converting-a-mathematica-expression-to-julia/18335)

<div class="topic-metadata">

**Author:** [@OvidiusCicero](https://discourse.julialang.org/u/OvidiusCicero)\
**Replies:** 33\
**Last updated:** [April 11, 2024, 8:24pm UTC](https://discourse.julialang.org/t/best-practices-for-converting-a-mathematica-expression-to-julia/18335 "2024-04-11T20:24:36Z")

</div>

Are there suggestions how to convert a rather long Mathematica expression to Julia? With Matlab I use http://library.wolfram.com/infocenter/MathSource/577/ I also would appreciate suggestions for the same problem with …

---

## [On the solution of an unbounded optimization problem](https://discourse.julialang.org/t/on-the-solution-of-an-unbounded-optimization-problem/112373)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 1:38am UTC](https://discourse.julialang.org/t/on-the-solution-of-an-unbounded-optimization-problem/112373 "2024-04-02T01:38:19Z")

</div>

using JuMP, HiGHS M = Model(HiGHS.Optimizer) @variable(M, y, Bin) @variable(M, η) @objective(M, Min, y + η) optimize!(M) The result: Running HiGHS 1.7.0 (git hash: 50670fd4c): Copyright (c) 2024 HiGHS under MIT licenc…

---

## [How to copy Mathematica expression into a Julia function](https://discourse.julialang.org/t/how-to-copy-mathematica-expression-into-a-julia-function/97670)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 7\
**Last updated:** [March 16, 2024, 6:03am UTC](https://discourse.julialang.org/t/how-to-copy-mathematica-expression-into-a-julia-function/97670 "2024-03-16T06:03:13Z")

</div>

Very similar questions were asked before in the discourse (see e.g. this, this, and this). Answers point to MathLink where one can plug an expression like this using MathLink sqx = W\`Sqrt\[x\]\` and then evaluate this fun…

---

## [SymataSyntax.jl: Mathematica syntax for Symata](https://discourse.julialang.org/t/symatasyntax-jl-mathematica-syntax-for-symata/759)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 10:21pm UTC](https://discourse.julialang.org/t/symatasyntax-jl-mathematica-syntax-for-symata/759 "2023-08-15T22:21:26Z")

</div>

SymataSyntax.jl allows you to use Symtata with Mathematica syntax. At the moment, Mma syntax can be entered in a terminal REPL or read from a file. You need to checkout the latest master branch of Symata.jl, not the …

---

## [Calling Mathematica into Julia to symbolically solve a system of non-linear equations](https://discourse.julialang.org/t/calling-mathematica-into-julia-to-symbolically-solve-a-system-of-non-linear-equations/80518)

<div class="topic-metadata">

**Author:** [@MAC](https://discourse.julialang.org/u/MAC)\
**Replies:** 18\
**Last updated:** [May 11, 2022, 1:14am UTC](https://discourse.julialang.org/t/calling-mathematica-into-julia-to-symbolically-solve-a-system-of-non-linear-equations/80518 "2022-05-11T01:14:29Z")

</div>

I’m currently using Mathematica to symbolically solve a system of non-linear ODEs (10 equations with 8 variables) as I believe this is not yet possible using Symbolics.jl. Is anyone able to comment on whether it would b…

---

## [New Julia interface in Wolfram Mathematica works great](https://discourse.julialang.org/t/new-julia-interface-in-wolfram-mathematica-works-great/64681)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 6\
**Last updated:** [July 15, 2021, 1:57pm UTC](https://discourse.julialang.org/t/new-julia-interface-in-wolfram-mathematica-works-great/64681 "2021-07-15T13:57:13Z")

</div>

Mathematica added a built-in Julia interface in version 12 last year. I had a try and found the interface quite convenient. Here’s a short example, using Julia to speed up calculation of Fibonacci numbers, using an ineff…

---

## [Transferring a matrix from Mathematica to Julia](https://discourse.julialang.org/t/transferring-a-matrix-from-mathematica-to-julia/61910)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Replies:** 3\
**Last updated:** [June 2, 2021, 11:51am UTC](https://discourse.julialang.org/t/transferring-a-matrix-from-mathematica-to-julia/61910 "2021-06-02T11:51:39Z")

</div>

What is the recommended ways to transfer a matrix generated in Mathematica to Julia and benefits/disadvantages? My workflow is the following: generate matrices in Mathematica transfer the matrices to Julia (via some st…

---

## [Is there an interface to Mathematica through wolframescript?](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727)

<div class="topic-metadata">

**Author:** [@gangchern](https://discourse.julialang.org/u/gangchern)\
**Replies:** 22\
**Last updated:** [April 21, 2021, 11:16pm UTC](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727 "2021-04-21T23:16:26Z")

</div>

It should working as: input from julia , transform to Mathematica input , call run command: wolframescript some input . read the mathematica output and transform to julia output form So that I can use the mathematica…

---

## [What is Wolfram Language (mathematica)'s influence on Julia?](https://discourse.julialang.org/t/what-is-wolfram-language-mathematica-s-influence-on-julia/6403)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 29\
**Last updated:** [November 14, 2020, 1:58am UTC](https://discourse.julialang.org/t/what-is-wolfram-language-mathematica-s-influence-on-julia/6403 "2020-11-14T01:58:38Z")

</div>

I read on wikipedia that Julia was influenced by Mathematica. I have never used mathematica so am wondering which part of it influenced Julia? For example I know the list comprehension from Python influenced Julia.

---

## [Converting an expression to a function](https://discourse.julialang.org/t/converting-an-expression-to-a-function/44736)

<div class="topic-metadata">

**Author:** [@benoitseron](https://discourse.julialang.org/u/benoitseron)\
**Replies:** 2\
**Last updated:** [August 11, 2020, 9:24am UTC](https://discourse.julialang.org/t/converting-an-expression-to-a-function/44736 "2020-08-11T09:24:56Z")

</div>

I want to convert mathematica “expressions” into usable functions, for instance, go from the text “Abs\[omega\]” to a function f(omega) = abs(omega). I’ve seen this topic, which is helpful as it gives me a Julia expression…
