Re: Average of 2-D array

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

flatten() works, of course. I was just surprised by the fact that sum() can handle the array on its own, but apparently fails when sum() is called by average().

Seems inconsistent somehow.

Maybe this is a bug... average() won't fail but just return an incorrect answer.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu