# Specific Domains

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

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

**Page:** 210

---

## [Currency type with basic algebra and pretty printing](https://discourse.julialang.org/t/currency-type-with-basic-algebra-and-pretty-printing/95700)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [March 8, 2023, 4:54pm UTC](https://discourse.julialang.org/t/currency-type-with-basic-algebra-and-pretty-printing/95700 "2023-03-08T16:54:02Z")

</div>

What is the go-to package for converting floating point numbers into currencies that can be added and subtracted and pretty printed on tables? Found Currencies.jl, CurrencyAmounts.jl and Assets.jl but none of them seem …

---

## [Cumulative distribution function results are not perfectly fit for simulation and analytical methods](https://discourse.julialang.org/t/cumulative-distribution-function-results-are-not-perfectly-fit-for-simulation-and-analytical-methods/94747)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 4:36pm UTC](https://discourse.julialang.org/t/cumulative-distribution-function-results-are-not-perfectly-fit-for-simulation-and-analytical-methods/94747 "2023-03-08T16:36:47Z")

</div>

Hi everyone, I have a task to analytically compute a Cumulative distribution function (CDF) for the Gamma process with random effects. I developed the computation based on follows: In my case, I set: using Distribut…

---

## [Boxplot in AoG acting weirdly](https://discourse.julialang.org/t/boxplot-in-aog-acting-weirdly/95714)

<div class="topic-metadata">

