Feature SS-123
4 votes

solve() and eval() should return themselves if numeric evaluation fails

Created by Martin Kraska on 4/22/2014 11:42 AM Last Updated by alexok43 on 5/4/2026 10:36 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

Currently, preprocessing stops due to error message, if subexpressions involving eval() or solve() fail to be evaluated numerically because of at that stage undefined variables (message: Variables undefined)

Would the functions return themselves (just the original expressions) unevaluated in these cases, the following problems would be solved:

1. from post http://en.smath.info/forum/yaf_postsm12860_Multiline-functions-and-functions-as-function-arguments.aspx#post12860

f(g(1);x):=g(x)
g(x):=eval(x+x)
f(g(_);2)=Error: "_ Not Defined".

This problem could also be solved, if actual values for function-valued parameters in function calls would be excluded from preprocessing

 

2. from post http://en.smath.info/forum/yaf_postsm12831_Maxima-Plugin.aspx#post12831

(where transferring solve() to Maxima fails)

mxma.png

 

    alexok43 (Monday, May 4, 2026 10:36 AM) #

На досуге часто заглядываю в pinco netent там представлен во всем своем многообразии. Обожаю их атмосферные слоты, особенно старую добрую классику. На этом сайте всё работает четко, без лагов и вылетов в самый ответственный момент. Приятно, когда сервис не мешает получать удовольствие от игры

    wiliamj (Wednesday, April 8, 2026 9:39 AM) #

wholesale kurti manufacturers

At Faisalabad Fabric Store, we firmly believe in serving every type of customer; whether you’re a shop owner/small business owner/online seller, our wholesale kurtis are just perfect for you!

 

    Gerta Fareta (Friday, March 13, 2026 11:42 AM) #

My search for reliable gaming in India ended when a fellow traveler in Jaipur shared their secret with me. I was interested in how the bet vibe handled high-stakes play. I’d had a string of losses that made me want to quit, but a lucky session changed my mind. I won back all my previous ONLINE CASINO BETS POKER funds and had a blast with the SLOTS ONLINE. It was a very good turnaround for me and I am satisfied.

    Martin Kraska (Thursday, July 13, 2017 2:45 AM) #

In Maxima SVN 2481:

if an undefined-exception is thrown in preprocessing, then the unprocessed expression is transferred to Maxima.

It might be sensible iteratively apply the preprocessing to the subexpressions in case the top level evaluation fails.