# Specific Domains

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

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

**Page:** 376

---

## [oneAPI & FFTW](https://discourse.julialang.org/t/oneapi-fftw/59055)

<div class="topic-metadata">

**Author:** [@fra](https://discourse.julialang.org/u/fra)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 6:12am UTC](https://discourse.julialang.org/t/oneapi-fftw/59055 "2021-04-12T06:12:44Z")

</div>

I’m trying oneAPI.jl with FFTW and I get an error when trying to use complex arrays in the GPU. using oneAPI using FFTW a = randn(1024) .+ im\*randn(1024); b = oneArray(a); fft(a); fft(b); For the oneArray case I get j…

---

## [What does \`fastabs(z::Complex)\` do?](https://discourse.julialang.org/t/what-does-fastabs-z-complex-do/59064)

<div class="topic-metadata">

**Author:** [@huangc](https://discourse.julialang.org/u/huangc)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 2:14am UTC](https://discourse.julialang.org/t/what-does-fastabs-z-complex-do/59064 "2021-04-12T02:14:10Z")

</div>

There is a fastabs(z::Complex) defined in both SpecialFunctions.jl and Base.Math. From its name, I would guess it computes the same thing as abs(z::Complex) but faster. However julia\> z = 3 + 4im 3 + 4im julia\> abs(z)…

---

## [Better way to clean and normalize a DataFrame of strings?](https://discourse.julialang.org/t/better-way-to-clean-and-normalize-a-dataframe-of-strings/59043)

<div class="topic-metadata">

**Author:** [@ben-schulz](https://discourse.julialang.org/u/ben-schulz)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 1:19am UTC](https://discourse.julialang.org/t/better-way-to-clean-and-normalize-a-dataframe-of-strings/59043 "2021-04-12T01:19:32Z")

</div>

hi there, i have a corpus of messy CSVs with matching columns but irregular formatting, so that a column ( say A ) often has some values with an unwanted metadata prefix, and other values without, like so: Row │ A …

---

## [ARFIMA estimation in Julia](https://discourse.julialang.org/t/arfima-estimation-in-julia/59041)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 4\
**Last updated:** [April 11, 2021, 9:52pm UTC](https://discourse.julialang.org/t/arfima-estimation-in-julia/59041 "2021-04-11T21:52:16Z")

</div>

Is there a package able to estimate an ARFIMA model in Julia (or just ARIMA for a start)? I believe that the ARFIMA.jl package is just for simulating stochastic time-series that follow an ARFIMA process. Thank you in ad…

---

## [Scale z plot3d](https://discourse.julialang.org/t/scale-z-plot3d/58953)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 2\
**Last updated:** [April 11, 2021, 4:35pm UTC](https://discourse.julialang.org/t/scale-z-plot3d/58953 "2021-04-11T16:35:35Z")

</div>

Dear all, How can I reduze the zscale in my plot? using Plots plotly() f(x,y) = y \< x ? cos(8x) + sin(8y) : NaN x = LinRange(-2, 2, 100); y = LinRange(-2, 2, 100); surface(x, y, f,aspect\_ratio = .3) See the strange f…

---

## [Joinpoint Trend Analysis](https://discourse.julialang.org/t/joinpoint-trend-analysis/59035)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 1\
**Last updated:** [April 11, 2021, 4:00pm UTC](https://discourse.julialang.org/t/joinpoint-trend-analysis/59035 "2021-04-11T16:00:15Z")

</div>

Does anyone know a Pkg capable of fits the “joinpoint model” like this software: Joinpoint Trend Analysis Software Thanks

---

## [Stheno marginals](https://discourse.julialang.org/t/stheno-marginals/58943)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 7\
**Last updated:** [April 11, 2021, 12:48pm UTC](https://discourse.julialang.org/t/stheno-marginals/58943 "2021-04-11T12:48:30Z")

</div>

I’m trying to follow the examples but having some issues. What’s going wrong here? \[8188c328\] Stheno v0.7.1 # # This file just shows how some of the basic manipulations you can do in Stheno work in # practice. See the …

---

## [Stheno with Makie](https://discourse.julialang.org/t/stheno-with-makie/58882)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 4\
**Last updated:** [April 10, 2021, 1:04pm UTC](https://discourse.julialang.org/t/stheno-with-makie/58882 "2021-04-10T13:04:00Z")

</div>

How can I plot Stheno intervals with Makie (instead of Plots.jl)? Docs Stheno.jl knows how to use Plots.jl to plot GPs, so it’s straightforward to look at the posterior: x\_plot = range(-4.0, 4.0; length=1000); plot!…

---

## [JuMP Space Shuttle example failing](https://discourse.julialang.org/t/jump-space-shuttle-example-failing/58971)

<div class="topic-metadata">

**Author:** [@sinom](https://discourse.julialang.org/u/sinom)\
**Replies:** 1\
**Last updated:** [April 10, 2021, 9:51am UTC](https://discourse.julialang.org/t/jump-space-shuttle-example-failing/58971 "2021-04-10T09:51:12Z")

</div>

Hello all, first let me say I’m just starting out with Julia and I’m already super impressed with what can be achieved. It’s really such a well designed language as far as I can tell. I’m still using mostly Python for …

---

## [What is a neutral element (for accumulate on gpu)?](https://discourse.julialang.org/t/what-is-a-neutral-element-for-accumulate-on-gpu/58845)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 8\
**Last updated:** [April 10, 2021, 1:26am UTC](https://discourse.julialang.org/t/what-is-a-neutral-element-for-accumulate-on-gpu/58845 "2021-04-10T01:26:16Z")

</div>

Hello, So I’m trying this simple accumulate function on a CuArray: julia\> using CUDA julia\> d\_d = cu(rand(10,20)); julia\> accumulate((a,d) -\> d + 0.99\*0.95\*a, d\_d, dims = 2, init = 0f0) ERROR: GPUArrays.jl needs to kno…

---

## [Register a new PyCall version?](https://discourse.julialang.org/t/register-a-new-pycall-version/58947)

<div class="topic-metadata">

**Author:** [@sethaxen](https://discourse.julialang.org/u/sethaxen)\
**Replies:** 3\
**Last updated:** [April 9, 2021, 10:45pm UTC](https://discourse.julialang.org/t/register-a-new-pycall-version/58947 "2021-04-09T22:45:34Z")

</div>

A fix for a Python/Julia interop issue was pushed to PyCall.jl 3 months ago. Can someone please register a new version? I have been unable to reach the maintainers through GitHub and Slack.

---

## [Upsampling or downsampling sample data of two sensors to match](https://discourse.julialang.org/t/upsampling-or-downsampling-sample-data-of-two-sensors-to-match/58937)

<div class="topic-metadata">

**Author:** [@Eggy](https://discourse.julialang.org/u/Eggy)\
**Replies:** 2\
**Last updated:** [April 9, 2021, 7:43pm UTC](https://discourse.julialang.org/t/upsampling-or-downsampling-sample-data-of-two-sensors-to-match/58937 "2021-04-09T19:43:18Z")

</div>

I used two accelerometers to collect data, but forgot to check and put them at the same sample rate; they went back to their defaults. One was sampling at 256 Hz and the other was sampling at 100 Hz. I am looking for fre…

---

## [How to use interior point algorithm in GLPK](https://discourse.julialang.org/t/how-to-use-interior-point-algorithm-in-glpk/58904)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 5\
**Last updated:** [April 9, 2021, 5:32pm UTC](https://discourse.julialang.org/t/how-to-use-interior-point-algorithm-in-glpk/58904 "2021-04-09T17:32:14Z")

</div>

What param and value to use to set GLPK to use interior point. via set\_optimizer\_attribute Thanks Manoj

---

## [Binary classification with Flux](https://discourse.julialang.org/t/binary-classification-with-flux/54636)

<div class="topic-metadata">

**Author:** [@Tord](https://discourse.julialang.org/u/Tord)\
**Replies:** 8\
**Last updated:** [April 9, 2021, 4:15pm UTC](https://discourse.julialang.org/t/binary-classification-with-flux/54636 "2021-04-09T16:15:14Z")

</div>

I originally asked this question on the Julia slack, but it occurred to me that this could be a better place to ask: I’ve used Flux successfully for regression and multi-label classification in the past, but today I got…

---

## [Making a more type-stable arraydist for Turing?](https://discourse.julialang.org/t/making-a-more-type-stable-arraydist-for-turing/58871)

<div class="topic-metadata">

**Author:** [@opera\_malenky](https://discourse.julialang.org/u/opera_malenky)\
**Replies:** 3\
**Last updated:** [April 9, 2021, 1:00pm UTC](https://discourse.julialang.org/t/making-a-more-type-stable-arraydist-for-turing/58871 "2021-04-09T13:00:00Z")

</div>

I recently noticed that making an arraydist prior composed of different types of distributions leads to type instability (which seems a bit obvious, in hindsight). Playing around, I thought making a union of the componen…

---

## [Type Stability with Named Constraints in JuMP](https://discourse.julialang.org/t/type-stability-with-named-constraints-in-jump/58878)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 2\
**Last updated:** [April 9, 2021, 12:55pm UTC](https://discourse.julialang.org/t/type-stability-with-named-constraints-in-jump/58878 "2021-04-09T12:55:27Z")

</div>

I’ve got a Nash equilibrium calculation running through JuMP that names a constraint on the row player so that the column player can be extracted (see Efficient Nash Equilibria using JuMP - #6 by Ian\_Slagle) . function …

---

## [Multiple dimensional sampling with first element string](https://discourse.julialang.org/t/multiple-dimensional-sampling-with-first-element-string/58863)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 33\
**Last updated:** [April 9, 2021, 5:44am UTC](https://discourse.julialang.org/t/multiple-dimensional-sampling-with-first-element-string/58863 "2021-04-09T05:44:41Z")

</div>

Hi, My equation g below is a function of the variable d which is indexed by s,n. I would like to sampling points to be of d\[s,n\]. how do I create the correct lb and ub. using DataStructures using JuMP using Surrogates …

---

## [How to add new column to Dataframe](https://discourse.julialang.org/t/how-to-add-new-column-to-dataframe/58794)

<div class="topic-metadata">

**Author:** [@Shazman](https://discourse.julialang.org/u/Shazman)\
**Replies:** 8\
**Last updated:** [April 8, 2021, 11:31pm UTC](https://discourse.julialang.org/t/how-to-add-new-column-to-dataframe/58794 "2021-04-08T23:31:03Z")

</div>

Hi I want to add dataframe A as a first column of dataframe of B. so the first column of new dataframe will be IID from A how can I do that ? thank you in advance! dataframe A Row │ IID │ Int64 …

---

## [Makie mouse\_in\_scene gives pixel positions](https://discourse.julialang.org/t/makie-mouse-in-scene-gives-pixel-positions/58864)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 9:19pm UTC](https://discourse.julialang.org/t/makie-mouse-in-scene-gives-pixel-positions/58864 "2021-04-08T21:19:30Z")

</div>

Hi, I don’t understand why the following code doesn’t work. (maybe I an just blind) using AbstractPlotting X = Node( rand(Point2f0, 10) ) fig = Figure(resolution = (1200, 900)) scatter(fig\[1,1\], X) scene = fig.scen…

---

## [PrettyTables: Is there a way to show multiple tables when the table is very wide?](https://discourse.julialang.org/t/prettytables-is-there-a-way-to-show-multiple-tables-when-the-table-is-very-wide/58846)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 1\
**Last updated:** [April 8, 2021, 5:49pm UTC](https://discourse.julialang.org/t/prettytables-is-there-a-way-to-show-multiple-tables-when-the-table-is-very-wide/58846 "2021-04-08T17:49:40Z")

</div>

I feel like I’ve seen an example somewhere where, when printing with pretty\_table, if a table is too wide for the terminal, it prints multiple tables until everything is printed. Is that a thing? Or is that a feature I …

---

## [How to create JSON files for finite element meshes?](https://discourse.julialang.org/t/how-to-create-json-files-for-finite-element-meshes/58861)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 0\
**Last updated:** [April 8, 2021, 5:41pm UTC](https://discourse.julialang.org/t/how-to-create-json-files-for-finite-element-meshes/58861 "2021-04-08T17:41:16Z")

</div>

Packages like femgl (GitHub - mikolalysenko/femgl: WebGL finite element viewer) and GridApp (GitHub - gridap/Gridap.jl: Grid-based approximation of partial differential equations in Julia) employ finite element mesh file…

---

## [ArgumentError: invalid index: "s1" of type String](https://discourse.julialang.org/t/argumenterror-invalid-index-s1-of-type-string/58738)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 11\
**Last updated:** [April 8, 2021, 4:41pm UTC](https://discourse.julialang.org/t/argumenterror-invalid-index-s1-of-type-string/58738 "2021-04-08T16:41:16Z")

</div>

Hi, Here is a MWE of my problem that is returning the same error. I cannot seem to understand why. using DataStructures using JuMP using TaylorSeries S = \["s1","s2","s3","s4"\] N = \[1:10\] price = OrderedDict( "s1" =\> …

---

## [Chasing a GR bug (non-square figures)](https://discourse.julialang.org/t/chasing-a-gr-bug-non-square-figures/58819)

<div class="topic-metadata">

**Author:** [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 11:49am UTC](https://discourse.julialang.org/t/chasing-a-gr-bug-non-square-figures/58819 "2021-04-08T11:49:42Z")

</div>

I’ve made a bug report at , but since I’m suspecting that this is system dependant I would appreciate if someone else could help me check: From the Repl, julia\> using Plots julia\> gr() julia\> plot(rand(10); size=(80…

---

## [Mark each scatter point uniquely](https://discourse.julialang.org/t/mark-each-scatter-point-uniquely/58803)

<div class="topic-metadata">

**Author:** [@quazirfan](https://discourse.julialang.org/u/quazirfan)\
**Replies:** 3\
**Last updated:** [April 8, 2021, 7:52am UTC](https://discourse.julialang.org/t/mark-each-scatter-point-uniquely/58803 "2021-04-08T07:52:09Z")

</div>

I am making a scatter plot with 10 points. I need to be able to identify each point individually since they will move and I want to track their movement. Is it possible to mark each points with numbers? Or some unique s…

---

## [Authentication with download](https://discourse.julialang.org/t/authentication-with-download/58790)

<div class="topic-metadata">

**Author:** [@robertdj](https://discourse.julialang.org/u/robertdj)\
**Replies:** 2\
**Last updated:** [April 8, 2021, 8:33am UTC](https://discourse.julialang.org/t/authentication-with-download/58790 "2021-04-08T08:33:43Z")

</div>

I would like to authenticate against an API that use Active Directory. It is possible with curl and I’m hoping that the new Downloads.download can handle this since it’s based on libcurl. But I can’t see from the docs h…

---

## [Existing package to convert LP to standard form?](https://discourse.julialang.org/t/existing-package-to-convert-lp-to-standard-form/19398)

<div class="topic-metadata">

**Author:** [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Replies:** 10\
**Last updated:** [April 7, 2021, 10:27pm UTC](https://discourse.julialang.org/t/existing-package-to-convert-lp-to-standard-form/19398 "2021-04-07T22:27:12Z")

</div>

I’m working towards implementing a new type of solver for MILPs based on ADMM. This solver requires that the problem be specified as an LP in standard form (+ MI constraints). Before I go re-inventing the wheel, are th…

---

## [JuMP mutually exclusive indices iterated over the same set](https://discourse.julialang.org/t/jump-mutually-exclusive-indices-iterated-over-the-same-set/58198)

<div class="topic-metadata">

**Author:** [@Paris\_Pijuan](https://discourse.julialang.org/u/Paris_Pijuan)\
**Replies:** 5\
**Last updated:** [April 7, 2021, 5:05pm UTC](https://discourse.julialang.org/t/jump-mutually-exclusive-indices-iterated-over-the-same-set/58198 "2021-04-07T17:05:01Z")

</div>

Hello, I am new here and a relatively new Julia user. I have a constraint in a model I am writing where I have variables twice indexed over the same set, but I need the indices to iterate mutually exclusively. The code …

---

## [Odd behavior from ControlSystemIdentification and JuMP on version 1.6](https://discourse.julialang.org/t/odd-behavior-from-controlsystemidentification-and-jump-on-version-1-6/58714)

<div class="topic-metadata">

**Author:** [@jcert](https://discourse.julialang.org/u/jcert)\
**Replies:** 4\
**Last updated:** [April 7, 2021, 4:58am UTC](https://discourse.julialang.org/t/odd-behavior-from-controlsystemidentification-and-jump-on-version-1-6/58714 "2021-04-07T04:58:14Z")

</div>

Hello, I am preparing a short tutorial on how to use Julia for Control Systems and I was using Julia 1.5 and it was working ok. Then I decided to test version 1.6 to see if it would make it load faster (considering that …

---

## [Imputing Discrete Data](https://discourse.julialang.org/t/imputing-discrete-data/58662)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 14\
**Last updated:** [April 7, 2021, 12:02am UTC](https://discourse.julialang.org/t/imputing-discrete-data/58662 "2021-04-07T00:02:48Z")

</div>

I’m trying to use NUTS in Turing.jl to estimate some parameters, but have some missing data which follows a binomial distribution. Since I know NUTS can’t impute discrete variables so I’m trying to use Gibbs with PG to s…

---

## [Powermodels.jl SDP relaxation](https://discourse.julialang.org/t/powermodels-jl-sdp-relaxation/57165)

<div class="topic-metadata">

**Author:** [@aaldik](https://discourse.julialang.org/u/aaldik)\
**Replies:** 9\
**Last updated:** [April 6, 2021, 7:29pm UTC](https://discourse.julialang.org/t/powermodels-jl-sdp-relaxation/57165 "2021-04-06T19:29:17Z")

</div>

Dears I have a question regrading the Powermodels.jl package. Does it support the SDP relaxation? I have seen that it was mentioned in the documentation that it is supported (SDPWRMPowerModel). However, it didn’t work e…

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

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