Re:Accelerate Python code by importing Taichi
by soVeryTired on Friday September 09, 2022 @05:37AM
(#32777253)
You’re absolutely right - how embarrassing! It’s been a few years since I’ve touched this stuff.
Re:Accelerate Python code by importing Taichi
by jesuslop on Friday September 09, 2022 @08:26AM
(#32778282)
Glitch apart, thanks for expanding, that was what I meant.
Re:Accelerate Python code by importing Taichi
by qorrect on Friday September 09, 2022 @09:26AM
(#32778928)
How can I get these \nabla s to render, is there a plugin or something ?
Re:Accelerate Python code by importing Taichi
by xkevio on Friday September 09, 2022 @06:31PM
(#32785683)
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.
Re:Accelerate Python code by importing Taichi
by soVeryTired on Friday September 09, 2022 @07:31PM
(#32786122)
Yeah, it’s a brain-render unfortunately. Once you’ve written enough latex you work pretty comfortably with just the text for communication.
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.