Hacker News new | ask | show | jobs
by eismcc 887 days ago
In KlongPy, dot product is: dot::{+/x*y}

    P::[2 3 4]
    Q::[1 0 2]
    dot(P;Q)
2 comments

TIL of KlongPy (and Klong). Looking at the project page, I think it looks really cool.

https://pypi.org/project/klongpy/

> dot(P;Q)

You can also write P dot Q.