[Numpy-discussion] numpy.math docs

2021-10-03 Thread Mark Bakker
Dear List, I just found out that there is a numpy.math subpackage with a bunch of extra mathematical functions (I needed the factorial function). I have been googling for 10 minutes, but can not find any documentation on the numpy.math subpackage (my poor google skills, I am sure). Can anybody poi

Re: [Numpy-discussion] Best fit linear piecewise function?

2021-06-03 Thread Mark Bakker
My students are using this and seem to like it: https://jekel.me/piecewise_linear_fit_py/about.html > Date: Tue, 1 Jun 2021 17:22:52 -0700 > From: Chris Barker > To: Discussion of Numerical Python > Subject: [Numpy-discussion] Best fit linear piecewise function? > Message-ID: > i58wz0

Re: [Numpy-discussion] np.vstack vs. np.stack

2017-11-09 Thread Mark Bakker
> On 11/09/2017 04:30 AM, Joe wrote: > > Hello, > > > > I have a question and hope that you can help me. > > > > The doc for vstack mentions that "this function continues to be > > supported for backward compatibility, but you should prefer > > np.concatenate or np.stack." > > > > Using vstack was

Re: [Numpy-discussion] floor with dtype

2017-09-25 Thread Mark Bakker
> On 2017-09-25 10:59, Renato Fabbri wrote: > > > """ > > > In [3]: n.floor(n.linspace(0,5,7), dtype=n.int ) > > > > > --- > > > TypeError Traceback (most recent call > > last) >