# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=98

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

**Page:** 99

---

## [Build\_function performance issues](https://discourse.julialang.org/t/build-function-performance-issues/116834)

<div class="topic-metadata">

**Author:** [@JosephChoi](https://discourse.julialang.org/u/JosephChoi)\
**Replies:** 1\
**Last updated:** [July 10, 2024, 3:23am UTC](https://discourse.julialang.org/t/build-function-performance-issues/116834 "2024-07-10T03:23:09Z")

</div>

When using functions generated with build\_function with expression = Val{false}, I’m getting performance issues compared to manually written functions. Am I using build\_function incorrectly or are there some additional s…

---

## [Question about DataDrivenDiffEq / UDE / Symbolic Regression failing for very sparse settings](https://discourse.julialang.org/t/question-about-datadrivendiffeq-ude-symbolic-regression-failing-for-very-sparse-settings/114320)

<div class="topic-metadata">

**Author:** [@Brian\_Hartley](https://discourse.julialang.org/u/Brian_Hartley)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 11:23pm UTC](https://discourse.julialang.org/t/question-about-datadrivendiffeq-ude-symbolic-regression-failing-for-very-sparse-settings/114320 "2024-07-09T23:23:31Z")

</div>

Hello, I’m playing around with symbolic regression and UDEs for a larger problem and have run into some difficulties. It seems that for various methods, the symbolic regression simply fails with zeros method errors and …

---

## [Parquet2jl: ThriftInvalidFinalReadState: while attempting to read Parquet2.Metadata.Statistics](https://discourse.julialang.org/t/parquet2jl-thriftinvalidfinalreadstate-while-attempting-to-read-parquet2-metadata-statistics/116668)

<div class="topic-metadata">

**Author:** [@PavloPolovyi](https://discourse.julialang.org/u/PavloPolovyi)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 10:02pm UTC](https://discourse.julialang.org/t/parquet2jl-thriftinvalidfinalreadstate-while-attempting-to-read-parquet2-metadata-statistics/116668 "2024-07-09T22:02:28Z")

</div>

Got this error when trying to open parquet files converted from arrow and compressed with snappy by js library called parquet-wasm. Opening with pyarrow or r-arrow works fine. Parquet2jl version 0.2.24 (also earlier vers…

---

## [Problem in Optim.jl using Fminbox and f\_calls\_limit](https://discourse.julialang.org/t/problem-in-optim-jl-using-fminbox-and-f-calls-limit/116820)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 2\
**Last updated:** [July 9, 2024, 6:42pm UTC](https://discourse.julialang.org/t/problem-in-optim-jl-using-fminbox-and-f-calls-limit/116820 "2024-07-09T18:42:43Z")

</div>

I have found a problem in Optim.jl using Fminbox and f\_calls\_limit, it is not well respected the limit. For instead, using the example for the documentation: julia\> using Optim julia\> f(x) = (1.0 - x\[1\])^2 + 100.0 \* (x…

---

## [3D array visualization](https://discourse.julialang.org/t/3d-array-visualization/116822)

<div class="topic-metadata">

**Author:** [@nams](https://discourse.julialang.org/u/nams)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 5:35pm UTC](https://discourse.julialang.org/t/3d-array-visualization/116822 "2024-07-09T17:35:01Z")

</div>

Hi all, I am looking for a function similar to PyPlot matshow to visualize a 3D array of integers. Does anyone can help me. Thanks.

---

## [Change linear solver using JuMP, Hypatia](https://discourse.julialang.org/t/change-linear-solver-using-jump-hypatia/116306)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 11:41am UTC](https://discourse.julialang.org/t/change-linear-solver-using-jump-hypatia/116306 "2024-07-09T11:41:23Z")

</div>

Hello :slight\_smile: I am using Hypatia with JuMP, and I want to change the Linear Solver inside it. How can I do ? I found out the following : user\_options = ( "mu\_strategy" =\> "monotone", "linear\_solver" =\> "ma27"…

---

## [Hacking LineSearches.jl to parallelize step estimation](https://discourse.julialang.org/t/hacking-linesearches-jl-to-parallelize-step-estimation/116787)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 10\
**Last updated:** [July 9, 2024, 9:38am UTC](https://discourse.julialang.org/t/hacking-linesearches-jl-to-parallelize-step-estimation/116787 "2024-07-09T09:38:35Z")

</div>

I want to hack Linesearches.jl to be able to stick a @threads macro on the linesearch part. I have an objective function for an optimization problem which has many parameters and is also very expensive to compute. This …

---

## [How can I get specific values out of JuMP's variables?](https://discourse.julialang.org/t/how-can-i-get-specific-values-out-of-jumps-variables/116795)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 4\
**Last updated:** [July 9, 2024, 8:00am UTC](https://discourse.julialang.org/t/how-can-i-get-specific-values-out-of-jumps-variables/116795 "2024-07-09T08:00:02Z")

</div>

I want to use my own function as the objective function and optimize it using JuMP.jl. In this function, I use JuMP variables internally as Vector{Float64} to make the calculation more efficient. However, the type of J…

---

## [Macros for compositional modeling in Catalyst not working](https://discourse.julialang.org/t/macros-for-compositional-modeling-in-catalyst-not-working/116568)

<div class="topic-metadata">

**Author:** [@VincentW](https://discourse.julialang.org/u/VincentW)\
**Replies:** 6\
**Last updated:** [July 8, 2024, 9:11pm UTC](https://discourse.julialang.org/t/macros-for-compositional-modeling-in-catalyst-not-working/116568 "2024-07-08T21:11:45Z")

</div>

Dear all, I try to get into compositional modeling of reaction systems using the Catalyst.jl package. However, when I want to execute just their tutorial from the documentation, using Catalyst degradation\_component = …

---

## [Nonlinear optimization with ODE solution in nonlinear constraint](https://discourse.julialang.org/t/nonlinear-optimization-with-ode-solution-in-nonlinear-constraint/116730)

<div class="topic-metadata">

**Author:** [@afossa](https://discourse.julialang.org/u/afossa)\
**Replies:** 6\
**Last updated:** [July 8, 2024, 5:51pm UTC](https://discourse.julialang.org/t/nonlinear-optimization-with-ode-solution-in-nonlinear-constraint/116730 "2024-07-08T17:51:54Z")

</div>

Hello, I am trying to model and solve a fairly complex constrained nonlinear optimization problem. The main issue is that to compute some equality constraints I need to solve an ODE numerically. So far, I have been abl…

---

## [Reparametrized Beta(μ, σ²) in Turing: how to set a prior that depends on another parameter?](https://discourse.julialang.org/t/reparametrized-beta-in-turing-how-to-set-a-prior-that-depends-on-another-parameter/116753)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 3:35pm UTC](https://discourse.julialang.org/t/reparametrized-beta-in-turing-how-to-set-a-prior-that-depends-on-another-parameter/116753 "2024-07-08T15:35:19Z")

</div>

I am trying to model data between \]0, 1\[ using Bayesian regressions in Turing. It is fairly common to use a Mean/Variance parametrization to the Beta (see Wikipedia), allowing to express priors on intuitive quantities. …

---

## [Rubbish values from gpu kernel](https://discourse.julialang.org/t/rubbish-values-from-gpu-kernel/116632)

<div class="topic-metadata">

**Author:** [@Abdelrahman912](https://discourse.julialang.org/u/Abdelrahman912)\
**Replies:** 5\
**Last updated:** [July 8, 2024, 3:06pm UTC](https://discourse.julialang.org/t/rubbish-values-from-gpu-kernel/116632 "2024-07-08T15:06:46Z")

</div>

Hi, I am trying to assemble global stiffness matrix using GPU and coloring algorithm, so after coloring (i.e. group non adjacent cells in the same color) I have to launch a kernel for each color and by doing so, we don’…

---

## [Falling Behind - Julia for genomics?](https://discourse.julialang.org/t/falling-behind-julia-for-genomics/116552)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 7\
**Last updated:** [July 8, 2024, 2:57pm UTC](https://discourse.julialang.org/t/falling-behind-julia-for-genomics/116552 "2024-07-08T14:57:04Z")

</div>

I just saw in BioRxiv that a group has developed a pythonic pipeline for parallel processing of 3d epigenetic profiles. Other than the rather forced attempt at alliteration and the distinct lack of creativity in naming …

---

## [How to accelerate the imfiter() operation?](https://discourse.julialang.org/t/how-to-accelerate-the-imfiter-operation/102965)

<div class="topic-metadata">

**Author:** [@RunguangLi](https://discourse.julialang.org/u/RunguangLi)\
**Replies:** 8\
**Last updated:** [July 8, 2024, 11:06am UTC](https://discourse.julialang.org/t/how-to-accelerate-the-imfiter-operation/102965 "2024-07-08T11:06:53Z")

</div>

My task contains hundreds of thousands of convolution operations like the following one. Each cost 11s now. I wonder if anyone can help to accelerate it. using ImageFiltering @time imfilter(Float32, rand(Int8, 300, 300,…

---

## [MTK MethodError with SymbolicUtils.BasicSymbolic{Real} - how to debug?](https://discourse.julialang.org/t/mtk-methoderror-with-symbolicutils-basicsymbolic-real-how-to-debug/116735)

<div class="topic-metadata">

**Author:** [@Bumlebi](https://discourse.julialang.org/u/Bumlebi)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 9:06am UTC](https://discourse.julialang.org/t/mtk-methoderror-with-symbolicutils-basicsymbolic-real-how-to-debug/116735 "2024-07-08T09:06:55Z")

</div>

I’m in the process of building a set of modeling blocks for a gas system, and I’m currently on working on orifices. Despite having registered my functions and symbolics, I get MethodError for what I can only assume to be…

---

## [Polynomial manipulation](https://discourse.julialang.org/t/polynomial-manipulation/114313)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 45\
**Last updated:** [July 8, 2024, 9:02am UTC](https://discourse.julialang.org/t/polynomial-manipulation/114313 "2024-07-08T09:02:36Z")

</div>

This is not my field of expertise, but I’m curious about whether Julia has some package that can solve my problem… I have some fraction f(x) of polynomials consisting of a numerator polynomial n(x) and a denominator pol…

---

## [Custom color gradient transition points for heatmap in Plots using pyplot backend](https://discourse.julialang.org/t/custom-color-gradient-transition-points-for-heatmap-in-plots-using-pyplot-backend/116724)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 5\
**Last updated:** [July 8, 2024, 8:24am UTC](https://discourse.julialang.org/t/custom-color-gradient-transition-points-for-heatmap-in-plots-using-pyplot-backend/116724 "2024-07-08T08:24:55Z")

</div>

Hello, I am trying to plot a heatmap using a custom color gradient. More precisely, I want to space out the colors in a particular way. However, I am unable to set the color gradient appropriately using the pyplot pack…

---

## [Trying to solve a large system of highly stiff differential equations](https://discourse.julialang.org/t/trying-to-solve-a-large-system-of-highly-stiff-differential-equations/114728)

<div class="topic-metadata">

**Author:** [@balaji\_sriram](https://discourse.julialang.org/u/balaji_sriram)\
**Replies:** 13\
**Last updated:** [June 6, 2024, 12:57pm UTC](https://discourse.julialang.org/t/trying-to-solve-a-large-system-of-highly-stiff-differential-equations/114728 "2024-06-06T12:57:11Z")

</div>

Hi. I have a system of differential equations containing 62500 simultaneous equations. The system dynamics are linear and of the form: \[dU/dt\] = \[Jacobian\]x\[U\]. The jacobian is sparse (non-zero vals ~ 0.6%) and banded.…

---

## [DataInterpolations.jl and Zygote.jl](https://discourse.julialang.org/t/datainterpolations-jl-and-zygote-jl/113208)

<div class="topic-metadata">

**Author:** [@marcobonici](https://discourse.julialang.org/u/marcobonici)\
**Replies:** 18\
**Last updated:** [July 8, 2024, 12:30am UTC](https://discourse.julialang.org/t/datainterpolations-jl-and-zygote-jl/113208 "2024-07-08T00:30:49Z")

</div>

Hi everyone, I am trying to differentiate through an interpolation (as offered by DataInterpolations.jl. Here is a MWE x = Array(LinRange(0,10,101)) a = 1 b = 2 c = 3 p(a,b,c) = a.+b.\*x.+c.\*x.^2 gradient(b -\> sum(p(a,b…

---

## [Ensuring certain outputs in an ODE problem reach steady state](https://discourse.julialang.org/t/ensuring-certain-outputs-in-an-ode-problem-reach-steady-state/116610)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 4\
**Last updated:** [July 7, 2024, 11:31pm UTC](https://discourse.julialang.org/t/ensuring-certain-outputs-in-an-ode-problem-reach-steady-state/116610 "2024-07-07T23:31:19Z")

</div>

I am interested in ensuring that certain outputs in an ODE problem reach a steady state except for a few because they follow an oscillatory behavior. I am familiar with the SteadyStateProblem but in my case does not work…

---

## [Details about the blocks after symmetry reduction or Wedderburn decomposition](https://discourse.julialang.org/t/details-about-the-blocks-after-symmetry-reduction-or-wedderburn-decomposition/116687)

<div class="topic-metadata">

**Author:** [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Replies:** 3\
**Last updated:** [July 7, 2024, 6:49am UTC](https://discourse.julialang.org/t/details-about-the-blocks-after-symmetry-reduction-or-wedderburn-decomposition/116687 "2024-07-07T06:49:01Z")

</div>

For each irreducible representation, I want to know its degree and the number of times it occurs in the Wedderburn decomposition of the underlying algebra of equivariant maps using SymbolicWedderburn.jl . I also want to …

---

## [Sports Data in Julia](https://discourse.julialang.org/t/sports-data-in-julia/115384)

<div class="topic-metadata">

**Author:** [@dlshew19](https://discourse.julialang.org/u/dlshew19)\
**Replies:** 3\
**Last updated:** [July 7, 2024, 2:39am UTC](https://discourse.julialang.org/t/sports-data-in-julia/115384 "2024-07-07T02:39:10Z")

</div>

I was wondering if anyone knew of any packages similar to the ones offered by python and r sportsdataverse or stuff like nflfastr, fastf1… basically any packages that are focused on easy access to sports data? Right now …

---

## [Nonlinear Least Squares Problems with ModelingToolkit](https://discourse.julialang.org/t/nonlinear-least-squares-problems-with-modelingtoolkit/116680)

<div class="topic-metadata">

**Author:** [@Dreycen\_Foiles](https://discourse.julialang.org/u/Dreycen_Foiles)\
**Replies:** 4\
**Last updated:** [July 6, 2024, 9:40pm UTC](https://discourse.julialang.org/t/nonlinear-least-squares-problems-with-modelingtoolkit/116680 "2024-07-06T21:40:25Z")

</div>

I’m trying set up a nonlinear least squares problem with variables and parameters defined by ModelingToolkit.jl. However, I’m getting an error because I have more equations than variables. Here is an example: using Nonl…

---

## [Registering Finite Difference Derivatives with Symbolics.jl](https://discourse.julialang.org/t/registering-finite-difference-derivatives-with-symbolics-jl/116636)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 2\
**Last updated:** [July 6, 2024, 4:31pm UTC](https://discourse.julialang.org/t/registering-finite-difference-derivatives-with-symbolics-jl/116636 "2024-07-06T16:31:18Z")

</div>

I’m trying to take the gradient of the Power Law Cutoff Potential using Symbolics and ModelingToolkit. My end goal is to define an ODESystem with this gradient. The Power Law Cutoff Potential equation is shown below. Her…

---

## [SymbolicWedderburn examples](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682)

<div class="topic-metadata">

**Author:** [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Replies:** 3\
**Last updated:** [July 6, 2024, 9:24am UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682 "2024-07-06T09:24:53Z")

</div>

Hi @abulak When I run ex\_C2\_linear or runtest in SymbolicWedderburn.jl, I get ERROR: UndefVarError: \`Monomial\` not defined Stacktrace: \[1\] top-level scope @ c:\\Users\\raven\\.julia\\packages\\SymbolicWedderburn\\lbiby\\e…

---

## [MTK acausal modeling not working with @discrete\_events](https://discourse.julialang.org/t/mtk-acausal-modeling-not-working-with-discrete-events/116683)

<div class="topic-metadata">

**Author:** [@JosephChoi](https://discourse.julialang.org/u/JosephChoi)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 11:35pm UTC](https://discourse.julialang.org/t/mtk-acausal-modeling-not-working-with-discrete-events/116683 "2024-07-05T23:35:23Z")

</div>

I’m trying to model an unsteady-state CSTR with discrete-event PI controller updates using MTK’s acausal component-based modeling framework, but I’m having trouble with @discrete\_events (or @continuous\_events) not being …

---

## [Makie ecdfplot color](https://discourse.julialang.org/t/makie-ecdfplot-color/116675)

<div class="topic-metadata">

**Author:** [@VincentPoupart](https://discourse.julialang.org/u/VincentPoupart)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 9:22pm UTC](https://discourse.julialang.org/t/makie-ecdfplot-color/116675 "2024-07-05T21:22:05Z")

</div>

Hi everyone, I have problems with changing the curves color in Makie ecdfplot: f14 = Figure(size = (700, 450)) ax14 = Axis(f14\[1,1\], title = "Cumulative distribution long axis orientation, n = $(nrow(filtered\_df))", xla…

---

## [Integration of |∇p|^2](https://discourse.julialang.org/t/integration-of-p-2/116671)

<div class="topic-metadata">

**Author:** [@Banan\_alkafri](https://discourse.julialang.org/u/Banan_alkafri)\
**Replies:** 3\
**Last updated:** [July 5, 2024, 9:20pm UTC](https://discourse.julialang.org/t/integration-of-p-2/116671 "2024-07-05T21:20:47Z")

</div>

I want to create a function that integrates the magnitude of the gradient of a polynomial with 2 variables squared. I created a generic polynomial using monomials and calculated |∇p|^2 and now i have a polynomial that co…

---

## [ODE solver trying to access index \[0\] when running Graph NODEs](https://discourse.julialang.org/t/ode-solver-trying-to-access-index-0-when-running-graph-nodes/115764)

<div class="topic-metadata">

**Author:** [@jarroyoe](https://discourse.julialang.org/u/jarroyoe)\
**Replies:** 6\
**Last updated:** [July 5, 2024, 6:53pm UTC](https://discourse.julialang.org/t/ode-solver-trying-to-access-index-0-when-running-graph-nodes/115764 "2024-07-05T18:53:40Z")

</div>

I’m trying to model Graph NODEs integrating GraphNeuralNetworks.jl and OrdinaryDiffEq.jl. I am trying to learn both the neural network parameters as well as the weights of the edges, so I have to manually modify the Flux …

---

## [Solving coupled PDEs with implicit time-dependence](https://discourse.julialang.org/t/solving-coupled-pdes-with-implicit-time-dependence/115191)

<div class="topic-metadata">

**Author:** [@Danny\_Han](https://discourse.julialang.org/u/Danny_Han)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 6:26pm UTC](https://discourse.julialang.org/t/solving-coupled-pdes-with-implicit-time-dependence/115191 "2024-07-05T18:26:57Z")

</div>

I’m trying to implement a time-dependent Landau model for ferroelectric materials on a 2D cartesian domain, where the time-dependent Landau equation \\frac{dP}{dt} = -\\eta (\\alpha P+\\beta P^3 + \\gamma P^5 - k\_x \\frac{\\pa…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=97)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=99)
