The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
newRPL: all results mode?
01-21-2016, 12:59 PM
Post: #1
newRPL: all results mode?
Since newRPL swapped the behavior of + and ADD, we have all operators in place for list processing. If all other commands also accept list processing, there's no technical barrier for returning a list of results during evaluation of an expression.
This means for example:

4 √ would return { -2 2 }
XROOT would also return all roots depending on the exponent.

When used within an expression, it would continue to evaluate normally as 2 (or more) different paths.

I wonder if a flag could activate this mode, or we should leave it alone and have new command names that return all roots (√ALL and XROOTALL for example).

This mode is not necessarily good for all cases, I can think of a Newton-Raphson iteration involving a square root, where each iteration would double the number of results and eat all the memory.

Any thoughts?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
newRPL: all results mode? - Claudio L. - 01-21-2016 12:59 PM
RE: newRPL: all results mode? - rprosperi - 01-21-2016, 02:52 PM
RE: newRPL: all results mode? - Nigel (UK) - 01-21-2016, 04:14 PM
RE: newRPL: all results mode? - Claudio L. - 01-21-2016, 06:59 PM
RE: newRPL: all results mode? - rprosperi - 01-21-2016, 07:21 PM
RE: newRPL: all results mode? - Nigel (UK) - 01-22-2016, 09:13 AM
RE: newRPL: all results mode? - emece67 - 01-22-2016, 10:44 AM
RE: newRPL: all results mode? - Claudio L. - 01-22-2016, 01:41 PM
RE: newRPL: all results mode? - Claudio L. - 01-22-2016, 02:08 PM
RE: newRPL: all results mode? - Nigel (UK) - 01-24-2016, 07:08 PM
RE: newRPL: all results mode? - Claudio L. - 01-25-2016, 02:31 PM
RE: newRPL: all results mode? - Nigel (UK) - 01-26-2016, 09:37 PM



User(s) browsing this thread: 1 Guest(s)