# Specific Domains

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

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

**Page:** 152

---

## [Solving Stochastic Differential Equations in Different Time Windows](https://discourse.julialang.org/t/solving-stochastic-differential-equations-in-different-time-windows/14807)

<div class="topic-metadata">

**Author:** [@zekeriya.sari](https://discourse.julialang.org/u/zekeriya.sari)\
**Replies:** 19\
**Last updated:** [November 26, 2023, 5:59pm UTC](https://discourse.julialang.org/t/solving-stochastic-differential-equations-in-different-time-windows/14807 "2023-11-26T17:59:23Z")

</div>

I want to solve a stochastic differential equation in different time windows under Wiener process, e.g., instead of solving the system for a time interval of (0, 2) seconds, I want to solve the system for a time duration…

---

## [Julia equivalent of boost accumulator](https://discourse.julialang.org/t/julia-equivalent-of-boost-accumulator/106733)

<div class="topic-metadata">

**Author:** [@Yue-Zhengyuan](https://discourse.julialang.org/u/Yue-Zhengyuan)\
**Replies:** 3\
**Last updated:** [November 26, 2023, 10:15am UTC](https://discourse.julialang.org/t/julia-equivalent-of-boost-accumulator/106733 "2023-11-26T10:15:04Z")

</div>

Is there a Julia package similar to boost accumulator of C++? The boost accumulator can calculate the statistical properties (average, standard error, etc) of a data stream on the fly without storing all datas.

---

## [Accessing to the dual variables, SDDP.jl](https://discourse.julialang.org/t/accessing-to-the-dual-variables-sddp-jl/106603)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 5\
**Last updated:** [November 25, 2023, 10:42pm UTC](https://discourse.julialang.org/t/accessing-to-the-dual-variables-sddp-jl/106603 "2023-11-25T22:42:02Z")

</div>

Hi, Assume that our problem is two-staged and that there is no uncertainty in stage one. To solve that, we intend to employ Benders Decompsotion. The second stage of the problem itself is a multi-stage stochastic proble…

---

## [Turing Sampler remembering values from previous runs](https://discourse.julialang.org/t/turing-sampler-remembering-values-from-previous-runs/106715)

<div class="topic-metadata">

**Author:** [@stochastic\_guy](https://discourse.julialang.org/u/stochastic_guy)\
**Replies:** 0\
**Last updated:** [November 25, 2023, 6:58pm UTC](https://discourse.julialang.org/t/turing-sampler-remembering-values-from-previous-runs/106715 "2023-11-25T18:58:20Z")

</div>

Below I am trying to build a bayesian network model. As part of model checking, I was comparing the prior distribution to posterior distribution. For my model the posterior is same as prior, no change. But what’s weird i…

---

## [Time to find the first feasible integer solution with JuMP](https://discourse.julialang.org/t/time-to-find-the-first-feasible-integer-solution-with-jump/106693)

<div class="topic-metadata">

**Author:** [@baprata](https://discourse.julialang.org/u/baprata)\
**Replies:** 2\
**Last updated:** [November 24, 2023, 11:05pm UTC](https://discourse.julialang.org/t/time-to-find-the-first-feasible-integer-solution-with-jump/106693 "2023-11-24T23:05:10Z")

</div>

I am solving a mixed-integer linear programming model with JuMP and CPLEX. How could I measure the time required to find the first feasible integer solution? Best regards, Bruno

---

## [How to Determine Acceptance Rate in Turing.jl with Metropolis-Hastings Algorithm](https://discourse.julialang.org/t/how-to-determine-acceptance-rate-in-turing-jl-with-metropolis-hastings-algorithm/106689)

<div class="topic-metadata">

**Author:** [@Can\_Bozdogan](https://discourse.julialang.org/u/Can_Bozdogan)\
**Replies:** 0\
**Last updated:** [November 24, 2023, 5:31pm UTC](https://discourse.julialang.org/t/how-to-determine-acceptance-rate-in-turing-jl-with-metropolis-hastings-algorithm/106689 "2023-11-24T17:31:29Z")

</div>

I am working on a project with Turing.jl using the Metropolis-Hastings (MH) algorithm. I’m interested in tracking the acceptance rate of the sampler in real-time and obtaining the final acceptance rate after the inferenc…

---

## [Solving coupled ODE systems](https://discourse.julialang.org/t/solving-coupled-ode-systems/106685)

<div class="topic-metadata">

**Author:** [@JunmingDuan](https://discourse.julialang.org/u/JunmingDuan)\
**Replies:** 2\
**Last updated:** [November 24, 2023, 5:24pm UTC](https://discourse.julialang.org/t/solving-coupled-ode-systems/106685 "2023-11-24T17:24:26Z")

</div>

I would like to solve two coupled ode systems. The first is integrated by any method as usual, while the second is integrated once every 10 steps and its solution is used to modify the parameters (also the rhs) in the fi…

---

## [Taking Quaternions Seriously](https://discourse.julialang.org/t/taking-quaternions-seriously/44834)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 69\
**Last updated:** [November 24, 2023, 4:00pm UTC](https://discourse.julialang.org/t/taking-quaternions-seriously/44834 "2023-11-24T16:00:16Z")

</div>

There are at least 4 separate implementations of quaternions in Julia. Some of them are \<:AbstractVector, some are \<:AbstractMatrix (:neutral\_face:), some are \<:Number, some follow sijk convention, some follow ijks conv…

---

## [Converting non-linear optimization with fmincom from Matlab to Julia](https://discourse.julialang.org/t/converting-non-linear-optimization-with-fmincom-from-matlab-to-julia/106536)

<div class="topic-metadata">

**Author:** [@Alfespo97](https://discourse.julialang.org/u/Alfespo97)\
**Replies:** 12\
**Last updated:** [November 23, 2023, 5:23pm UTC](https://discourse.julialang.org/t/converting-non-linear-optimization-with-fmincom-from-matlab-to-julia/106536 "2023-11-23T17:23:11Z")

</div>

Hi, I’m new to Julia language and I’m trying to replicate an optimization function created in Matlab using fmincom in Julia in order to improve the computation time that is quite huge in Matlab. I’ve used the JuMP mode…

---

## [Strategy for finding eigenvalues of an infinite banded matrix](https://discourse.julialang.org/t/strategy-for-finding-eigenvalues-of-an-infinite-banded-matrix/106513)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 9\
**Last updated:** [November 23, 2023, 10:42am UTC](https://discourse.julialang.org/t/strategy-for-finding-eigenvalues-of-an-infinite-banded-matrix/106513 "2023-11-23T10:42:54Z")

</div>

So I’ve got a (Hermitian) like the following, and I want to find its first few eigenvalues: \\begin{pmatrix} \\ddots & \\ddots &\\ddots\\\\ \\ddots & T\_{i,i} &T\_{i+1,i} &T\_{i+2,i} & 0 & 0 & 0 &\\\\ \\ddots &…

---

## [How to clip a raster with a polygon](https://discourse.julialang.org/t/how-to-clip-a-raster-with-a-polygon/105883)

<div class="topic-metadata">

**Author:** [@WillHWThompson](https://discourse.julialang.org/u/WillHWThompson)\
**Replies:** 3\
**Last updated:** [November 7, 2023, 8:21am UTC](https://discourse.julialang.org/t/how-to-clip-a-raster-with-a-polygon/105883 "2023-11-07T08:21:58Z")

</div>

Hi all. I have a julia GIS problem that I can’t seem to solve. I have been using Rasters.jl to load rasterized GIS data into julia. This implements a Raster data structure where latitude and longitude points are associa…

---

## [Spectral Coherence in Julia](https://discourse.julialang.org/t/spectral-coherence-in-julia/106144)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 27\
**Last updated:** [November 23, 2023, 9:14am UTC](https://discourse.julialang.org/t/spectral-coherence-in-julia/106144 "2023-11-23T09:14:14Z")

</div>

Hi everyone, I am trying to do the spectral coherence between two signals in julia. Much like mscohere in Matlab. https://www.mathworks.com/help/signal/ug/measuring-signal-similarities.html I guess DSP.jl must have it,…

---

## [Makie: plotting text at arbitrary position in \`GridLayout\`?](https://discourse.julialang.org/t/makie-plotting-text-at-arbitrary-position-in-gridlayout/106407)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [November 23, 2023, 5:54am UTC](https://discourse.julialang.org/t/makie-plotting-text-at-arbitrary-position-in-gridlayout/106407 "2023-11-23T05:54:57Z")

</div>

I asked how to plot some text at an arbitrary position in a Figure in this thread . The simplest answer was to plot the text using the coordinates of fig.scene. Then, my question here is, does a GridLayout has its own…

---

## [Gridap.jl: Help with a Coupled PDE](https://discourse.julialang.org/t/gridap-jl-help-with-a-coupled-pde/84204)

<div class="topic-metadata">

**Author:** [@James\_Gorman](https://discourse.julialang.org/u/James_Gorman)\
**Replies:** 8\
**Last updated:** [November 23, 2023, 3:26am UTC](https://discourse.julialang.org/t/gridap-jl-help-with-a-coupled-pde/84204 "2023-11-23T03:26:26Z")

</div>

Looking over the various FEM PDE solvers (those written in julia and other languages), few of them have tutorials that deal with fracture mechanics. While there are different formulations that could be used, I want to im…

---

## [Makie: open-ended contouring levels for contourf?](https://discourse.julialang.org/t/makie-open-ended-contouring-levels-for-contourf/106411)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 2\
**Last updated:** [November 23, 2023, 3:03am UTC](https://discourse.julialang.org/t/makie-open-ended-contouring-levels-for-contourf/106411 "2023-11-23T03:03:19Z")

</div>

This thread discusses how to limit the contouring values. My question is a followup on that: How to paint all values above and below the limits and coordinate with the colorbar? The first image below is what I need and …

---

## [Plots.jl pythonplot() matplotlib downgrading](https://discourse.julialang.org/t/plots-jl-pythonplot-matplotlib-downgrading/106599)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 0\
**Last updated:** [November 22, 2023, 9:41pm UTC](https://discourse.julialang.org/t/plots-jl-pythonplot-matplotlib-downgrading/106599 "2023-11-22T21:41:36Z")

</div>

When attempting to plot three aligned subplots in Plots.jl’s pythonplot() backend, the following error message is displayed: ERROR: Python: AttributeError: 'GrouperView' object has no attribute 'join' Python stacktrace:…

---

## [Optimization ADType](https://discourse.julialang.org/t/optimization-adtype/106587)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [November 22, 2023, 6:55pm UTC](https://discourse.julialang.org/t/optimization-adtype/106587 "2023-11-22T18:55:37Z")

</div>

What do I do wrong julia\> import Pkg julia\> Pkg.activate(;temp=true) Activating new project at \`C:\\Users\\LOCAL\_~4\\Temp\\jl\_cF3P4l\` (jl\_cF3P4l) pkg\> add Optimization, ForwardDiff ... \[f6369f11\] + ForwardDiff v0.10.36…

---

## [Writing CSV files with fixed decimal format](https://discourse.julialang.org/t/writing-csv-files-with-fixed-decimal-format/106571)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 7\
**Last updated:** [November 22, 2023, 5:38pm UTC](https://discourse.julialang.org/t/writing-csv-files-with-fixed-decimal-format/106571 "2023-11-22T17:38:58Z")

</div>

Any option to CSV.write with a format string (e.g. "%.4f")?

---

## [Makie: defaulting to minus symbol everywhere?](https://discourse.julialang.org/t/makie-defaulting-to-minus-symbol-everywhere/106291)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 13\
**Last updated:** [November 22, 2023, 3:53pm UTC](https://discourse.julialang.org/t/makie-defaulting-to-minus-symbol-everywhere/106291 "2023-11-22T15:53:13Z")

</div>

I have the feeling that this problem has already been solved, but I haven’t been able to locate the solution. Basically, I want all numeric labels and letterings for negative numbers to use the unicode minus symbol, not…

---

## [LSTM training for a sequence of multiple features using a batch size 30](https://discourse.julialang.org/t/lstm-training-for-a-sequence-of-multiple-features-using-a-batch-size-30/63238)

<div class="topic-metadata">

**Author:** [@reemmasoud123](https://discourse.julialang.org/u/reemmasoud123)\
**Replies:** 10\
**Last updated:** [November 22, 2023, 11:18am UTC](https://discourse.julialang.org/t/lstm-training-for-a-sequence-of-multiple-features-using-a-batch-size-30/63238 "2023-11-22T11:18:34Z")

</div>

I am trying to do batch training using LSTM for a time series data with multiple features. Assuming I have 5000 samples and 5 features for each sample. The input uses 14 days into the past and the output is a single val…

---

## [GLMakie - Question about extracting 3D data](https://discourse.julialang.org/t/glmakie-question-about-extracting-3d-data/106504)

<div class="topic-metadata">

**Author:** [@sajjad\_khan](https://discourse.julialang.org/u/sajjad_khan)\
**Replies:** 4\
**Last updated:** [November 22, 2023, 11:18am UTC](https://discourse.julialang.org/t/glmakie-question-about-extracting-3d-data/106504 "2023-11-22T11:18:14Z")

</div>

Hello! Need an assistance from GLMakie experts. I have a 3D data as x, y and z coordinates that is render as a 2D image. I want to extract the 3D data by drawing a line profile around and then render that as a color code…

---

## [Calculating angular velocity using incremental encoder data](https://discourse.julialang.org/t/calculating-angular-velocity-using-incremental-encoder-data/105180)

<div class="topic-metadata">

**Author:** [@thomasj](https://discourse.julialang.org/u/thomasj)\
**Replies:** 4\
**Last updated:** [November 22, 2023, 6:18am UTC](https://discourse.julialang.org/t/calculating-angular-velocity-using-incremental-encoder-data/105180 "2023-11-22T06:18:43Z")

</div>

I’m trying to measure the angular velocity of a rotating shaft using an encoder. An encoder delivers the angular position at certain time. If the time is known you can in theory calculate the angular velocity by dividi…

---

## [CuSparseMatrixCSC constructor](https://discourse.julialang.org/t/cusparsematrixcsc-constructor/62480)

<div class="topic-metadata">

**Author:** [@zhiwei](https://discourse.julialang.org/u/zhiwei)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 2:30am UTC](https://discourse.julialang.org/t/cusparsematrixcsc-constructor/62480 "2021-06-07T02:30:24Z")

</div>

Hello, I am trying to use the CuSparseMatrixCSC constructor as defined here, but it throws an error. I’m wondering what’s gone wrong. julia\> using CUDA julia\> I = CuArray(\[1,1\]); julia\> J = CuArray(\[1,2\]); julia\> V …

---

## [CUDA/GPU compatible discretization from MethodOfLines.jl](https://discourse.julialang.org/t/cuda-gpu-compatible-discretization-from-methodoflines-jl/106506)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 2\
**Last updated:** [November 21, 2023, 7:46pm UTC](https://discourse.julialang.org/t/cuda-gpu-compatible-discretization-from-methodoflines-jl/106506 "2023-11-21T19:46:03Z")

</div>

MethodOfLines.jl (MOL) exports discretize which gives an ODEProblem that can then be directly passed to OrdinaryDiffEq.solve() to get a solution. This works great if you want a CPU evaluation, but it seems not so much i…

---

## [ERROR: LinearAlgebra.SingularException(5)](https://discourse.julialang.org/t/error-linearalgebra-singularexception-5/106491)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 5\
**Last updated:** [November 20, 2023, 10:09pm UTC](https://discourse.julialang.org/t/error-linearalgebra-singularexception-5/106491 "2023-11-20T22:09:48Z")

</div>

How should I deal with this error: ERROR: LinearAlgebra.SingularException(5) I have the following matrix: Xₜ⁽ˡ⁾ = \[ 0.997838 1.01925 1.01489 1.00797 0.997964 0.992047 1.02963 0.987861 0.990278 0.991172 \] And…

---

## ['ESS' in Turing.jl](https://discourse.julialang.org/t/ess-in-turing-jl/103650)

<div class="topic-metadata">

**Author:** [@PrimulaBunce](https://discourse.julialang.org/u/PrimulaBunce)\
**Replies:** 3\
**Last updated:** [November 20, 2023, 9:21pm UTC](https://discourse.julialang.org/t/ess-in-turing-jl/103650 "2023-11-20T21:21:53Z")

</div>

Hi, I’m new to MCMC, and I’m using the Turing package to implement NUTS. par\_NUTS = sample(model, NUTS(1000, 0.65), MCMCThreads(), 1000, 3) I’m trying to figure out what the Effective Sample Size (ESS) values retur…

---

## [Custom bijector in TuringLang Bijectors](https://discourse.julialang.org/t/custom-bijector-in-turinglang-bijectors/105278)

<div class="topic-metadata">

**Author:** [@hanyas](https://discourse.julialang.org/u/hanyas)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 6:36pm UTC](https://discourse.julialang.org/t/custom-bijector-in-turinglang-bijectors/105278 "2023-11-20T18:36:38Z")

</div>

I am new to Julia and I am trying to use the Bijectors.jl package to define a tanh bijector. Looking through the doc and the code, I came up with different versions of the following struct Tanh \<: Bijectors.Bijector end…

---

## [Q: Using TermInterface to set up Metatheory](https://discourse.julialang.org/t/q-using-terminterface-to-set-up-metatheory/106480)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 6:22pm UTC](https://discourse.julialang.org/t/q-using-terminterface-to-set-up-metatheory/106480 "2023-11-20T18:22:43Z")

</div>

While I have been using Symbolics and SymbolicUtils for some time now , I am a novice in the use of Metatheory. My first attempt to set up Metatheory using TermInterface as described in the documentation is opened as an…

---

## [Saving a Flux ML model in a keras compatible format](https://discourse.julialang.org/t/saving-a-flux-ml-model-in-a-keras-compatible-format/106452)

<div class="topic-metadata">

**Author:** [@gradureau](https://discourse.julialang.org/u/gradureau)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 6:06pm UTC](https://discourse.julialang.org/t/saving-a-flux-ml-model-in-a-keras-compatible-format/106452 "2023-11-20T18:06:16Z")

</div>

Hey everyone, I am now using Flux to train my model and the goal is to exploit these models in fortran. So far I have seen that there is a fortran library that is called neural-fortran that enables to use a neural netwo…

---

## [Modeling elliptical geometries with Meshes.jl](https://discourse.julialang.org/t/modeling-elliptical-geometries-with-meshes-jl/106467)

<div class="topic-metadata">

**Author:** [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 2:42pm UTC](https://discourse.julialang.org/t/modeling-elliptical-geometries-with-meshes-jl/106467 "2023-11-20T14:42:02Z")

</div>

Maybe this is a dumb question but is there a native method for defining ellipses/ellipsoids in Meshes.jl? I didn’t see anything in the docs, and from a quick perusal of the source it doesn’t seem like Ball or Sphere were…

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

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