4 Comments

typo: np.cost should be np.cos

Expand full comment
author

Thank you for noticing that.

Expand full comment

I think your last example needs np.fromiter or some other approach, otherwise you get an array full of Generator objects.

Expand full comment
author

itertools.chain.from_iterable, yes. Thanks you. I knew some comment would save the day :)

Expand full comment