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 
HP 50g List function question
09-09-2017, 10:47 PM
Post: #1
HP 50g List function question
Hello everyone,

Does anyone know if there's a function that will turn a List into a list of accumulated numbers as in {a, b, c} to {a, a+b, a+b+c}. For example,

{2, 7, 1, 9} to {2, 9, 10, 19}

or

{7, 1, 3, 6, 3} to {7, 8, 11, 17, 20}

If not, is there a function that can eliminate the first or last 'n' terms on a List or separate a list in two (one of size 'n').

Thanks in advance,
Sincerely,

Andres
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 50g List function question - Andres1 - 09-09-2017 10:47 PM
RE: HP 50g List function question - pier4r - 09-10-2017, 07:18 AM
RE: HP 50g List function question - pier4r - 09-10-2017, 09:40 AM
RE: HP 50g List function question - pier4r - 09-10-2017, 07:46 AM
RE: HP 50g List function question - DavidM - 09-10-2017, 03:28 PM
RE: HP 50g List function question - Juan14 - 09-10-2017, 07:41 PM



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