Physics: vectors\divergence

\divergenceCommand

Used in physics contexts to represent the divergence operator applied to vector fields, with optional delimited arguments

\divergence x
Available in
physics
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
low
Renderer support
PackageMathJaxKaTeXXeTeX
physicsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\divergenced<(,)><[,]><{,}>(a)optional math content

Argspec d<(,)><[,]><{,}> — one optional argument. Reading argspecs

Examples#

\divergence{F}
\divergence(F)
\divergence[F]

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Expands to#

\divergence \vnabla\vdot

If followed by {...}, it expands to \vnabla\vdot \left\{ ... \right\} or \vnabla\vdot { ... } depending on fencing.

Equivalent forms#

  • \divexact

    Both names map to the same physics-package VectorOperator entry with operator \\vnabla\\vdot.

  • \vnabla\vdotapproximate

    This produces the same operator tokens, but it does not include the helper's special handling for an immediately following ( or [.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\divergencePositive · baselinePassFailPass
\divergence (a)Positive · vary:d[0]PassFailPass
All 10 in Physics: vectors