# \#math

**URL:** https://discourse.julialang.org/tag/math/324.md

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

---

## [MSVC is experimenting with correctly-rounded math (LLVM libc)](https://discourse.julialang.org/t/msvc-is-experimenting-with-correctly-rounded-math-llvm-libc/139402)

<div class="topic-metadata">

**Author:** [@woclass](https://discourse.julialang.org/u/woclass)\
**Replies:** 4\
**Last updated:** [September 12, 2026, 6:23pm UTC](https://discourse.julialang.org/t/msvc-is-experimenting-with-correctly-rounded-math-llvm-libc/139402 "2026-09-12T18:23:24Z")

</div>

Since 2015, the math functions in cmath and cstdlib are supplied by the C runtime via math.h and stdlib.h, which Microsoft ships as part of the Universal C Runtime (UCRT). … In the modern day, the UCRT math functions …

---

## [\[ANN\] Manopt.jl](https://discourse.julialang.org/t/ann-manopt-jl/24906)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 56\
**Last updated:** [August 21, 2026, 1:52pm UTC](https://discourse.julialang.org/t/ann-manopt-jl/24906 "2026-08-21T13:52:13Z")

</div>

Manopt.jl provides a framework for optimization on manifolds. Based on Manopt and MVIRT, both implemented in Matlab, this toolbox provide an easy access to optimization methods on manifolds in Julia. If you want to del…

---

## [Why is \`fld1\` not named \`cld1\`?](https://discourse.julialang.org/t/why-is-fld1-not-named-cld1/138317)

<div class="topic-metadata">

**Author:** [@rokke](https://discourse.julialang.org/u/rokke)\
**Replies:** 5\
**Last updated:** [July 19, 2026, 1:07am UTC](https://discourse.julialang.org/t/why-is-fld1-not-named-cld1/138317 "2026-07-19T01:07:14Z")

</div>

question in title; fld1 seems much more similar to cld than fld: julia\> findall(!iszero, \[fld1(a,b)-cld(a,b) for a=-10000:.1:10000, b=\[-100:-1; 1:100\]\]) |\> length 0 julia\> findall(!iszero, \[fld1(a,b)-fld(a,b) for a=-10…

---

## [\[ANN\] QRecoupling.jl: Exact & stable evaluation of quantum recoupling symbols, fusion tensors and q-hypergeometric series](https://discourse.julialang.org/t/ann-qrecoupling-jl-exact-stable-evaluation-of-quantum-recoupling-symbols-fusion-tensors-and-q-hypergeometric-series/137135)

<div class="topic-metadata">

**Author:** [@seth](https://discourse.julialang.org/u/seth)\
**Replies:** 2\
**Last updated:** [May 20, 2026, 12:11am UTC](https://discourse.julialang.org/t/ann-qrecoupling-jl-exact-stable-evaluation-of-quantum-recoupling-symbols-fusion-tensors-and-q-hypergeometric-series/137135 "2026-05-20T00:11:36Z")

</div>

I’m happy to share QRecoupling.jl, a new Julia package for the exact and numerically stable evaluation of quantum recoupling coefficients ( quantum 3j- and 6j-symbols), topological fusion data (F-symbols, R-matrices), an…

---

## [\[ANN\] BetaKDE.jl: Boundary-Corrected Beta Kernel Density Estimation](https://discourse.julialang.org/t/ann-betakde-jl-boundary-corrected-beta-kernel-density-estimation/137057)

<div class="topic-metadata">

**Author:** [@egonmedhatten](https://discourse.julialang.org/u/egonmedhatten)\
**Replies:** 0\
**Last updated:** [May 9, 2026, 10:55pm UTC](https://discourse.julialang.org/t/ann-betakde-jl-boundary-corrected-beta-kernel-density-estimation/137057 "2026-05-09T22:55:52Z")

</div>

I am pleased to announce the release of BetaKDE.jl, a package for boundary-corrected density estimation on the unit interval \[0,1\]. Standard KDE with Gaussian kernels suffers from severe boundary bias when applied to da…

---

## [\[ANN\] ChenSignatures.jl — Path signatures in Julia](https://discourse.julialang.org/t/ann-chensignatures-jl-path-signatures-in-julia/134361)

<div class="topic-metadata">

**Author:** [@aleCombi](https://discourse.julialang.org/u/aleCombi)\
**Replies:** 0\
**Last updated:** [December 4, 2025, 5:44pm UTC](https://discourse.julialang.org/t/ann-chensignatures-jl-path-signatures-in-julia/134361 "2025-12-04T17:44:22Z")

</div>

Path signatures in Julia I am excited to share ChenSignatures.jl, a Julia package for computing path signatures and log-signatures. What are signatures? The signature of a path X : \[0,T\] \\to \\mathbb{R}^d is the sequence…

---

## [\[ANN\] InverseGammaFunction.jl (not registered)](https://discourse.julialang.org/t/ann-inversegammafunction-jl-not-registered/132661)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 9\
**Last updated:** [September 30, 2025, 5:40pm UTC](https://discourse.julialang.org/t/ann-inversegammafunction-jl-not-registered/132661 "2025-09-30T17:40:34Z")

</div>

This package provides a function to compute the inverse of the gamma function for positive (real) arguments. It supports both branches. It is a very quick implementation using root finding. I don’t plan to register it. …

---

## [How to take derivative of complex functions like Weierstrass Elliptic function?](https://discourse.julialang.org/t/how-to-take-derivative-of-complex-functions-like-weierstrass-elliptic-function/132591)

<div class="topic-metadata">

**Author:** [@MathJulia](https://discourse.julialang.org/u/MathJulia)\
**Replies:** 5\
**Last updated:** [September 23, 2025, 5:48pm UTC](https://discourse.julialang.org/t/how-to-take-derivative-of-complex-functions-like-weierstrass-elliptic-function/132591 "2025-09-23T17:48:34Z")

</div>

I want to use Elliptic and modular functions as activation functions in neural networks. What packages should I use? I can’t install EllipticFunctions.jl because it returns error. How could I apply chain rule to optimiz…

---

## [How to restrict a matrix to be positive definite](https://discourse.julialang.org/t/how-to-restrict-a-matrix-to-be-positive-definite/126318)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 18\
**Last updated:** [September 5, 2025, 4:38pm UTC](https://discourse.julialang.org/t/how-to-restrict-a-matrix-to-be-positive-definite/126318 "2025-09-05T16:38:59Z")

</div>

I am estimating a model. In the process of estimation I have to convert a fixed independent and normally distributed vector to a correlated multivariate normal vector. The way I am doing that is using this: \\bf{x} \\sim…

---

## [Common API for \`Integrate\`. IntegrationBase](https://discourse.julialang.org/t/common-api-for-integrate-integrationbase/130637)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 5\
**Last updated:** [July 11, 2025, 6:30pm UTC](https://discourse.julialang.org/t/common-api-for-integrate-integrationbase/130637 "2025-07-11T18:30:02Z")

</div>

I’ve observed a conflict of different packages exporting integrate (e.g.). It would be nice to have IntegrationBase with API. Currently, the ecosystem is diverse. Overview of methods integrate is exported by Polynomi…

---

## [Simplifying Iwasawa decomposition with Symbolics.jl](https://discourse.julialang.org/t/simplifying-iwasawa-decomposition-with-symbolics-jl/128842)

<div class="topic-metadata">

**Author:** [@potatoh8](https://discourse.julialang.org/u/potatoh8)\
**Replies:** 0\
**Last updated:** [May 8, 2025, 3:42pm UTC](https://discourse.julialang.org/t/simplifying-iwasawa-decomposition-with-symbolics-jl/128842 "2025-05-08T15:42:31Z")

</div>

I’m trying to verify the following matrix identity using Symbolics.jl: Here’s my attempt: using Symbolics function SL2CIwasawaDecomp(X) # given matrix X in SL2C, return tuple (z, r, α, β) such that # X = n(z…

---

## [Is there a collection of matrices like Matlab's gallery?](https://discourse.julialang.org/t/is-there-a-collection-of-matrices-like-matlabs-gallery/128770)

<div class="topic-metadata">

**Author:** [@HMegh](https://discourse.julialang.org/u/HMegh)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 10:37pm UTC](https://discourse.julialang.org/t/is-there-a-collection-of-matrices-like-matlabs-gallery/128770 "2025-05-06T22:37:12Z")

</div>

Hi everyone, Since Julia is very suitable for experimenting with new numerical methods, I was wondering if there is a collection of “famous” matrices somewhere. I am thinking of something like Matlab’s gallery of matric…

---

## [A union of partially overlapping hyperrectangles?](https://discourse.julialang.org/t/a-union-of-partially-overlapping-hyperrectangles/124012)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 1:14pm UTC](https://discourse.julialang.org/t/a-union-of-partially-overlapping-hyperrectangles/124012 "2024-12-20T13:14:24Z")

</div>

I was browsing the helpdesk over at Zulip when I came across this question that I have no hope of answering. Say you have a union of partially overlapping Hyperrectangles and you want to describe the non-convex polygon…

---

## [FiniteContinuedFractions.jl - a number type for rational numbers](https://discourse.julialang.org/t/finitecontinuedfractions-jl-a-number-type-for-rational-numbers/123007)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [December 8, 2024, 12:01pm UTC](https://discourse.julialang.org/t/finitecontinuedfractions-jl-a-number-type-for-rational-numbers/123007 "2024-12-08T12:01:38Z")

</div>

A package that provides the FiniteContinuedFraction type, an alternative to Rational. Both subtype Real. I don’t know if FiniteContinuedFraction is ever a good replacement for Rational in package code, seeing as it’s …

---

## [Using OrdinaryDiffEQ Integrator interface for split step](https://discourse.julialang.org/t/using-ordinarydiffeq-integrator-interface-for-split-step/122313)

<div class="topic-metadata">

**Author:** [@erny123](https://discourse.julialang.org/u/erny123)\
**Replies:** 12\
**Last updated:** [November 7, 2024, 11:06pm UTC](https://discourse.julialang.org/t/using-ordinarydiffeq-integrator-interface-for-split-step/122313 "2024-11-07T23:06:20Z")

</div>

hi all, Looking to see if someone can help me out. Currently working with Trixi.jl and it’s great. However, because it’s fairly new, there are some things that have not been implemented. For example, handling nonlinear…

---

## [In Binary Floating Point, you can multiply without multiplying](https://discourse.julialang.org/t/in-binary-floating-point-you-can-multiply-without-multiplying/121218)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 22\
**Last updated:** [October 25, 2024, 11:47pm UTC](https://discourse.julialang.org/t/in-binary-floating-point-you-can-multiply-without-multiplying/121218 "2024-10-25T23:47:14Z")

</div>

I discovered that In Binary Floating Point, you can multiply without multiplying.

---

## [Checking divisibility efficiently](https://discourse.julialang.org/t/checking-divisibility-efficiently/121418)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 12:47pm UTC](https://discourse.julialang.org/t/checking-divisibility-efficiently/121418 "2024-10-17T12:47:04Z")

</div>

Is there a function in Base like isdivisible(m::Integer, n::Integer) that returns true if m is divisible by n? A straightforward implementation would be isdivisible(m, n) = iszero(m % n) Modulo works just fine for Ints…

---

## [Vector/array and boolean mask using logic operators](https://discourse.julialang.org/t/vector-array-and-boolean-mask-using-logic-operators/121369)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 4\
**Last updated:** [October 16, 2024, 10:33am UTC](https://discourse.julialang.org/t/vector-array-and-boolean-mask-using-logic-operators/121369 "2024-10-16T10:33:58Z")

</div>

Hi, I would like to do the same thing as in Python: import numpy as np arr=np.array(\[1,2,3,4,5,6\]) mask=(arr\<3)|(arr\>=4) which gives as result array(\[ True, True, False, True, True, True\]) I tried stuff in Juli…

---

## [How to solve heat equation on a plane curve?](https://discourse.julialang.org/t/how-to-solve-heat-equation-on-a-plane-curve/121220)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 9\
**Last updated:** [October 13, 2024, 9:57am UTC](https://discourse.julialang.org/t/how-to-solve-heat-equation-on-a-plane-curve/121220 "2024-10-13T09:57:51Z")

</div>

Say there is thermo-conductive string which can be described by a plane curve f(x, y)=0. Heat cannot diffuse to ambient but only along the curve. How to describe this heat equation on the curve? I google it and it seems…

---

## [Building a custom "variable in set" constraint](https://discourse.julialang.org/t/building-a-custom-variable-in-set-constraint/119927)

<div class="topic-metadata">

**Author:** [@janneshb](https://discourse.julialang.org/u/janneshb)\
**Replies:** 9\
**Last updated:** [September 26, 2024, 11:02pm UTC](https://discourse.julialang.org/t/building-a-custom-variable-in-set-constraint/119927 "2024-09-26T23:02:14Z")

</div>

Hi, I implemented my own type of sets (let’s call it MySetType) and now I want to override Julia’s in functionality, similar to what is already supported for SecondOrderCones. So, I would like to make this work with Ju…

---

## [Matrix inverse and multivariate normal distribution](https://discourse.julialang.org/t/matrix-inverse-and-multivariate-normal-distribution/118724)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 6:07pm UTC](https://discourse.julialang.org/t/matrix-inverse-and-multivariate-normal-distribution/118724 "2024-08-28T18:07:09Z")

</div>

Hello, I am fitting a spatio-temporal-and-informed-with-covariates bayesian model in Julia. I have a regression vector with prior distribution \\vec{\\beta}\_t \\sim \\mathcal{N}\_p(\\vec{b\_0},s^2I) (where p is the number of c…

---

## [Minicourse: Topological Data Analysis with Julia](https://discourse.julialang.org/t/minicourse-topological-data-analysis-with-julia/118072)

<div class="topic-metadata">

**Author:** [@vituri](https://discourse.julialang.org/u/vituri)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 1:57am UTC](https://discourse.julialang.org/t/minicourse-topological-data-analysis-with-julia/118072 "2024-08-12T01:57:52Z")

</div>

Last week I gave a minicourse using Julia at the Brazilian Topology Meeting. I used Quarto to generate the online book and Julia to do the code and analysis. I had 4 lectures, so I tried to apply tools from topological …

---

## [Difference between U+007C “VERTICAL BAR” \`|\` and U+2223 “DIVIDES” \`∣\`](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 2:22pm UTC](https://discourse.julialang.org/t/difference-between-u-007c-vertical-bar-and-u-2223-divides/117499 "2024-07-26T14:22:09Z")

</div>

What is the difference between the two Unicode code points U+007C “VERTICAL BAR” | and U+2223 “DIVIDES” ∣? Julia REPL’s LaTeX-like Unicode input of \\mid gives U+2223, and HTML’s named character references for &mid;, &sho…

---

## [Handcalcs.jl - For more readable calculations](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 27\
**Last updated:** [July 4, 2024, 4:23pm UTC](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891 "2024-07-04T16:23:34Z")

</div>

Hello Julia community! I am excited to announce my first registered package Handcalcs.jl! This package is inspired by the handcalcs.py package in python. It is designed to be used in either jupyter or pluto. It will re…

---

## [Volume of a Convex Hull](https://discourse.julialang.org/t/volume-of-a-convex-hull/116629)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 3:07pm UTC](https://discourse.julialang.org/t/volume-of-a-convex-hull/116629 "2024-07-04T15:07:00Z")

</div>

It is possible to compute the volume of a convex hull in julia? For example from a matrix of n rows and m columns?

---

## [\[ANN\] JuliaTDA: an organization for doing Topological Data Analysis in Julia](https://discourse.julialang.org/t/ann-juliatda-an-organization-for-doing-topological-data-analysis-in-julia/103245)

<div class="topic-metadata">

**Author:** [@vituri](https://discourse.julialang.org/u/vituri)\
**Replies:** 15\
**Last updated:** [June 13, 2024, 7:10pm UTC](https://discourse.julialang.org/t/ann-juliatda-an-organization-for-doing-topological-data-analysis-in-julia/103245 "2024-06-13T19:10:25Z")

</div>

I created this organization with the goal to unite some algorithms used in Topological Data Analysis: JuliaTDA · GitHub . The motivation for me doing this in Julia: I like the Mapper algorithm very much (for more inf…

---

## [\[ANN\] CliffordNumbers.jl: fast, static geometric algebra with multivectors as Number subtypes](https://discourse.julialang.org/t/ann-cliffordnumbers-jl-fast-static-geometric-algebra-with-multivectors-as-number-subtypes/114073)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 11\
**Last updated:** [June 6, 2024, 9:33pm UTC](https://discourse.julialang.org/t/ann-cliffordnumbers-jl-fast-static-geometric-algebra-with-multivectors-as-number-subtypes/114073 "2024-06-06T21:33:01Z")

</div>

CliffordNumbers.jl is a new package for working with Clifford algebras (or geometric algebras) and their elements. Design philosophy AbstractCliffordNumber{Q,T\<:Union{Real,Complex}} type subtypes Number, just as Complex …

---

## [JuMP constraint coefficients](https://discourse.julialang.org/t/jump-constraint-coefficients/113754)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 4\
**Last updated:** [May 2, 2024, 11:09pm UTC](https://discourse.julialang.org/t/jump-constraint-coefficients/113754 "2024-05-02T23:09:36Z")

</div>

What am I doing wrong here? model = JuMP.Model() JuMP.@variable(model, x\[1:length(s)\]) JuMP.@constraint(model, c, s .\* x ∈ JuMP.MOI.Nonnegatives(10)) JuMP.normalized\_coefficient(c, x\[1\]) ERROR: MethodError: no method ma…

---

## [How to find a snapped point to a line string from a given point?](https://discourse.julialang.org/t/how-to-find-a-snapped-point-to-a-line-string-from-a-given-point/111169)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 1\
**Last updated:** [March 5, 2024, 12:51am UTC](https://discourse.julialang.org/t/how-to-find-a-snapped-point-to-a-line-string-from-a-given-point/111169 "2024-03-05T00:51:29Z")

</div>

I have a line string as follows, consisting of a few points (longitude/latitude) coordinates in Paris. The task is to find the snapped point to the given line and a point line\_string = \[ \[ 145.0296835, -37.80…

---

## [\[ANN\] New registered package Chevie](https://discourse.julialang.org/t/ann-new-registered-package-chevie/107683)

<div class="topic-metadata">

**Author:** [@Jean\_Michel](https://discourse.julialang.org/u/Jean_Michel)\
**Replies:** 1\
**Last updated:** [February 13, 2024, 2:09am UTC](https://discourse.julialang.org/t/ann-new-registered-package-chevie/107683 "2024-02-13T02:09:08Z")

</div>

This to announce a new registered package Chevie dealing with various areas of representation theory. https://github.com/jmichel7/Chevie.jl Here is the README This is my attempt to port the Chevie package from GAP3 to…

[Next page](https://discourse.julialang.org/tag/math/324.md?match_all_tags=true&page=1&tags%5B%5D=math)
