# Specific Domains

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

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

**Page:** 40

---

## [Solve Regularized Nonlinear Least Squares](https://discourse.julialang.org/t/solve-regularized-nonlinear-least-squares/129608)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 10:01pm UTC](https://discourse.julialang.org/t/solve-regularized-nonlinear-least-squares/129608 "2025-06-03T22:01:20Z")

</div>

Hi everyone :grinning:, I want to solve a large Regularized Nonlinear Least Squares problem min \\text{Cost} \\left(T^{1}, T^{2}\\right) = \\|r\\|^2 + R(T^{1}, T^{2}) where r log-sum-exponential terms: r^{i}(T^{1}, T^…

---

## [Vertical band plot in makie](https://discourse.julialang.org/t/vertical-band-plot-in-makie/121920)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 11\
**Last updated:** [June 3, 2025, 2:37pm UTC](https://discourse.julialang.org/t/vertical-band-plot-in-makie/121920 "2025-06-03T14:37:15Z")

</div>

In makie, we can create a band plot between two arrays y\_lower and y\_upper, for a single x array. Would there be a way to use two x arrays and one y array instead, and produce something that looks more like a violin plo…

---

## [Library hunt: adaptive sampling for parametric plots](https://discourse.julialang.org/t/library-hunt-adaptive-sampling-for-parametric-plots/128448)

<div class="topic-metadata">

**Author:** [@srs](https://discourse.julialang.org/u/srs)\
**Replies:** 9\
**Last updated:** [June 3, 2025, 11:36am UTC](https://discourse.julialang.org/t/library-hunt-adaptive-sampling-for-parametric-plots/128448 "2025-06-03T11:36:46Z")

</div>

Hey all, I’m looking for a library that can adaptively sample parametric plots (for reasonably well-behaved functions). I’m on the verge of writing a little library here but it seems like so many people would want this t…

---

## [\[Resolved\] ERROR: SciMLSensitivity](https://discourse.julialang.org/t/resolved-error-scimlsensitivity/129531)

<div class="topic-metadata">

**Author:** [@aquarelleX332](https://discourse.julialang.org/u/aquarelleX332)\
**Replies:** 7\
**Last updated:** [June 3, 2025, 9:00am UTC](https://discourse.julialang.org/t/resolved-error-scimlsensitivity/129531 "2025-06-03T09:00:43Z")

</div>

Hello all, I am dealing with a code including CRNN in the case of 2 consecutives chemical reactions. The code can be found here. Amongst other packages I am using: SciMLSensitivity v7.84.0 Zygote v0.7.7 The error is…

---

## [How to handle quadratic objectives with SDDP.jl?](https://discourse.julialang.org/t/how-to-handle-quadratic-objectives-with-sddp-jl/129589)

<div class="topic-metadata">

**Author:** [@Samuel\_M](https://discourse.julialang.org/u/Samuel_M)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 8:51am UTC](https://discourse.julialang.org/t/how-to-handle-quadratic-objectives-with-sddp-jl/129589 "2025-06-03T08:51:53Z")

</div>

Hello everybody. I have to solve a problem similar to an economicd dispatch or unit commitment and I have seen that a good alternative is the Stochastic Dual Dynamic Programming and I was thinking about using SDDP.jl. H…

---

## [Computing the adjugate/cofactors of a matrix](https://discourse.julialang.org/t/computing-the-adjugate-cofactors-of-a-matrix/125184)

<div class="topic-metadata">

**Author:** [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 12:04am UTC](https://discourse.julialang.org/t/computing-the-adjugate-cofactors-of-a-matrix/125184 "2025-06-03T00:04:19Z")

</div>

For pedagogy (in our matrix calculus course at MIT), I wanted to have a routine to compute the adjugate of a matrix, since this arises in the gradient of the determinant. This is defined by: \\mathrm{adj}(A) = A^{-1} …

---

## [Display images in real time](https://discourse.julialang.org/t/display-images-in-real-time/129580)

<div class="topic-metadata">

**Author:** [@homocarbonis](https://discourse.julialang.org/u/homocarbonis)\
**Replies:** 3\
**Last updated:** [June 2, 2025, 8:36pm UTC](https://discourse.julialang.org/t/display-images-in-real-time/129580 "2025-06-02T20:36:57Z")

</div>

I have some code which updates a matrix and I would like to display it as an image which updates in real time. I first tried Plots’ @gif which produces a gif file but no live display, so I switched to Makie. This is my c…

---

## [Questions about the DiffEqFlux multiple shooting example](https://discourse.julialang.org/t/questions-about-the-diffeqflux-multiple-shooting-example/129418)

<div class="topic-metadata">

**Author:** [@julianewbsourcream](https://discourse.julialang.org/u/julianewbsourcream)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 5:17pm UTC](https://discourse.julialang.org/t/questions-about-the-diffeqflux-multiple-shooting-example/129418 "2025-06-02T17:17:28Z")

</div>

Hi, I am training a neural ODE on a periodic function and wanted to try out DiffEqFlux.multiple\_shoot(). After reviewing the online example @ docs.sciml.ai/DiffEqFlux/stable/examples/multiple\_shooting/, I was hoping so…

---

## [Why is the margin() function returning NaN?](https://discourse.julialang.org/t/why-is-the-margin-function-returning-nan/129561)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [June 2, 2025, 3:13pm UTC](https://discourse.julialang.org/t/why-is-the-margin-function-returning-nan/129561 "2025-06-02T15:13:51Z")

</div>

I have the following linear state space system for 8 m/s wind: julia\> @time include("mwes/mwe\_06.jl") StateSpace{Continuous, Float64} A = 0.0 0.0 0.217328 0.0 -142.50000000000003 -0.162450000…

---

## [How to set line color in errorline](https://discourse.julialang.org/t/how-to-set-line-color-in-errorline/129522)

<div class="topic-metadata">

**Author:** [@PanT12](https://discourse.julialang.org/u/PanT12)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 3:02pm UTC](https://discourse.julialang.org/t/how-to-set-line-color-in-errorline/129522 "2025-06-02T15:02:13Z")

</div>

Hi everyone, I’m trying to set the line color in the errorline function from the StatsPlots package. However, I’ve noticed that I can only change the marker color and not the line color. Does anyone know how to set the …

---

## [Implementing simple quadratic interpolation in Interpolations.jl](https://discourse.julialang.org/t/implementing-simple-quadratic-interpolation-in-interpolations-jl/129555)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 12:32pm UTC](https://discourse.julialang.org/t/implementing-simple-quadratic-interpolation-in-interpolations-jl/129555 "2025-06-02T12:32:59Z")

</div>

I’m looking for advice about implementing simple quadratic and cubic interpolations into Interpolations.jl. These are interpolation methods that should work similar to linear interpolation, with no pre-filtering necessar…

---

## [Automating the Equating of Transfer Functions with Symbolic Representations Using SymPy.jl](https://discourse.julialang.org/t/automating-the-equating-of-transfer-functions-with-symbolic-representations-using-sympy-jl/129552)

<div class="topic-metadata">

**Author:** [@theo.bruelhart](https://discourse.julialang.org/u/theo.bruelhart)\
**Replies:** 3\
**Last updated:** [June 2, 2025, 12:21pm UTC](https://discourse.julialang.org/t/automating-the-equating-of-transfer-functions-with-symbolic-representations-using-sympy-jl/129552 "2025-06-02T12:21:03Z")

</div>

I am currently working on a project where I need to equate a transfer function with its symbolic representations using real components (some resistors and capacitors). Up to this point, I have been manually performing th…

---

## [FItting Price Impact Models](https://discourse.julialang.org/t/fitting-price-impact-models/129547)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 11:33am UTC](https://discourse.julialang.org/t/fitting-price-impact-models/129547 "2025-06-02T11:33:45Z")

</div>

Another blog post in Julia, this time looking at price impact models and the practicalities in fitting them. Fitting Price Impact Models | Dean Markwick

---

## [KernelAbstractions.get\_backend(::BitArray) causes StackOverflowError](https://discourse.julialang.org/t/kernelabstractions-get-backend-bitarray-causes-stackoverflowerror/129551)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 9:23am UTC](https://discourse.julialang.org/t/kernelabstractions-get-backend-bitarray-causes-stackoverflowerror/129551 "2025-06-02T09:23:57Z")

</div>

Hi all, I’m using KernelAbstractions.jl, and encountered a StackOverflowError when trying to call get\_backend on a BitArray (e.g., from a comparison like .\<): using KernelAbstractions x = rand(10) msk = x .\< 0.5 get\_ba…

---

## [Bodeplot Sampling Resolution Adjustable?](https://discourse.julialang.org/t/bodeplot-sampling-resolution-adjustable/129544)

<div class="topic-metadata">

**Author:** [@theo.bruelhart](https://discourse.julialang.org/u/theo.bruelhart)\
**Replies:** 7\
**Last updated:** [June 2, 2025, 9:18am UTC](https://discourse.julialang.org/t/bodeplot-sampling-resolution-adjustable/129544 "2025-06-02T09:18:11Z")

</div>

Hi How can I adjust the sampling resolution of Bode plots? I am comparing the frequency responses of different filters, and some plots appear undersampled (see the blue curve in the illustration below).

---

## [Using ControlSystemsBase, DSP: Exemplary Use Case of Electronic Filter Design](https://discourse.julialang.org/t/using-controlsystemsbase-dsp-exemplary-use-case-of-electronic-filter-design/127349)

<div class="topic-metadata">

**Author:** [@theo.bruelhart](https://discourse.julialang.org/u/theo.bruelhart)\
**Replies:** 2\
**Last updated:** [June 1, 2025, 10:38pm UTC](https://discourse.julialang.org/t/using-controlsystemsbase-dsp-exemplary-use-case-of-electronic-filter-design/127349 "2025-06-01T22:38:07Z")

</div>

Hi Today, I have been experimenting with basic functions from the ControlSystemsBase.jl and DSP.jl packages. Some guidance for the below mentioned approach would be appreciated. Given the simple transfer function T=Vou…

---

## [Calling C Code with Automatic Differentiation in Julia](https://discourse.julialang.org/t/calling-c-code-with-automatic-differentiation-in-julia/129503)

<div class="topic-metadata">

**Author:** [@fgittins](https://discourse.julialang.org/u/fgittins)\
**Replies:** 6\
**Last updated:** [June 2, 2025, 7:39am UTC](https://discourse.julialang.org/t/calling-c-code-with-automatic-differentiation-in-julia/129503 "2025-06-02T07:39:48Z")

</div>

Hi all, I’m reaching out to see if anyone in the Julia community has experience or advice on calling C code from Julia in a way that still supports automatic differentiation (AD). My motivation I’m working on a project…

---

## [Convert a nonlinear model defined by JuMP's legacy version to latest version](https://discourse.julialang.org/t/convert-a-nonlinear-model-defined-by-jumps-legacy-version-to-latest-version/129542)

<div class="topic-metadata">

**Author:** [@zhu266](https://discourse.julialang.org/u/zhu266)\
**Replies:** 7\
**Last updated:** [June 2, 2025, 3:44am UTC](https://discourse.julialang.org/t/convert-a-nonlinear-model-defined-by-jumps-legacy-version-to-latest-version/129542 "2025-06-02T03:44:00Z")

</div>

Hi everyone, I am fetching models from MINLPLib.jl, and I guess they use “Nonlinear Modeling (Legacy)” to define nonlinear constraints/objectives. I am curious if there is any way to transform a nonlinear model defined b…

---

## [Keep it simple stupid vs PPLs like Turing](https://discourse.julialang.org/t/keep-it-simple-stupid-vs-ppls-like-turing/129452)

<div class="topic-metadata">

**Author:** [@nomadbl](https://discourse.julialang.org/u/nomadbl)\
**Replies:** 5\
**Last updated:** [June 2, 2025, 1:13am UTC](https://discourse.julialang.org/t/keep-it-simple-stupid-vs-ppls-like-turing/129452 "2025-06-02T01:13:52Z")

</div>

Hello everyone. I come from a general Machine Learning and Neural Networks background and learned about probabilistic programming and Bayesian Inference in the last year. Naturally I wanted to see what was available in …

---

## [Porting cuda example to rocm amdgpu](https://discourse.julialang.org/t/porting-cuda-example-to-rocm-amdgpu/129545)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 0\
**Last updated:** [June 2, 2025, 12:35am UTC](https://discourse.julialang.org/t/porting-cuda-example-to-rocm-amdgpu/129545 "2025-06-02T00:35:00Z")

</div>

Hello, good evening. May someone help to show me how to start porting this example to use amdgpu.jl?

---

## [Package for Graphical Models and Graphical Lasso](https://discourse.julialang.org/t/package-for-graphical-models-and-graphical-lasso/41107)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 2\
**Last updated:** [June 1, 2025, 8:11pm UTC](https://discourse.julialang.org/t/package-for-graphical-models-and-graphical-lasso/41107 "2025-06-01T20:11:13Z")

</div>

Hello, Is there a Julia package for probabilitistic graphical models, in particular an implementation of the Graphical Lasso to identify sparse precision matrix (https://statweb.stanford.edu/~jhf/ftp/glasso-bio.pdf)

---

## [Where to implement new matrix multiplication algorithms?](https://discourse.julialang.org/t/where-to-implement-new-matrix-multiplication-algorithms/129525)

<div class="topic-metadata">

**Author:** [@PepeRoConde](https://discourse.julialang.org/u/PepeRoConde)\
**Replies:** 3\
**Last updated:** [June 1, 2025, 4:27pm UTC](https://discourse.julialang.org/t/where-to-implement-new-matrix-multiplication-algorithms/129525 "2025-06-01T16:27:03Z")

</div>

like the ones proposed here h\_ttps://arxiv.org/pdf/2505.05896 h\_ttps://github.com/mkauers/matrix-multiplication thanks!

---

## [About JuMP's speed of building an expression](https://discourse.julialang.org/t/about-jumps-speed-of-building-an-expression/129018)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 20\
**Last updated:** [June 1, 2025, 2:17pm UTC](https://discourse.julialang.org/t/about-jumps-speed-of-building-an-expression/129018 "2025-06-01T14:17:58Z")

</div>

I find that it seems to be not that fast for JuMP to build a “large” expression I wonder: is this speed normal? Why? Can (or how can) it be improved somehow? import LinearAlgebra.dot as dot using JuMP, BenchmarkTools N…

---

## [Out of memory error in \`viz\` of 3D \`RectilinearGrid\` from Meshes.jl](https://discourse.julialang.org/t/out-of-memory-error-in-viz-of-3d-rectilineargrid-from-meshes-jl/128643)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 33\
**Last updated:** [May 31, 2025, 7:30pm UTC](https://discourse.julialang.org/t/out-of-memory-error-in-viz-of-3d-rectilineargrid-from-meshes-jl/128643 "2025-05-31T19:30:03Z")

</div>

I want to plot a grid using Meshes.jl and GLMakie.jl. I am reading the HDF5 data file output of Athena++ astrophysical code using HDF5.jl library. In Athena++ mesh grid is divided into smaller parts called Blocks to use…

---

## [DuckDB Array Not Supported?](https://discourse.julialang.org/t/duckdb-array-not-supported/129508)

<div class="topic-metadata">

**Author:** [@NAS](https://discourse.julialang.org/u/NAS)\
**Replies:** 3\
**Last updated:** [June 1, 2025, 5:28am UTC](https://discourse.julialang.org/t/duckdb-array-not-supported/129508 "2025-06-01T05:28:01Z")

</div>

I was able to use the DuckDB Appender API to insert data into a table in the form of: CREATE OR REPLACE TABLE embeds (id INTEGER PRIMARY KEY, acc STRING, esm\_embed NUMERIC(9,8)\[1280\]) where the esm\_embed column is a ve…

---

## [Using DuckDB appender with JSON column](https://discourse.julialang.org/t/using-duckdb-appender-with-json-column/129283)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 5\
**Last updated:** [May 31, 2025, 9:10pm UTC](https://discourse.julialang.org/t/using-duckdb-appender-with-json-column/129283 "2025-05-31T21:10:39Z")

</div>

Hi all, I’m interested to know if it would be possible to adjust the Appender API in DuckDB to support JSON. Let me explain. As noted here JSON Overview – DuckDB we can create columns with the JSON data type. However, i…

---

## [Nonlinear boundary conditions in ApproxFun](https://discourse.julialang.org/t/nonlinear-boundary-conditions-in-approxfun/129504)

<div class="topic-metadata">

**Author:** [@MingjiaYan](https://discourse.julialang.org/u/MingjiaYan)\
**Replies:** 0\
**Last updated:** [May 31, 2025, 3:43pm UTC](https://discourse.julialang.org/t/nonlinear-boundary-conditions-in-approxfun/129504 "2025-05-31T15:43:07Z")

</div>

Hi, I’m trying to solve for the steady state solution of a one-dimensional heat equation describing a nonlinear heat conduction in a finite domain \[0,1\] using ApproxFun.jl: T\_{xx} = 0 subject to a Dirichlet boundary c…

---

## [2D-FFT gives nonzero imaginary value at \[1,1\]](https://discourse.julialang.org/t/2d-fft-gives-nonzero-imaginary-value-at-1-1/129500)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 1\
**Last updated:** [May 31, 2025, 11:08am UTC](https://discourse.julialang.org/t/2d-fft-gives-nonzero-imaginary-value-at-1-1/129500 "2025-05-31T11:08:12Z")

</div>

Perhaps this is just my imperfect knowledge of how FFT works, but according to the theory, the Fourier transform at zero frequency of real-valued data is always real, and I thought that this should also happen with FFT. …

---

## [\`check-bounds=no\` causes illegal memory access when using \`rand()\` in CUDA kernel](https://discourse.julialang.org/t/check-bounds-no-causes-illegal-memory-access-when-using-rand-in-cuda-kernel/129455)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 3\
**Last updated:** [May 31, 2025, 7:38am UTC](https://discourse.julialang.org/t/check-bounds-no-causes-illegal-memory-access-when-using-rand-in-cuda-kernel/129455 "2025-05-31T07:38:44Z")

</div>

I’m encountering an error when running the following minimal example with check-bounds=no. With bounds checking enabled (check-bounds=yes), it works fine. But disabling it causes: ERROR: CUDA error: an illegal memory ac…

---

## [Current state of Metal.jl for ML and SciML](https://discourse.julialang.org/t/current-state-of-metal-jl-for-ml-and-sciml/129476)

<div class="topic-metadata">

**Author:** [@Bizzi](https://discourse.julialang.org/u/Bizzi)\
**Replies:** 2\
**Last updated:** [May 30, 2025, 7:59pm UTC](https://discourse.julialang.org/t/current-state-of-metal-jl-for-ml-and-sciml/129476 "2025-05-30T19:59:28Z")

</div>

How feasible is using Apple Metal and Metal.jl for machine learning work? Metal.jl’s README says The package is a work-in-progress. There are bugs, functionality is missing, and performance hasn’t been optimized. Expec…

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

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