[Numpy-discussion] Arbitrarily large random integers

2023-08-19 Thread Dan Schult
How can we use numpy's random `integers` function to get uniformly selected integers from an arbitrarily large `high` limit? This is important when dealing with exact probabilities in combinatorially large solution spaces. I propose that we add the capability for `integers` to construct arrays

[Numpy-discussion] What to do with np.matrix

2024-10-12 Thread Dan Schult
Hello everyone, I've been helping scipy.sparse provide a sparse array interface along-side sparse matrix. With that effort making good progress, we are starting to think about bigger implications. Now may be a good time to reconsider *what to do with np.matrix*. I think we have three options: 1)

[Numpy-discussion] Re: What to do with np.matrix

2024-10-19 Thread Dan Schult
This is quite helpful. Thanks! Github search: I'm not surprised that many github hits are like homework problems. The big resistance to removing np.matrix early on (~2008) came from educators who wanted a Matrix oriented experience for their students who had recent linear algebra background. It