An online video showed me that: $$ J(a \cdot b) = a^{T} J(b) + b^{T} J(a) $$ for a,b being vectors. But my question is: isn't the dot product a scalar? So isn't the jacobian of a scalar just 0?
Video for reference: https://www.youtube.com/watch?v=r8oIjsBBljA at 3:00
(1) true, (2) false. Scalar $=$ 1D $\ne$ constant.