Is there a MATLAB implementation of Dickman's rho function?

조회 수: 2 (최근 30일)
Christian Schröder
Christian Schröder 2022년 7월 16일
댓글: Christian Schröder 2022년 7월 25일
Good morning,
does anyone know if there's an implementation of Dickman's rho function (see Wikipedia) in MATLAB? (In fact, I'm primarily interested in the function , for fixed y.)
If there isn't, would it help if I filed a feature request to have this implemented by MathWorks for a future MATLAB release?
Thanks & have a nice weekend!

답변 (1개)

NN
NN 2022년 7월 25일
Hi,
As per my knowledge, there is not implementation of Dickman’s rho function in MATLAB.
Since the function is satisfies the differential equation, you can implement the function using ‘dsolve’ MATLAB function.
But you can always file a feature request to have this implemented for a future MATLAB release.
Hope this helps.
Regards,
Narvik
  댓글 수: 1
Christian Schröder
Christian Schröder 2022년 7월 25일
Hi Narvik,
thanks for the suggestion. I'm not sure that this is a viable avenue given that there appears to be no general closed-form solution for Dickman's rho, but I'm certainly willing to give it a try! However, the following did not work:
syms rho(u)
eq = u*diff(rho,u) + rho(u-1)==0
cond = rho(u)==1
rhoSol = dsolve(eq, cond)
Instead, this first produces a warning ("Number of equations greater than number of indeterminates. Trying heuristics to reduce to square system."), and then an error ("Unable to reduce to square system because the number of equations differs from the number of indeterminates.")
I have zero experience with dsolve however, so if you have any tips on how to make this work I'm all ears.
Thanks again & all the best!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by