Error using symengine. Nonnegative integer or a symbol expected
조회 수: 8 (최근 30일)
이전 댓글 표시
I had a piece of code that was working fine with Matlab 2009 now I have Matlab 2019 and the very same code gives me the error saying
Error using symengine
Nonnegative integer or a symbol expected.
Error in sym/privQuaternaryOp (line 1020)
Csym = mupadmex(op,args{1}.s, args{2}.s, args{3}.s, args{4}.s, varargin{:});
Error in sym/jacobiP (line 7)
Y = privQuaternaryOp(n,a,b,x, 'symobj::vectorizeSpecfunc', 'orthpoly::jacobi', 'undefined');
Error in sym.useSymForNumeric (line 167)
res = cast(fn(args{:}),superiorfloat(varargin{:}));
Error in double/jacobiP (line 7)
Y = sym.useSymForNumeric(@jacobiP, n, a, b, x);
Error in orthopoly2D_rst (line 28)
p_j = jacobiP(s,2*i+1,0,j);
Anyone knows how I can quick fix this compatibility issue?
댓글 수: 4
Walter Roberson
2020년 2월 10일
Perhaps before you were using the Maple symbolic engine? Or perhaps you were using a third-party function that has the parameters in a different order? I find one on github in which the first parameter is x and the order is the last parameter.
If somehow you truly need order -1 then at the bottom of this link there is a hypergeom equivalence that you can use. https://www.maplesoft.com/support/help/Maple/view.aspx?path=JacobiP
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!