snwagh / falcon-public

Implementation of protocols in Falcon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple question about `funDotProduct` function

WeiViming opened this issue · comments

Hello, @snwagh . I have a question about this function. I guess it is used to compute the dot product between two vectors a and b , i.e. ab=c, where c is a number. However, this function requests c.size() == size. Is something wrong with it? Thank you!

That is just poor naming on my part, the functionality implements component wise product: c[i] = a[i] b[i]

Oh, yes! Thank you for your help!