# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=402

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

**Page:** 403

---

## [Find Taylor Series of a Function](https://discourse.julialang.org/t/find-taylor-series-of-a-function/51847)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 11\
**Last updated:** [December 16, 2020, 3:52am UTC](https://discourse.julialang.org/t/find-taylor-series-of-a-function/51847 "2020-12-16T03:52:52Z")

</div>

I’m completely at a loss for finding the Taylor Series of a function using TaylorSeries.jl using TaylorSeries using QuadGK f(x)=cos(x) t=Taylor1(f(pi/2),2) quadgk(x-\>cos(t), 22pi/45,pi/2;order=2)

---

## [Dimension mismatch. "Cannot sum matrices" when doing a product](https://discourse.julialang.org/t/dimension-mismatch-cannot-sum-matrices-when-doing-a-product/51869)

<div class="topic-metadata">

**Author:** [@prit](https://discourse.julialang.org/u/prit)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 9:17pm UTC](https://discourse.julialang.org/t/dimension-mismatch-cannot-sum-matrices-when-doing-a-product/51869 "2020-12-15T21:17:36Z")

</div>

I have the following code: using JuMP using MosekTools K = 3 N = 2 penalties = \[1.0, 3.9, 8.7\] function fac1(r::Number, i::Number, l::Number) fac1 = 1.0 for m in 0:r-1 fac1 \*= (i-m)\*(l-m) end ret…

---

## [Expand row to multiple rows](https://discourse.julialang.org/t/expand-row-to-multiple-rows/51872)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 11\
**Last updated:** [December 15, 2020, 5:50pm UTC](https://discourse.julialang.org/t/expand-row-to-multiple-rows/51872 "2020-12-15T17:50:44Z")

</div>

I have this data: df=DataFrame(name=\["aaa","bbbb","ccc"\], frqty=\["apple\\\\4\\\\melon\\\\5","plume\\\\12","graphes\\\\7\\\\mango\\\\9\\\\persic\\\\11"\]) the goal is to get a group of rows for each name and two …

---

## [Promote operation; report this](https://discourse.julialang.org/t/promote-operation-report-this/51871)

<div class="topic-metadata">

**Author:** [@prit](https://discourse.julialang.org/u/prit)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 3:35pm UTC](https://discourse.julialang.org/t/promote-operation-report-this/51871 "2020-12-15T15:35:29Z")

</div>

I have the following code in which a constraint is giving a “promote operation error”: using JuMP using MosekTools K = 3 N = 2 penalties = \[1.0, 3.9, 8.7\] function fac1(r::Number, i::Number, l::Number) fac1 = 1.0 …

---

## [ReverseDiff: differentiating a function with an indexing argument](https://discourse.julialang.org/t/reversediff-differentiating-a-function-with-an-indexing-argument/51530)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 5\
**Last updated:** [December 15, 2020, 12:09pm UTC](https://discourse.julialang.org/t/reversediff-differentiating-a-function-with-an-indexing-argument/51530 "2020-12-15T12:09:52Z")

</div>

I am looking to move from using ForwardDiff to ReverseDiff due to the speedup provided by compiled tapes. I would like to differentiate a function where one of the arguments is an index of the output, and then compile th…

---

## [How to add, subtract, and take linear combinations of ODE solutions](https://discourse.julialang.org/t/how-to-add-subtract-and-take-linear-combinations-of-ode-solutions/51791)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 2\
**Last updated:** [December 15, 2020, 10:24am UTC](https://discourse.julialang.org/t/how-to-add-subtract-and-take-linear-combinations-of-ode-solutions/51791 "2020-12-15T10:24:55Z")

</div>

Hi, I’m solving differential equations with different sets of initial conditions, and I’m trying to figure out how to take different linear combinations of the ODE solutions (added, subtracted, multiplied by different sc…

---

## [Image rotation](https://discourse.julialang.org/t/image-rotation/2637)

<div class="topic-metadata">

**Author:** [@yalexand](https://discourse.julialang.org/u/yalexand)\
**Replies:** 10\
**Last updated:** [December 15, 2020, 10:17am UTC](https://discourse.julialang.org/t/image-rotation/2637 "2020-12-15T10:17:14Z")

</div>

Hi All, I can’t find an analog for Matlab “imrotate” function. Maybe I overlooked it, or really there isn’t such thing? Here it is in Matlab, to save you clicking: imrotate Rotate image. B = imrotate(A,ANGLE) rot…

---

## [Retrieving the Hessian, and eventually calculating the standard errors using JuMP](https://discourse.julialang.org/t/retrieving-the-hessian-and-eventually-calculating-the-standard-errors-using-jump/51823)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 3\
**Last updated:** [December 15, 2020, 9:47am UTC](https://discourse.julialang.org/t/retrieving-the-hessian-and-eventually-calculating-the-standard-errors-using-jump/51823 "2020-12-15T09:47:47Z")

</div>

After obtaining the optimum, I am interested in finding the Hessian. I then intend to use this to find standard errors. More like what is done here, but that code refers to old JuMP and I am having trouble translating it…

---

## [Julia not accepting this constraint. No method matching cartesian index](https://discourse.julialang.org/t/julia-not-accepting-this-constraint-no-method-matching-cartesian-index/51850)

<div class="topic-metadata">

**Author:** [@prit](https://discourse.julialang.org/u/prit)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 9:13am UTC](https://discourse.julialang.org/t/julia-not-accepting-this-constraint-no-method-matching-cartesian-index/51850 "2020-12-15T09:13:33Z")

</div>

I have the following code in which the JuMP constraint is throwing an error. using JuMP using MosekTools K = 3 N = 2 penalties = \[1.0, 3.9, 8.7\] function A\_tau(r::Number, n::Number, tau::Float64) fac = 1 for m …

---

## [Again, another simple 2D plotting tool](https://discourse.julialang.org/t/again-another-simple-2d-plotting-tool/51837)

<div class="topic-metadata">

**Author:** [@ig-or](https://discourse.julialang.org/u/ig-or)\
**Replies:** 0\
**Last updated:** [December 15, 2020, 12:09am UTC](https://discourse.julialang.org/t/again-another-simple-2d-plotting-tool/51837 "2020-12-15T00:09:49Z")

</div>

Hello, made another 2D plotting tool for Julia… QWTWPlot.jl maybe it could be useful for quick data analysis. It does not have many features but allows to quickly create a number of “connected” plots, like when you mov…

---

## [DoubleFloats.jl -\> Double128 | Quad64?](https://discourse.julialang.org/t/doublefloats-jl-double128-quad64/51049)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 54\
**Last updated:** [December 14, 2020, 11:10pm UTC](https://discourse.julialang.org/t/doublefloats-jl-double128-quad64/51049 "2020-12-14T23:10:39Z")

</div>

Hey, I need some kind of high precision arithmetics to do computations, and I’m trying to find the best balance between runtime and precision. Using BigFloat, i found out that 256bits BigFloats give me good enough resul…

---

## [Unknown error when using ccall to work with Apache Arrow's GLib interface](https://discourse.julialang.org/t/unknown-error-when-using-ccall-to-work-with-apache-arrows-glib-interface/51794)

<div class="topic-metadata">

**Author:** [@s-kap](https://discourse.julialang.org/u/s-kap)\
**Replies:** 3\
**Last updated:** [December 14, 2020, 10:21pm UTC](https://discourse.julialang.org/t/unknown-error-when-using-ccall-to-work-with-apache-arrows-glib-interface/51794 "2020-12-14T22:21:39Z")

</div>

Hey all, Context: Apache Arrow is an in memory columnar format has some very speedy IO implementations in c++ has a C interface using GLib Since it’s an in-memory format, I’d like to perform IO in cpp, and then conv…

---

## [List of JuMP solvers that have a compute\_conflict! function implemented](https://discourse.julialang.org/t/list-of-jump-solvers-that-have-a-compute-conflict-function-implemented/51825)

<div class="topic-metadata">

**Author:** [@bhalonen](https://discourse.julialang.org/u/bhalonen)\
**Replies:** 2\
**Last updated:** [December 14, 2020, 9:05pm UTC](https://discourse.julialang.org/t/list-of-jump-solvers-that-have-a-compute-conflict-function-implemented/51825 "2020-12-14T21:05:19Z")

</div>

I am interested in using the compute\_conflict! function in JuMP, I noticed that Gurobi.jl and CPLEX.jl are cited in the documentation in a comment as available solvers. I also found that Xpress.jl has the same functional…

---

## [Gurobi constraint](https://discourse.julialang.org/t/gurobi-constraint/51798)

<div class="topic-metadata">

**Author:** [@jay-dave](https://discourse.julialang.org/u/jay-dave)\
**Replies:** 2\
**Last updated:** [December 14, 2020, 8:59pm UTC](https://discourse.julialang.org/t/gurobi-constraint/51798 "2020-12-14T20:59:55Z")

</div>

Below is the minimum example of the model I am able to solve. Why is the constraint @constraint(model, Cost == (x-y)\*z) allowed in Gurobi? Isn’t it nonlinear? using JuMP using Gurobi model = Model(with\_optimizer(Gurobi.…

---

## [In-place allocations in DifferentialEquations](https://discourse.julialang.org/t/in-place-allocations-in-differentialequations/51813)

<div class="topic-metadata">

**Author:** [@oeyd](https://discourse.julialang.org/u/oeyd)\
**Replies:** 9\
**Last updated:** [December 14, 2020, 7:59pm UTC](https://discourse.julialang.org/t/in-place-allocations-in-differentialequations/51813 "2020-12-14T19:59:15Z")

</div>

I am wondering why the code below allocates as much memory as it does despite using an in-place function definition. Is this normal or is there a way to avoid these allocations? using DifferentialEquations function ode…

---

## [Difference result between insertcols! and transform! in spreading one column to many columns](https://discourse.julialang.org/t/difference-result-between-insertcols-and-transform-in-spreading-one-column-to-many-columns/51777)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 4\
**Last updated:** [December 14, 2020, 7:48pm UTC](https://discourse.julialang.org/t/difference-result-between-insertcols-and-transform-in-spreading-one-column-to-many-columns/51777 "2020-12-14T19:48:05Z")

</div>

I tried to understand how this script here works and I tried to reproduce it in other ways: this with insertcols! it seems to work df=DataFrame(name=\["James Smith 39","Michel Smith 41","Maria Garcia 19"\], …

---

## [Incompatibility Queryverse / DataFrames?](https://discourse.julialang.org/t/incompatibility-queryverse-dataframes/51822)

<div class="topic-metadata">

**Author:** [@tlorans](https://discourse.julialang.org/u/tlorans)\
**Replies:** 2\
**Last updated:** [December 14, 2020, 7:28pm UTC](https://discourse.julialang.org/t/incompatibility-queryverse-dataframes/51822 "2020-12-14T19:28:58Z")

</div>

Hello, I try to use simultaneously Queryverse and DataFrames packages, but it seems there is some incompatibility: julia\> Pkg.add("Queryverse") Updating registry at \`~/.julia/registries/General\` ####################…

---

## [Package for time series?](https://discourse.julialang.org/t/package-for-time-series/29555)

<div class="topic-metadata">

**Author:** [@Donkeyfish87](https://discourse.julialang.org/u/Donkeyfish87)\
**Replies:** 10\
**Last updated:** [December 14, 2020, 5:59pm UTC](https://discourse.julialang.org/t/package-for-time-series/29555 "2020-12-14T17:59:42Z")

</div>

Are there any Julia packages for time series analysis? Like arma, arima, vector autoregressions etc. I’ve tried looking around a bit, but didn’t find anything. Thanks.

---

## [Multiple Constraints using JuMP for unbounded knapsack](https://discourse.julialang.org/t/multiple-constraints-using-jump-for-unbounded-knapsack/51015)

<div class="topic-metadata">

**Author:** [@TheMEGuy](https://discourse.julialang.org/u/TheMEGuy)\
**Replies:** 6\
**Last updated:** [December 14, 2020, 2:58pm UTC](https://discourse.julialang.org/t/multiple-constraints-using-jump-for-unbounded-knapsack/51015 "2020-12-14T14:58:17Z")

</div>

I am new to programming, so I hope that the description of my probleme is accurate: Based on knapsack, I used JuMP and GLPK to come up with a solution for the unbounded knapsack problem.: function unbounded\_knapsack(va…

---

## [Julia wrapper for libssh?](https://discourse.julialang.org/t/julia-wrapper-for-libssh/46041)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 4\
**Last updated:** [December 14, 2020, 9:03am UTC](https://discourse.julialang.org/t/julia-wrapper-for-libssh/46041 "2020-12-14T09:03:03Z")

</div>

Is there a julia wrapper for libssh somewhere? I would like to be able to transfer a part of a large file located on a remote server using sftp (the file itself could be 100G, but I might be interested in a small subset …

---

## [Fast CNN inference](https://discourse.julialang.org/t/fast-cnn-inference/51761)

<div class="topic-metadata">

**Author:** [@Fabrice\_Rosay](https://discourse.julialang.org/u/Fabrice_Rosay)\
**Replies:** 3\
**Last updated:** [December 14, 2020, 8:01am UTC](https://discourse.julialang.org/t/fast-cnn-inference/51761 "2020-12-14T08:01:22Z")

</div>

Hi, I’m currently using Knet and Flux for doing alphazero like calculations. As the botlleneck is the many inferences needed i was wondering if it would be possible to wrap TensorRT like https://github.com/zerollzeng/ti…

---

## [Changing many rows to single row julia1.5.3](https://discourse.julialang.org/t/changing-many-rows-to-single-row-julia1-5-3/51615)

<div class="topic-metadata">

**Author:** [@orthoeng](https://discourse.julialang.org/u/orthoeng)\
**Replies:** 8\
**Last updated:** [December 13, 2020, 11:51pm UTC](https://discourse.julialang.org/t/changing-many-rows-to-single-row-julia1-5-3/51615 "2020-12-13T23:51:12Z")

</div>

I have a dataset that is 1miil x 70 but with in the rows many columns have duplicate entries. Likewise there are many rows that are unique columns also. Example | ID | age | location | street …

---

## [Warning: macos 10.12.\* bug with SharedArray: shm\_open() failed](https://discourse.julialang.org/t/warning-macos-10-12-bug-with-sharedarray-shm-open-failed/10471)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 3\
**Last updated:** [December 13, 2020, 10:23pm UTC](https://discourse.julialang.org/t/warning-macos-10-12-bug-with-sharedarray-shm-open-failed/10471 "2020-12-13T22:23:38Z")

</div>

The following program triggers a bug in macos 10.12.\*, but not in 10.13.\* : (nprocs()\>1) || addprocs(1) function sharedarray\_parallel\_sum() sa = SharedArray{Float64}(5) @sync @parallel for i=1:5; sa\[i\] = timing…

---

## [Just curious: why most of packages in github.com/JuliaQuant organization not updated for a quite long time](https://discourse.julialang.org/t/just-curious-why-most-of-packages-in-github-com-juliaquant-organization-not-updated-for-a-quite-long-time/51707)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 4:41pm UTC](https://discourse.julialang.org/t/just-curious-why-most-of-packages-in-github-com-juliaquant-organization-not-updated-for-a-quite-long-time/51707 "2020-12-13T16:41:53Z")

</div>

I am searching for an alternative to Backtrader in Python, or any backtesting framework in Julia, without any luck. How do people here in Julia do trade backtesting?

---

## [Error when using 'All' in 'DataFrames.combine'](https://discourse.julialang.org/t/error-when-using-all-in-dataframes-combine/49045)

<div class="topic-metadata">

**Author:** [@metab0t](https://discourse.julialang.org/u/metab0t)\
**Replies:** 2\
**Last updated:** [December 13, 2020, 3:47pm UTC](https://discourse.julialang.org/t/error-when-using-all-in-dataframes-combine/49045 "2020-12-13T15:47:53Z")

</div>

I try the following code: using DataFrames df = DataFrame(a=1:3, b=4:6) combine(df, All(:) .=\> sum) and get error: ERROR: MethodError: no method matching length(::All{Tuple{Colon}}) Closest candidates are: length(::…

---

## [AMDGPU install errors](https://discourse.julialang.org/t/amdgpu-install-errors/51492)

<div class="topic-metadata">

**Author:** [@saltchunkmary](https://discourse.julialang.org/u/saltchunkmary)\
**Replies:** 12\
**Last updated:** [December 13, 2020, 1:25pm UTC](https://discourse.julialang.org/t/amdgpu-install-errors/51492 "2020-12-13T13:25:59Z")

</div>

Hi, first time poster here… not that that means anything… in need of a little help. Whilst building AMDGPU I am getting errors as below: ┌ Error: Error building AMDGPU: │ WARNING: redefinition of constant config\_path.…

---

## [V1.3 or higher for RPI](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [December 13, 2020, 11:05am UTC](https://discourse.julialang.org/t/v1-3-or-higher-for-rpi/51758 "2020-12-13T11:05:38Z")

</div>

Are there v1.3 or higher binaries for a Raspberry Pi? I know there is a docker image and/or I could compile it myself, but I would like to test the binaries instead (might take less resources than the docker image, and …

---

## [Julia DifferentialEquations: modify multiple states of the integrator at once](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 1:37pm UTC](https://discourse.julialang.org/t/julia-differentialequations-modify-multiple-states-of-the-integrator-at-once/51705 "2020-12-12T13:37:52Z")

</div>

Hello, I have this model of interactions between bacteria and phages: using DifferentialEquations function payneJansenODE!(du, u, p, t) μ , φ, η, β, ω = p H = h = 0 #= du\[1\] = susceptible du\[2\] …

---

## [High Energy Physics (HEP) folks on Julia?](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 100\
**Last updated:** [December 12, 2020, 1:07pm UTC](https://discourse.julialang.org/t/high-energy-physics-hep-folks-on-julia/15330 "2020-12-12T13:07:32Z")

</div>

Maybe it’s not the most suitable domain but imo close enough. For reference, ROOT refers to ROOT/CERN Really enjoyed using Julia for a while and trying to apply it to more study/research replated works. I noticed the…

---

## [Mixture Model fitting with Turing](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706)

<div class="topic-metadata">

**Author:** [@asjir](https://discourse.julialang.org/u/asjir)\
**Replies:** 0\
**Last updated:** [December 12, 2020, 9:11am UTC](https://discourse.julialang.org/t/mixture-model-fitting-with-turing/51706 "2020-12-12T09:11:16Z")

</div>

logpdf for a MixtureModel fails to differentiate (for me at least with all AD backends), prohibiting use of Hamiltonian MC and its derivatives for fitting models. The easy workaround is writing Distributions.logpdf(m::M…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=401)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=403)
