Hacker News new | ask | show | jobs
by xkevio 1381 days ago
I think you might have gotten your symbols mixed up a litte.

From what I understand, just \nabla(f) describes the gradient of a function f -- meaning all the first order partial derivatives (of a certain point) in a vector.

\nabla * f describes the divergence of the function f -- meaning a scalar field of the quantity of the vector field's sources at each point.

\nabla * \nabla(f), divergence of gradient, then describes the Laplace operator. Also written as \nabla^2(f) or \Delta(f) -- note that it's an uppercase delta.

2 comments

You’re absolutely right - how embarrassing! It’s been a few years since I’ve touched this stuff.
Glitch apart, thanks for expanding, that was what I meant.
How can I get these \nabla s to render, is there a plugin or something ?
HN doesn't support LaTeX in comments sadly, so I am just writing it out as you would before rendering it with LaTeX.

Maybe there are add-ons that detect valid LaTeX math symbols and convert them whenever possible but as-is you can't get it to render within the comments.

Yeah, it’s a brain-render unfortunately. Once you’ve written enough latex you work pretty comfortably with just the text for communication.