Learning_Python icon indicating copy to clipboard operation
Learning_Python copied to clipboard

Add Linear Algebra Examples to Vectorized math section

Open rsokl opened this issue 7 years ago • 3 comments

Now that the section on vectorized operations doesn't suck, it'd be good to add a few simple examples of linear algebra functions. The subsection already exists.

I'm thinking dot products, matrix multiplication, and maybe a simple example of einsum.

rsokl avatar Feb 15 '18 01:02 rsokl

Would you want to cover any of np.linalg? I know things like norm can come in handy, but that might be outside the scope of the site/available for people that read the docs.

davidmascharka avatar Feb 15 '18 01:02 davidmascharka

Yeah, I think that is a good idea. Maybe norm and inv, to indicate the wide variety of functions available.

rsokl avatar Feb 15 '18 04:02 rsokl

For norm you could probably present a euclidean distance problem as an example of its utility. I remember for last year it is what I used to do the distance calculations in my Nearest Neighbor program.

AFederici avatar Feb 15 '18 15:02 AFederici