Error using symengine. Nonnegative integer or a symbol expected
7 次查看(过去 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!