Skip to content
Snippets Groups Projects
Commit fa2b946e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix documentation syntax, enable MATHJAX

parent c3e24e72
No related branches found
No related tags found
1 merge request!195Gamma power speed up
......@@ -1428,7 +1428,7 @@ FORMULA_TRANSPARENT = YES
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
USE_MATHJAX = NO
USE_MATHJAX = YES
# When MathJax is enabled you can set the default output format to be used for
# the MathJax output. See the MathJax site (see:
......
......@@ -54,7 +54,7 @@
/**
* @brief Returns the argument to the power given by the adiabatic index
*
* Computes $x^\gamma$.
* Computes \f$x^\gamma\f$.
*/
__attribute__((always_inline)) INLINE static float pow_gamma(float x) {
......@@ -86,7 +86,7 @@ __attribute__((always_inline)) INLINE static float pow_gamma(float x) {
* @brief Returns the argument to the power given by the adiabatic index minus
* one
*
* Computes $x^(\gamma - 1)$.
* Computes \f$x^{(\gamma-1)}\f$.
*/
__attribute__((always_inline)) INLINE static float pow_gamma_minus_one(
float x) {
......@@ -115,7 +115,7 @@ __attribute__((always_inline)) INLINE static float pow_gamma_minus_one(
* @brief Returns one over the argument to the power given by the adiabatic
* index minus one
*
* Computes $x^{-(\gamma - 1)}$.
* Computes \f$x^{-(\gamma-1)}\f$.
*/
__attribute__((always_inline)) INLINE static float pow_minus_gamma_minus_one(
float x) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment