# Specific Domains

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

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

**Page:** 225

---

## [Mathematica BSplineCurve in Julia](https://discourse.julialang.org/t/mathematica-bsplinecurve-in-julia/78107)

<div class="topic-metadata">

**Author:** [@arnief3](https://discourse.julialang.org/u/arnief3)\
**Replies:** 17\
**Last updated:** [January 9, 2023, 9:05am UTC](https://discourse.julialang.org/t/mathematica-bsplinecurve-in-julia/78107 "2023-01-09T09:05:00Z")

</div>

I am trying to achieve the same result as BSplineCurve—Wolfram Language Documentation in julia. I have used Dierckx.jl for more straightforward spline fitting but am stumped on how to place data points and knots to achie…

---

## [JuMP model warm start using Ipopt](https://discourse.julialang.org/t/jump-model-warm-start-using-ipopt/92660)

<div class="topic-metadata">

**Author:** [@Xuekui\_wang](https://discourse.julialang.org/u/Xuekui_wang)\
**Replies:** 2\
**Last updated:** [January 9, 2023, 5:01am UTC](https://discourse.julialang.org/t/jump-model-warm-start-using-ipopt/92660 "2023-01-09T05:01:49Z")

</div>

I am solving a non-convex problem using Ipopt, and I want to warm start the same problem. That not only needs to set start variable value usingset\_start\_value, but also needs to set duals and multipliers. How can I acc…

---

## [MLJ w/Scikitlearn: passing return\_std to predict](https://discourse.julialang.org/t/mlj-w-scikitlearn-passing-return-std-to-predict/91654)

<div class="topic-metadata">

**Author:** [@evolbio](https://discourse.julialang.org/u/evolbio)\
**Replies:** 7\
**Last updated:** [January 9, 2023, 1:33am UTC](https://discourse.julialang.org/t/mlj-w-scikitlearn-passing-return-std-to-predict/91654 "2023-01-09T01:33:26Z")

</div>

Various Scikitlearn models accept return\_std=true when calling predict, for example BayesianRidgeRegressor, see this example. For example, with a BayesianRidgeRegressor or similar machine, I would like to call y\_predict…

---

## [How to set xlabel and ylabel in Makie recipe?](https://discourse.julialang.org/t/how-to-set-xlabel-and-ylabel-in-makie-recipe/68279)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 6\
**Last updated:** [January 8, 2023, 11:13pm UTC](https://discourse.julialang.org/t/how-to-set-xlabel-and-ylabel-in-makie-recipe/68279 "2023-01-08T23:13:36Z")

</div>

Is it possible to set the xlabel, ylabel and zlabel within a Makie recipe? I am finishing a recipe for biplots, but can’t figure out how to set the labels of the axes to contain the variance explained. I would like to w…

---

## [How do I distinguish the first in pair and second in pair in pair end bam using XAM?](https://discourse.julialang.org/t/how-do-i-distinguish-the-first-in-pair-and-second-in-pair-in-pair-end-bam-using-xam/92536)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 4\
**Last updated:** [January 8, 2023, 3:51pm UTC](https://discourse.julialang.org/t/how-do-i-distinguish-the-first-in-pair-and-second-in-pair-in-pair-end-bam-using-xam/92536 "2023-01-08T15:51:34Z")

</div>

I have a pair end bam. And I want to know whether the record is the first in pair or the second in pair. I use the julia package called XAM.jl. using XAM bamfile="..." reader=open(BAM.Reader,bamfile) mapped\_chr1 = Itera…

---

## ["No matching function wrapper was found!" with 1.8.4 release of Julia](https://discourse.julialang.org/t/no-matching-function-wrapper-was-found-with-1-8-4-release-of-julia/92638)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 4\
**Last updated:** [January 8, 2023, 10:36am UTC](https://discourse.julialang.org/t/no-matching-function-wrapper-was-found-with-1-8-4-release-of-julia/92638 "2023-01-08T10:36:02Z")

</div>

Hi, I have a notebook where the call sol0=solve(prob, alg, dt=dt, adaptive=false); fails with error: “No matching function wrapper was found” with 1.8.4 release but works correctly with 1.6.6 release. The notebook…

---

## [Multiple GPUs - One GPU per Process - Only one GPU works on four](https://discourse.julialang.org/t/multiple-gpus-one-gpu-per-process-only-one-gpu-works-on-four/92611)

<div class="topic-metadata">

**Author:** [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Replies:** 1\
**Last updated:** [January 8, 2023, 8:07am UTC](https://discourse.julialang.org/t/multiple-gpus-one-gpu-per-process-only-one-gpu-works-on-four/92611 "2023-01-08T08:07:57Z")

</div>

hey, After checking nvidia-smi command, only one GPU works on four when running this code. It seems that the processes are not distributed to the workers, Am I missing something? using Plots using Flux:params using F…

---

## [Jump delete is slower than building a new model](https://discourse.julialang.org/t/jump-delete-is-slower-than-building-a-new-model/92597)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 6\
**Last updated:** [January 8, 2023, 4:16am UTC](https://discourse.julialang.org/t/jump-delete-is-slower-than-building-a-new-model/92597 "2023-01-08T04:16:16Z")

</div>

I have a rather large JuMP model which takes \>0.2 seconds to build but only 0.1 seconds to solve. I have to solve this model thousands of times with only a small change to a portion of the constraints, it therefore seems…

---

## [OptimizationMOI Ipopt violating inequality constraint](https://discourse.julialang.org/t/optimizationmoi-ipopt-violating-inequality-constraint/92608)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 26\
**Last updated:** [January 8, 2023, 12:57am UTC](https://discourse.julialang.org/t/optimizationmoi-ipopt-violating-inequality-constraint/92608 "2023-01-08T00:57:10Z")

</div>

Apparently, I still cannot get inequality constraints working, but now using Optimization.jl and IPOPT via the OptimizationMOI package. Problem The problem is that IPOPT violates my inequality constraint during a step, …

---

## [PlotlyJS Buttons question](https://discourse.julialang.org/t/plotlyjs-buttons-question/92577)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 5\
**Last updated:** [January 7, 2023, 7:50pm UTC](https://discourse.julialang.org/t/plotlyjs-buttons-question/92577 "2023-01-07T19:50:16Z")

</div>

Hi everyone. I am trying to understand how to do a couple of simple things with the buttons in PlotlyJS and I wonder if you can help me. I have some data, and I want to add a dropdown menu to chance the color of each s…

---

## [Text wrap in Makie?](https://discourse.julialang.org/t/text-wrap-in-makie/92631)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 2\
**Last updated:** [January 7, 2023, 3:04pm UTC](https://discourse.julialang.org/t/text-wrap-in-makie/92631 "2023-01-07T15:04:20Z")

</div>

Looking at documentation for Makie text there is a keyword for text wrapping: word\_wrap\_with::Real = -1. I need a bit of explanatory text in one panel but I cannot get the wrap to work. Any one has an idea how to fix tha…

---

## [Symbolics and Convex](https://discourse.julialang.org/t/symbolics-and-convex/92628)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 3\
**Last updated:** [January 7, 2023, 9:16am UTC](https://discourse.julialang.org/t/symbolics-and-convex/92628 "2023-01-07T09:16:22Z")

</div>

Hi, I’d like to consider a symbolic variable as a constant from Convex. For example, julia\> using Symbolics julia\> using Convex julia\> @variables x 1-element Vector{Num}: x julia\> u = Convex.Variable(1) Variable si…

---

## [Compilation error in Zygote, Flux and CUDA interaction](https://discourse.julialang.org/t/compilation-error-in-zygote-flux-and-cuda-interaction/92571)

<div class="topic-metadata">

**Author:** [@LucasMSpereira](https://discourse.julialang.org/u/LucasMSpereira)\
**Replies:** 3\
**Last updated:** [January 6, 2023, 11:25pm UTC](https://discourse.julialang.org/t/compilation-error-in-zygote-flux-and-cuda-interaction/92571 "2023-01-06T23:25:32Z")

</div>

I’m trying to implement a conditioned adaptation of the wasserstein generative adversarial networks with gradient penalty (WGAN-GP) training algorithm. But my function to calculate the gradient penalty isn’t working on t…

---

## [Shouldn't \`bunchkaufman\` be actually named \`ldlt\`?](https://discourse.julialang.org/t/shouldnt-bunchkaufman-be-actually-named-ldlt/77641)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 5\
**Last updated:** [January 6, 2023, 9:56pm UTC](https://discourse.julialang.org/t/shouldnt-bunchkaufman-be-actually-named-ldlt/77641 "2023-01-06T21:56:36Z")

</div>

I am just musing over the choise of the name bunchkaufman for the bunkaufman function. If I understand it correctly, the function provides an implementation of an algorithm for LDLᵀ factorization of a symmetric and in ge…

---

## [Zygote InexactError using repeat() with inner keyword](https://discourse.julialang.org/t/zygote-inexacterror-using-repeat-with-inner-keyword/92600)

<div class="topic-metadata">

**Author:** [@phK3](https://discourse.julialang.org/u/phK3)\
**Replies:** 3\
**Last updated:** [January 6, 2023, 3:01pm UTC](https://discourse.julialang.org/t/zygote-inexacterror-using-repeat-with-inner-keyword/92600 "2023-01-06T15:01:51Z")

</div>

The following function throws InexactError: Int64(2.0794415416798357): function get\_error(G, E, x) n, m = size(G) Ê = repeat(E, inner=(1, m)) Ĝ = repeat(G, inner=(1, m)) return Ĝ \* prod(x.^Ê, dims=1)…

---

## [How to solve a partial derivative equation (Navier-Stokes)](https://discourse.julialang.org/t/how-to-solve-a-partial-derivative-equation-navier-stokes/92605)

<div class="topic-metadata">

**Author:** [@Islam\_ZERROUGUI](https://discourse.julialang.org/u/Islam_ZERROUGUI)\
**Replies:** 3\
**Last updated:** [January 6, 2023, 2:59pm UTC](https://discourse.julialang.org/t/how-to-solve-a-partial-derivative-equation-navier-stokes/92605 "2023-01-06T14:59:57Z")

</div>

Hi everyone, I ended up with the following equation, and I want to solve it for the pressure (P) and saturation (s). The two variables are in two dimensions rectangular form with a length of 1 cm and a width of 2cm.

---

## [3D wireframe diagrams?](https://discourse.julialang.org/t/3d-wireframe-diagrams/47918)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 8\
**Last updated:** [January 6, 2023, 2:25pm UTC](https://discourse.julialang.org/t/3d-wireframe-diagrams/47918 "2023-01-06T14:25:43Z")

</div>

Hello, I’m wanting a Julia package that will enable me to draw a wireframe diagram - just points in space joined by lines - and move it around to view it from different angles or perspectives. I do most of my work in Ju…

---

## [Range (statistics)](https://discourse.julialang.org/t/range-statistics/92518)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 23\
**Last updated:** [January 6, 2023, 9:09am UTC](https://discourse.julialang.org/t/range-statistics/92518 "2023-01-06T09:09:58Z")

</div>

I often need to compute a statistical range (difference between maximum and minimum). Is there a function in the Statistics standard library to compute the range? Or should we use: maximum(x) - minimum(x)?

---

## [Prevent GLM from dropping rows with missings](https://discourse.julialang.org/t/prevent-glm-from-dropping-rows-with-missings/92569)

<div class="topic-metadata">

**Author:** [@croberts](https://discourse.julialang.org/u/croberts)\
**Replies:** 1\
**Last updated:** [January 5, 2023, 7:25pm UTC](https://discourse.julialang.org/t/prevent-glm-from-dropping-rows-with-missings/92569 "2023-01-05T19:25:26Z")

</div>

The @formula macro allows the construction of variables when creating a model matrix. This is great! I don’t have to add various transformations of variables to a DataFrame simply because I want to try alternative regr…

---

## [Compute only specific cells in 3D Matrix](https://discourse.julialang.org/t/compute-only-specific-cells-in-3d-matrix/92476)

<div class="topic-metadata">

**Author:** [@Bozaga\_Murat](https://discourse.julialang.org/u/Bozaga_Murat)\
**Replies:** 2\
**Last updated:** [January 5, 2023, 2:22pm UTC](https://discourse.julialang.org/t/compute-only-specific-cells-in-3d-matrix/92476 "2023-01-05T14:22:07Z")

</div>

Hey everybody, I have a 3D Matrix and a array with 3D coordinates. My target is to compute die differences with the neighbour cells. Yes, its called finite difference. So, I know how I can compute a range in this 3D Mat…

---

## [Solving sparse linear system returns a Matrix](https://discourse.julialang.org/t/solving-sparse-linear-system-returns-a-matrix/92451)

<div class="topic-metadata">

**Author:** [@A\_C](https://discourse.julialang.org/u/A_C)\
**Replies:** 10\
**Last updated:** [January 5, 2023, 2:05pm UTC](https://discourse.julialang.org/t/solving-sparse-linear-system-returns-a-matrix/92451 "2023-01-05T14:05:59Z")

</div>

Solving the sparse system is returning a Matrix while converting to dense and then solving returns a Vector as expected. Is this the expected behavior? Or am I doing something incorrectly? using SparseArrays # Construc…

---

## [Plot lines and markers beyond the limits of the axes?](https://discourse.julialang.org/t/plot-lines-and-markers-beyond-the-limits-of-the-axes/92506)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [January 5, 2023, 7:38am UTC](https://discourse.julialang.org/t/plot-lines-and-markers-beyond-the-limits-of-the-axes/92506 "2023-01-05T07:38:35Z")

</div>

Is it possible? I tried to search for information but I’m not sure what key words I should use . . . In the following example, the first and last markers are cut in half or quarter at the left and right edges of the fr…

---

## [Problem displaying images with ImageView and Gtk/GtkReactive](https://discourse.julialang.org/t/problem-displaying-images-with-imageview-and-gtk-gtkreactive/92507)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 9:21pm UTC](https://discourse.julialang.org/t/problem-displaying-images-with-imageview-and-gtk-gtkreactive/92507 "2023-01-04T21:21:44Z")

</div>

I have a problem using GtkReactive and Gtk. \> using Images, ImageView \> imshow(\[1 1 ; 1 1\]) gives a small black square. If now I load GtkReactive and Gtk, \> using GtkReactive, Gtk \> imshow(\[1 1 ; 1 1\]) I get a blank…

---

## [Problem saving a UnicodePlots figure](https://discourse.julialang.org/t/problem-saving-a-unicodeplots-figure/92522)

<div class="topic-metadata">

**Author:** [@MarawanEmara](https://discourse.julialang.org/u/MarawanEmara)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 8:55pm UTC](https://discourse.julialang.org/t/problem-saving-a-unicodeplots-figure/92522 "2023-01-04T20:55:02Z")

</div>

Hello! I have a problem-saving plot formed through UnicodePlots. The code I’m using could be found in this GitHub Repository. Everything works fine, I just wanted to attempt and save one of the plots to try and export …

---

## [CUDA test random failure](https://discourse.julialang.org/t/cuda-test-random-failure/92399)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 4\
**Last updated:** [January 4, 2023, 2:50pm UTC](https://discourse.julialang.org/t/cuda-test-random-failure/92399 "2023-01-04T14:50:01Z")

</div>

Hi, I am new to Julia gpu computation. I recently installed CUDA.jl, with the following status: (julia) pkg\> st Status \`~/julia/Project.toml\` \[6e4b80f9\] BenchmarkTools v1.3.2 \[052768ef\] CUDA v3.12.0 \[7a1cc6ca\] FFT…

---

## [Makie - How to serve WGLMakie visualizations on Docker image?](https://discourse.julialang.org/t/makie-how-to-serve-wglmakie-visualizations-on-docker-image/92048)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [January 4, 2023, 10:49am UTC](https://discourse.julialang.org/t/makie-how-to-serve-wglmakie-visualizations-on-docker-image/92048 "2023-01-04T10:49:11Z")

</div>

I am preparing material for the upcoming JuliaEO2023 workshop, and would like to use WGLMakie on the docker image shared by @gaelforget. I understand that I need to map the port where Makie displays visualizations. I tr…

---

## [How to examine properties of a candidate solution vector to an optimization problem in JuMP?](https://discourse.julialang.org/t/how-to-examine-properties-of-a-candidate-solution-vector-to-an-optimization-problem-in-jump/92483)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 7:55am UTC](https://discourse.julialang.org/t/how-to-examine-properties-of-a-candidate-solution-vector-to-an-optimization-problem-in-jump/92483 "2023-01-04T07:55:26Z")

</div>

Suppose I am solving an optimization problem in JuMP (see example below), and I want to try out a candidate solution vectors to the problem and see what it’s objective value and constraint values it yields (in particular…

---

## [Surface plot with gaps in data](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441)

<div class="topic-metadata">

**Author:** [@MK-1138](https://discourse.julialang.org/u/MK-1138)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 2:38am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441 "2023-01-04T02:38:20Z")

</div>

I’m preparing a rather large data set of x, y, z coordinates that I’d like to visualize using Makie surface plot. However, I do not have z coordinates for all (x, y) coordinates, that is, there is a gap in my data. Is it…

---

## [CuArray local scope memory issue](https://discourse.julialang.org/t/cuarray-local-scope-memory-issue/92421)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 4\
**Last updated:** [January 4, 2023, 2:30am UTC](https://discourse.julialang.org/t/cuarray-local-scope-memory-issue/92421 "2023-01-04T02:30:20Z")

</div>

Hi, recently i’m interested in GPU programming, not purpose on deep learning. In my case, i have quite large boolean vectors and have to get the intersect of them. I think these .== and .&& are very simple operations so …

---

## [Issue importing Clp for SigmoidalProgramming](https://discourse.julialang.org/t/issue-importing-clp-for-sigmoidalprogramming/91884)

<div class="topic-metadata">

**Author:** [@auchtopus](https://discourse.julialang.org/u/auchtopus)\
**Replies:** 6\
**Last updated:** [January 3, 2023, 8:50pm UTC](https://discourse.julialang.org/t/issue-importing-clp-for-sigmoidalprogramming/91884 "2023-01-03T20:50:49Z")

</div>

Hi! I’m trying to use GitHub - madeleineudell/SigmoidalProgramming.jl: Julia Package for Sigmoidal Programming The Project.toml looks like: name = "SigmoidalProgramming" uuid = "ce2a0656-6bed-5c64-9e01-e7b1ac833b80" k…

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

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