**Author:** [@chongkaing](https://discourse.julialang.org/u/chongkaing)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 5:36am UTC](https://discourse.julialang.org/t/boxplot-in-aog-acting-weirdly/95714 "2023-03-08T05:36:54Z")

</div>

Hi all. I am currently using AlgebraOfGraphics (with CairoMakie backend). Was running thru the PalmerPenguin data set and was trying to plot and I ran into a problem. I have removed all missing entries prior to plottin…

---

## [What loss to enforce the \`i.i.d\`ness of a dataset?](https://discourse.julialang.org/t/what-loss-to-enforce-the-i-i-d-ness-of-a-dataset/95731)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 12:11pm UTC](https://discourse.julialang.org/t/what-loss-to-enforce-the-i-i-d-ness-of-a-dataset/95731 "2023-03-08T12:11:47Z")

</div>

Hi, I need some help to find a coherent loss to encode the properties i need about my estimator. I want to split a dataset in two, in the Fourrier sense (the infinite divisibility sense). More precisely, consider that …

---

## [Is the choice of integrator significant for NeuralODE solving?](https://discourse.julialang.org/t/is-the-choice-of-integrator-significant-for-neuralode-solving/95645)

<div class="topic-metadata">

**Author:** [@srikumarks](https://discourse.julialang.org/u/srikumarks)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 1:49pm UTC](https://discourse.julialang.org/t/is-the-choice-of-integrator-significant-for-neuralode-solving/95645 "2023-03-08T13:49:43Z")

</div>

For directly solving known ODEs, of course the choice of integrator is significant. However, when learning a network that’s part of an ODE, it isn’t clear to me whether the integrator matters, or should matter. Does it …

---

## [In-place functions in definition of ODEProblem (DifferentialEquations)](https://discourse.julialang.org/t/in-place-functions-in-definition-of-odeproblem-differentialequations/30029)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 12:08pm UTC](https://discourse.julialang.org/t/in-place-functions-in-definition-of-odeproblem-differentialequations/30029 "2023-03-08T12:08:21Z")

</div>

I am struggling with something as basic as definition of a function for ODEProblem using DifferentialEquations package: In Example 1 in the documentation for the package, the ODE is defined by a function on the right ha…

---

## [Groupedbar plotting not as expected](https://discourse.julialang.org/t/groupedbar-plotting-not-as-expected/95545)

<div class="topic-metadata">

**Author:** [@dasavy](https://discourse.julialang.org/u/dasavy)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 11:35am UTC](https://discourse.julialang.org/t/groupedbar-plotting-not-as-expected/95545 "2023-03-08T11:35:11Z")

</div>

I have no idea why N=8 is going to the far right and isn’t on the far left. Please let me know if anyone knows what’s happening here

---

## [Makie alternating backends per plot](https://discourse.julialang.org/t/makie-alternating-backends-per-plot/95496)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 11:11am UTC](https://discourse.julialang.org/t/makie-alternating-backends-per-plot/95496 "2023-03-08T11:11:36Z")

</div>

Is there a way to specify a makie backend per Figure ? I know about {WGL,Cairo,GL}Makie.activate!() but that’s operating in a global fashion and it’s hard to operate/synchronize (especially for Pluto notebooks). What I…

---

## [\[ANN\] DataFitting.jl general purpose data fitting framework](https://discourse.julialang.org/t/ann-datafitting-jl-general-purpose-data-fitting-framework/8433)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 25\
**Last updated:** [March 8, 2023, 10:40am UTC](https://discourse.julialang.org/t/ann-datafitting-jl-general-purpose-data-fitting-framework/8433 "2023-03-08T10:40:07Z")

</div>

Dear community, I’m happy to announce that the first working (and reasonably complete) version of the DataFitting.jl package is available on Github. The main purpose of DataFitting is to provide a general purpose data …

---

## [How do I a logistic regression without the intercept in GLM.jl?](https://discourse.julialang.org/t/how-do-i-a-logistic-regression-without-the-intercept-in-glm-jl/95720)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 9:36am UTC](https://discourse.julialang.org/t/how-do-i-a-logistic-regression-without-the-intercept-in-glm-jl/95720 "2023-03-08T09:36:27Z")

</div>

I can’t figure out how to fit a model without the intercept The documentatioin just says the intercept is fitted by default but doesn’t show how too do it without the intercept? is that even possible?

---

## [Makie plots with equal height + unequal width + data aspect ratio](https://discourse.julialang.org/t/makie-plots-with-equal-height-unequal-width-data-aspect-ratio/60628)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 10\
**Last updated:** [March 8, 2023, 7:42am UTC](https://discourse.julialang.org/t/makie-plots-with-equal-height-unequal-width-data-aspect-ratio/60628 "2023-03-08T07:42:52Z")

</div>

I’d like to have a few plots arranged in a row that have both a data aspect ratio and equal heights, and therefore unequal widths. I can’t seem to get it to work no matter what combination of DataAspect, height, limits, a…

---

## [Linear regression without the intercept term](https://discourse.julialang.org/t/linear-regression-without-the-intercept-term/18063)

<div class="topic-metadata">

**Author:** [@leejm516](https://discourse.julialang.org/u/leejm516)\
**Replies:** 7\
**Last updated:** [March 8, 2023, 9:14am UTC](https://discourse.julialang.org/t/linear-regression-without-the-intercept-term/18063 "2023-03-08T09:14:32Z")

</div>

In GLM.jl, the use of DataFrame is preferred, but the lm function does support the use of vectors and matrices. In the latter case, however, I can’t do fit without the intercept term (i.e. b0 = 0). Is there a way to do t…

---

## [Efficient implementation of a convolution within a auto-differentiable objective function](https://discourse.julialang.org/t/efficient-implementation-of-a-convolution-within-a-auto-differentiable-objective-function/95616)

<div class="topic-metadata">

**Author:** [@mgreifenstein](https://discourse.julialang.org/u/mgreifenstein)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 8:21am UTC](https://discourse.julialang.org/t/efficient-implementation-of-a-convolution-within-a-auto-differentiable-objective-function/95616 "2023-03-08T08:21:21Z")

</div>

Hi all, I have an optimization problem for which I am using JuMP with Ipopt at the moment. The objective function involves 7 convolutions of two vectors. These convolutions are at the moment the bottleneck in performanc…

---

## [Replication of \*Universal Differential Equations for Scientific Machine Learning\* for Lotka Volterra](https://discourse.julialang.org/t/replication-of-universal-differential-equations-for-scientific-machine-learning-for-lotka-volterra/95695)

<div class="topic-metadata">

**Author:** [@Stefano\_Giampiccolo](https://discourse.julialang.org/u/Stefano_Giampiccolo)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 4:16am UTC](https://discourse.julialang.org/t/replication-of-universal-differential-equations-for-scientific-machine-learning-for-lotka-volterra/95695 "2023-03-08T04:16:36Z")

</div>

Hi everyone, I’m trying to replicate the results of Scenario 1 Lotka Volterra from the repository GitHub - ChrisRackauckas/universal\_differential\_equations: Repository for the Universal Differential Equations for Scient…

---

## [Possible to save compiled GradientTape after compile in ReverseDiff](https://discourse.julialang.org/t/possible-to-save-compiled-gradienttape-after-compile-in-reversediff/95693)

<div class="topic-metadata">

**Author:** [@xxxxx](https://discourse.julialang.org/u/xxxxx)\
**Replies:** 8\
**Last updated:** [March 8, 2023, 12:38am UTC](https://discourse.julialang.org/t/possible-to-save-compiled-gradienttape-after-compile-in-reversediff/95693 "2023-03-08T00:38:25Z")

</div>

Hi, I was wondering if it would be possible to save the compiled GradientTape that is used in ReverseDiff.jl. Using the gradient example from the package, I’d like to save compiled\_f\_tape # some objective function t…

---

## [How to identify a constraint in JuMp?](https://discourse.julialang.org/t/how-to-identify-a-constraint-in-jump/95434)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 4\
**Last updated:** [March 7, 2023, 9:14pm UTC](https://discourse.julialang.org/t/how-to-identify-a-constraint-in-jump/95434 "2023-03-07T21:14:02Z")

</div>

Hi, I’m writing all constrained with a given name, as follows: @constraint(m, constraint\[j in 1:20\], sum(A\[j,i\]\*x\[i\] for i in 1:30) \<= b\[j\]) after runing the model, it returns Infeasibility row 'c11': 0 = 1. how ca…

---

## [Request for contributions: PDESystemLibrary.jl - A library of systems of symbolic partial differential equations](https://discourse.julialang.org/t/request-for-contributions-pdesystemlibrary-jl-a-library-of-systems-of-symbolic-partial-differential-equations/95639)

<div class="topic-metadata">

**Author:** [@xtalax](https://discourse.julialang.org/u/xtalax)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 8:42pm UTC](https://discourse.julialang.org/t/request-for-contributions-pdesystemlibrary-jl-a-library-of-systems-of-symbolic-partial-differential-equations/95639 "2023-03-07T20:42:46Z")

</div>

Announcing PDESystemLibrary.jl, a library of symbolically defined PDESystems using ModelingToolkit.jl. We have a few (over 400) systems already included as a start, with more being added all the time. We really want to …

---

## [Solver BARON with user-defined function in nonlinear constraint](https://discourse.julialang.org/t/solver-baron-with-user-defined-function-in-nonlinear-constraint/95663)

<div class="topic-metadata">

**Author:** [@naouess](https://discourse.julialang.org/u/naouess)\
**Replies:** 4\
**Last updated:** [March 7, 2023, 7:17pm UTC](https://discourse.julialang.org/t/solver-baron-with-user-defined-function-in-nonlinear-constraint/95663 "2023-03-07T19:17:18Z")

</div>

Hello dear Julia-community, I am having an issue in using BARON for a nonlinear optimization problem. The problem includes nonlinearities in the constraints with a registered user-defined function. I define the function…

---

## [sharedMemory in GPU programming examples](https://discourse.julialang.org/t/sharedmemory-in-gpu-programming-examples/95567)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 3\
**Last updated:** [March 7, 2023, 6:32pm UTC](https://discourse.julialang.org/t/sharedmemory-in-gpu-programming-examples/95567 "2023-03-07T18:32:49Z")

</div>

Hello! I found this great ressource here: https://jenni-westoby.github.io/Julia\_GPU\_examples/dev/Vector\_dot\_product/ And am going through the motion of understanding this. In the mean while I hope some could provide m…

---

## [Simultaneous diagonalization of commuting Hermitian matrices](https://discourse.julialang.org/t/simultaneous-diagonalization-of-commuting-hermitian-matrices/95495)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 4\
**Last updated:** [March 7, 2023, 3:50pm UTC](https://discourse.julialang.org/t/simultaneous-diagonalization-of-commuting-hermitian-matrices/95495 "2023-03-07T15:50:25Z")

</div>

I have two Hermitian matrices, one of which is positive definite, and the matrices commute. Is there a standard implementation for the simultaneous diagonalization of such two matrices? To be precise, I have a Hamilton…

---

## [\[ForwardDiff\] how to consider expression as constant](https://discourse.julialang.org/t/forwarddiff-how-to-consider-expression-as-constant/95651)

<div class="topic-metadata">

**Author:** [@mariusd](https://discourse.julialang.org/u/mariusd)\
**Replies:** 5\
**Last updated:** [March 7, 2023, 12:41pm UTC](https://discourse.julialang.org/t/forwarddiff-how-to-consider-expression-as-constant/95651 "2023-03-07T12:41:49Z")

</div>

See the following code. Inside the function f, g(x) is called and I need the result to be used as both a variable and as constant. Now of course I can calculate x20=g(x) outside and provide this as an extra argument to …

---

## [Stacked Plots (lines) Help](https://discourse.julialang.org/t/stacked-plots-lines-help/95576)

<div class="topic-metadata">

**Author:** [@rodolforbcoutinho](https://discourse.julialang.org/u/rodolforbcoutinho)\
**Replies:** 7\
**Last updated:** [March 7, 2023, 12:23pm UTC](https://discourse.julialang.org/t/stacked-plots-lines-help/95576 "2023-03-07T12:23:26Z")

</div>

Hi all! I’m trying to make a stacked plot from the Data Below when I plot using the regular plot function, i got the correct values/positions, but i need then stacked. Using areaplot instead of plot is not working as e…

---

## [Controlling gaps between Axis3 areas in Makie](https://discourse.julialang.org/t/controlling-gaps-between-axis3-areas-in-makie/95643)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 6:26am UTC](https://discourse.julialang.org/t/controlling-gaps-between-axis3-areas-in-makie/95643 "2023-03-07T06:26:17Z")

</div>

I am trying to show xy-, xz-, yz-views of a 3D object using Makie. Here is the code to set up three panels for the views: using CairoMakie fig = Figure(resolution=(1500,1500)) fig\[1,1\] = Axis3(fig, aspect=:data, viewm…

---

## [JuMP - Nested Optimization with user defined functions](https://discourse.julialang.org/t/jump-nested-optimization-with-user-defined-functions/83199)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 10\
**Last updated:** [March 6, 2023, 10:02pm UTC](https://discourse.julialang.org/t/jump-nested-optimization-with-user-defined-functions/83199 "2023-03-06T22:02:33Z")

</div>

Hi! I have a Nested Optimization problem that I am trying to solve using JuMP. Inside, I have a linear problem with power constraints where I use JuMP + Mosek to solve. Outside, I have a concave problem defined on a set…

---

## [ODE with heterogeneous input through RecursiveArrayTools](https://discourse.julialang.org/t/ode-with-heterogeneous-input-through-recursivearraytools/95625)

<div class="topic-metadata">

**Author:** [@christianhvejsel](https://discourse.julialang.org/u/christianhvejsel)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 8:26pm UTC](https://discourse.julialang.org/t/ode-with-heterogeneous-input-through-recursivearraytools/95625 "2023-03-06T20:26:46Z")

</div>

Hi all I am trying to solve a first-order ODE with initial conditions input as a heterogeneous array using of RecursiveArrayTools.jl https://docs.sciml.ai/DiffEqDocs/stable/features/diffeq\_arrays/#ArrayPartitions. I ca…

---

## [Deploying HTTP.jl tutorial?](https://discourse.julialang.org/t/deploying-http-jl-tutorial/95631)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 8:15pm UTC](https://discourse.julialang.org/t/deploying-http-jl-tutorial/95631 "2023-03-06T20:15:34Z")

</div>

Are there any beginner tutorials for connecting a HTTP.jl server to the public internet? That is, I have wrapped some logic in a tiny HTTP.jl server running on localhost, but I’d like to host it somewhere as a small publ…

---

## [Reuse a JuMP model with different solvers](https://discourse.julialang.org/t/reuse-a-jump-model-with-different-solvers/95629)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 8:09pm UTC](https://discourse.julialang.org/t/reuse-a-jump-model-with-different-solvers/95629 "2023-03-06T20:09:56Z")

</div>

Is there an efficient way to change the solver associated with a JuMP model? For example, I want to solve a model that takes a nontrivial amount of time to setup with a few different solvers. I am wondering if it is poss…

---

## [LMM coefficient difference](https://discourse.julialang.org/t/lmm-coefficient-difference/95626)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 6:05pm UTC](https://discourse.julialang.org/t/lmm-coefficient-difference/95626 "2023-03-06T18:05:04Z")

</div>

Hello! I try to use MixedModels and GLM for binary data outcome analysis. So I have model: @formula(resp ~ pred1 + pred2) where pred1 and pred2 are continuous predictors. I fit model with Bernoulli() distribution an…

---

## [Problem with training a spiking neural network with Flux](https://discourse.julialang.org/t/problem-with-training-a-spiking-neural-network-with-flux/95149)

<div class="topic-metadata">

**Author:** [@Daniele\_Linaro](https://discourse.julialang.org/u/Daniele_Linaro)\
**Replies:** 7\
**Last updated:** [March 6, 2023, 4:30pm UTC](https://discourse.julialang.org/t/problem-with-training-a-spiking-neural-network-with-flux/95149 "2023-03-06T16:30:53Z")

</div>

Hello, I am trying to use Flux to train a simple spiking neural network to perform input classification. The network has 100 inputs that represent incoming spike streams: half of the inputs are “active” (i.e., they rece…

---

## [GRUtils - Surface color and transparency](https://discourse.julialang.org/t/grutils-surface-color-and-transparency/95617)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 2:57pm UTC](https://discourse.julialang.org/t/grutils-surface-color-and-transparency/95617 "2023-03-06T14:57:56Z")

</div>

Hi all, I don’t figure out how to set the color of a surface as well as its transparency with GRUtils.jl. Here is a MWE: using GRUtils x = LinRange(0., 100., 100) y = ones(50) vl = LinRange(0., 1., 50) v = repeat(vl'…

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

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