numbas/Numbas — Issue #130: Why cast vectors to lists
Author: BillFoster
Created: 2012-02-09 21:50:20+00:00
State: open
Labels: Wishlist

See git://gist.github.com/1783493.git

Created vector from list in order to get a random table of probabilities with sum over all entries 1.
For marginal probabilities need to sum over rows and columns
Now in lieu of creating a matrix for this table which would be tiresome, it would be easy to select subranges of v and sum over these so need direct methods to do this on vectors or cast back to a list.