Skip to content

Commit

Permalink
gui: Fix presentation of @w TexInfo macro for Qt (bug #66459)
Browse files Browse the repository at this point in the history
* doc/interpreter/basics.txi, doc/interpreter/expr.txi,
doc/interpreter/external.txi, doc/interpreter/install.txi,
doc/interpreter/oop.txi, doc/interpreter/package.txi, doc/interpreter/plot.txi,
libinterp/corefcn/bitfcns.cc, libinterp/corefcn/chol.cc,
libinterp/corefcn/environment.cc, libinterp/corefcn/oct-hist.cc,
libinterp/corefcn/qr.cc, scripts/help/__unimplemented__.m,
scripts/help/bessel.m, scripts/io/csvwrite.m,
scripts/linear-algebra/linsolve.m, scripts/plot/appearance/view.m,
scripts/plot/util/groot.m, scripts/signal/movfun.m, scripts/sparse/bicg.m,
scripts/sparse/pcg.m, scripts/statistics/corr.m, scripts/statistics/cov.m,
scripts/statistics/kurtosis.m, scripts/statistics/movmad.m,
scripts/statistics/movmax.m, scripts/statistics/movmean.m,
scripts/statistics/movmedian.m, scripts/statistics/movmin.m,
scripts/statistics/movprod.m, scripts/statistics/movstd.m,
scripts/statistics/movsum.m, scripts/statistics/movvar.m:
Use macro "@ " instead of bare space after @w macro to force a space.
  • Loading branch information
Rik committed Nov 23, 2024
1 parent 441c2eb commit 74b647a
Show file tree
Hide file tree
Showing 33 changed files with 142 additions and 135 deletions.
8 changes: 4 additions & 4 deletions doc/interpreter/basics.txi
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ Print short help message and exit.
Add path to the head of the search path for images. The value of
@var{path} specified on the command line will override any value of
@w{@env{OCTAVE_IMAGE_PATH}}@ found in the environment, but not any commands
in the system or user startup files that call the @w{@env{IMAGE_PATH}}@
function.
in the system or user startup files that call the
@w{@env{IMAGE_PATH}}@ function.

@item --info-file @var{filename}
@cindex @sortas{options, Octave command --info-file} @ @ @code{--info-file @var{filename}}
Expand Down Expand Up @@ -355,8 +355,8 @@ overridden by the environment variable @w{@env{OCTAVE_VERSION_INITFILE}}.
@item @var{config-dir}/octave/octaverc
@cindex personal startup file
where @code{@var{config-dir}} is the platform-dependent location for user
local configuration files (e.g., @w{@env{$XDG_CONFIG_HOME}} on many Unix-like
operating systems or @w{@env{%APPDATA%}} on Windows).
local configuration files (e.g., @w{@env{$XDG_CONFIG_HOME}}@ on many Unix-like
operating systems or @w{@env{%APPDATA%}}@ on Windows).

@item ~/.octaverc
@cindex personal startup file
Expand Down
4 changes: 2 additions & 2 deletions doc/interpreter/expr.txi
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ data(idx)

@noindent
Instead of creating the @code{idx} array it is possible to replace
@code{data(idx)} with @w{@code{data( data <= 2 )}} in the above code.
@code{data(idx)} with @w{@code{data( data <= 2 )}}@ in the above code.

While the size of the logical index expressions is usually the same as that
of the array being indexed, this is not a necessary condition. If the logical
Expand Down Expand Up @@ -375,7 +375,7 @@ the respective dimension of the array.
However, if the number of indexing components exceeds the number of dimensions
(@w{@code{M > nd}}) then the excess components must all be singletons
(@code{1}). Moreover, if @w{@code{M < nd}}, the behavior is equivalent to
reshaping the input object so as to merge the trailing @w{@code{nd - M}}
reshaping the input object so as to merge the trailing @w{@code{nd - M}}@
dimensions into the last index dimension @code{M}. Thus, the result will have
the dimensionality of the index expression, and not the original object. This
is the case whenever dimensionality of the index is greater than one
Expand Down
5 changes: 3 additions & 2 deletions doc/interpreter/external.txi
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ most of the definitions necessary for a C++ oct-file. Note that
@file{octave/oct.h} is a C++ header and cannot be directly @code{#include}'ed
in a C source file, nor any other language.

Included by @file{oct.h} is a definition for the macro @w{@code{DEFUN_DLD}}@
which creates a dynamically loaded function. This macro takes four arguments:
Included by @file{oct.h} is a definition for the macro
@w{@code{DEFUN_DLD}}@ which creates a dynamically loaded function. This macro
takes four arguments:

@enumerate 1
@item The function name as it will be seen in Octave,
Expand Down
2 changes: 1 addition & 1 deletion doc/interpreter/install.txi
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ Octave's 64-bit index support is activated with the configure option
You must ensure that all Fortran sources except those in the
@file{liboctave/external/ranlib} directory are compiled such that INTEGERS are
8-bytes wide. If you are using gfortran, the configure script should
automatically set the Makefile variable @w{@env{F77_INTEGER_8_FLAG}} to
automatically set the Makefile variable @w{@env{F77_INTEGER_8_FLAG}}@ to
@option{-fdefault-integer-8}. If you are using another compiler, you
must set this variable yourself. You should NOT set this flag in
@env{FFLAGS}, otherwise the files in @file{liboctave/external/ranlib} will be
Expand Down
4 changes: 2 additions & 2 deletions doc/interpreter/oop.txi
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ f.polynomial = 1 + 2 * X + 3 * X ^ 2
@end group
@end example

Defining the @w{FIRfilter} class as a child of the polynomial class implies
that a @w{FIRfilter} object may be used any place that a polynomial object may
Defining the @w{FIRfilter}@ class as a child of the polynomial class implies
that a @w{FIRfilter}@ object may be used any place that a polynomial object may
be used. This is not a normal use of a filter. It may be a more sensible
design approach to use aggregation rather than inheritance. In this case, the
polynomial is simply a field in the class structure. A class constructor for
Expand Down
8 changes: 4 additions & 4 deletions doc/interpreter/package.txi
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ autoload ('bar', which ('foo'));
@end example

@noindent
@xref{PKG_ADD and PKG_DEL Directives}, for details on @w{@code{PKG_ADD}}@
directives.
@xref{PKG_ADD and PKG_DEL Directives}, for details on
@w{@code{PKG_ADD}}@ directives.

@cindex PKG_DEL
@anchor{XREFPKG_DEL}
Expand All @@ -255,8 +255,8 @@ An optional file that includes commands that are run when the package
is removed from the users path. Note that @w{@code{PKG_DEL}}@ directives in
the source code of the package will also be added to this file by the
Octave package manager.
@xref{PKG_ADD and PKG_DEL Directives}, for details on @w{@code{PKG_DEL}}@
directives.
@xref{PKG_ADD and PKG_DEL Directives}, for details on
@w{@code{PKG_DEL}}@ directives.

@item package/pre_install.m
This is an optional function that is run prior to the installation of a
Expand Down
12 changes: 6 additions & 6 deletions doc/interpreter/plot.txi
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ numerically @tab

Finally, superscripting and subscripting can be controlled with the @qcode{'^'}
and @qcode{'_'} characters. If the @qcode{'^'} or @qcode{'_'} is followed by a
@{ character, then all of the block surrounded by the @w{@{ @}} pair is
superscripted or subscripted. Without the @w{@{ @}} pair, only the character
@{ character, then all of the block surrounded by the @w{@{ @}}@ pair is
superscripted or subscripted. Without the @w{@{ @}}@ pair, only the character
immediately following the @qcode{'^'} or @qcode{'_'} is changed.

@float Table,tab:extended
Expand Down Expand Up @@ -1065,10 +1065,10 @@ width 0.6pt \tabskip=0pt\cr
@cindex Degree Symbol

Conformance to both @TeX{} and @sc{matlab} with respect to the @code{\circ}
symbol is impossible. While @TeX{} translates this symbol to @w{Unicode 2218}
(U+2218), @sc{matlab} maps this to @w{Unicode 00B0} (U+00B0) instead. Octave
has chosen to follow the @TeX{} specification, but has added the additional
symbol @code{\deg} which maps to the degree symbol (U+00B0).
symbol is impossible. While @TeX{} translates this symbol to
@w{Unicode 2218}@ (U+2218), @sc{matlab} maps this to @w{Unicode 00B0}@ (U+00B0)
instead. Octave has chosen to follow the @TeX{} specification, but has added
the additional symbol @code{\deg} which maps to the degree symbol (U+00B0).

@node "latex" interpreter
@subsubsection "latex" interpreter
Expand Down
4 changes: 2 additions & 2 deletions libinterp/corefcn/bitfcns.cc
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,8 @@ The input is either a string specifying a floating point type, or it is an
existing floating point variable @var{var}.
The default type is @qcode{"double"}, but @qcode{"single"} is a valid option.
On IEEE 754 compatible systems, @code{flintmax} is @w{@math{2^{53}}} for
@qcode{"double"} and @w{@math{2^{24}}} for @qcode{"single"}.
On IEEE 754 compatible systems, @code{flintmax} is @w{@math{2^{53}}}@ for
@qcode{"double"} and @w{@math{2^{24}}}@ for @qcode{"single"}.
Example Code - query an existing variable
Expand Down
6 changes: 3 additions & 3 deletions libinterp/corefcn/chol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ original factored matrix.
Given a Cholesky@tie{}factorization of a real symmetric or complex Hermitian
positive definite matrix @w{@var{A} = @var{R}'*@var{R}}, @var{R}@tie{}upper
triangular, return the Cholesky@tie{}factorization of
@var{A1}, where @w{A1(p,p) = A}, @w{A1(:,j) = A1(j,:)' = u} and
@w{p = [1:j-1,j+1:n+1]}. @w{u(j)} should be positive.
@var{A1}, where @w{A1(p,p) = A}, @w{A1(:,j) = A1(j,:)' = u}@ and
@w{p = [1:j-1,j+1:n+1]}. @w{u(j)}@ should be positive.
On return, @var{info} is set to
Expand Down Expand Up @@ -1186,7 +1186,7 @@ original factored matrix.
Given a Cholesky@tie{}factorization of a real symmetric or complex Hermitian
positive definite matrix @w{@var{A} = @var{R}'*@var{R}}, @var{R}@tie{}upper
triangular, return the Cholesky@tie{}factorization of
@w{@var{A}(p,p)}, where @w{p} is the permutation @*
@w{@var{A}(p,p)}, where p is the permutation @*
@code{p = [1:i-1, shift(i:j, 1), j+1:n]} if @w{@var{i} < @var{j}} @*
or @*
@code{p = [1:j-1, shift(j:i,-1), i+1:n]} if @w{@var{j} < @var{i}}. @*
Expand Down
6 changes: 3 additions & 3 deletions libinterp/corefcn/environment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ DEFMETHOD (EDITOR, interp, args, nargout,
@deftypefnx {} {@var{old_val} =} EDITOR (@var{new_val}, "local")
Query or set the internal variable that specifies the default text editor.
The default value is taken from the environment variable @w{@env{EDITOR}}@
when Octave starts. If the environment variable is not initialized,
@w{@env{EDITOR}}@ will be set to @qcode{"emacs"}.
The default value is taken from the environment variable
@w{@env{EDITOR}}@ when Octave starts. If the environment variable is not
initialized, @w{@env{EDITOR}}@ will be set to @qcode{"emacs"}.
When called from inside a function with the @qcode{"local"} option, the
variable is changed locally for the function and any subroutines it calls.
Expand Down
9 changes: 5 additions & 4 deletions libinterp/corefcn/oct-hist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -826,10 +826,11 @@ All future commands issued during the current Octave session will be written to
this new file (if the current setting of @code{history_save} allows for this).
The default value is @file{@w{@env{$DATA}}/octave/history}, where
@w{@env{$DATA}} is the platform-specific location for (roaming) user data files
(e.g., @w{@env{$XDG_DATA_HOME}} or, if that is not set, @file{~/.local/share}
on Unix-like operating systems or @w{@env{%APPDATA%}} on Windows). The default
value may be overridden by the environment variable @w{@env{OCTAVE_HISTFILE}}.
@w{@env{$DATA}}@ is the platform-specific location for (roaming) user data files
(e.g., @w{@env{$XDG_DATA_HOME}}@ or, if that is not set, @file{~/.local/share}
on Unix-like operating systems or @w{@env{%APPDATA%}}@ on Windows). The
default value may be overridden by the environment variable
@w{@env{OCTAVE_HISTFILE}}.
Programming Notes:
Expand Down
4 changes: 2 additions & 2 deletions libinterp/corefcn/qr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ vector to be inserted into @var{A} (if @var{orient} is @qcode{"row"}).
The default value of @var{orient} is @qcode{"col"}. If @var{orient} is
@qcode{"col"}, @var{u} may be a matrix and @var{j} an index vector
resulting in the QR@tie{}factorization of a matrix @var{B} such that
@w{B(:,@var{j})} gives @var{u} and @w{B(:,@var{j}) = []} gives @var{A}.
@w{B(:,@var{j})}@ gives @var{u} and @w{B(:,@var{j}) = []}@ gives @var{A}.
Notice that the latter case is done as a sequence of k insertions;
thus, for k large enough, it will be both faster and more accurate to
recompute the factorization from scratch.
Expand Down Expand Up @@ -1677,7 +1677,7 @@ The default value of @var{orient} is @qcode{"col"}.
If @var{orient} is @qcode{"col"}, @var{j} may be an index vector
resulting in the QR@tie{}factorization of a matrix @var{B} such that
@w{A(:,@var{j}) = []} gives @var{B}. Notice that the latter case is done as
@w{A(:,@var{j}) = []}@ gives @var{B}. Notice that the latter case is done as
a sequence of k deletions; thus, for k large enough, it will be both faster
and more accurate to recompute the factorization from scratch.
Expand Down
2 changes: 1 addition & 1 deletion scripts/help/__unimplemented__.m
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@

case "not loaded",
txt = sprintf (["%s which you have installed, but not loaded. ", ...
"To load the package, type @w{@code{pkg load %s}} ", ...
"To load the package, type @w{@code{pkg load %s}}@ ", ...
"from the Octave prompt."], txt, name);

otherwise
Expand Down
4 changes: 2 additions & 2 deletions scripts/help/bessel.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
## @item besselh
## Compute Hankel functions of the first (@var{k} = 1) or second (@var{k} = 2)
## kind. If the argument @var{opt} is supplied, the result is multiplied by
## @w{@code{exp (-I*@var{x})}}@ for @var{k} = 1 or @w{@code{exp (I*@var{x})}}@
## for @var{k} = 2.
## @w{@code{exp (-I*@var{x})}}@ for @var{k} = 1 or
## @w{@code{exp (I*@var{x})}}@ for @var{k} = 2.
## @end table
##
## If @var{alpha} is a scalar, the result is the same size as @var{x}. If
Expand Down
2 changes: 1 addition & 1 deletion scripts/io/csvwrite.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
## @deftypefn {} {} csvwrite (@var{filename}, @var{x})
## @deftypefnx {} {} csvwrite (@var{filename}, @var{x}, @var{dlm_opt1}, @dots{})
## Write the numeric matrix @var{x} to the file @var{filename} in
## @w{comma-separated-value} (CSV) format.
## @w{comma-separated-value}@ (CSV) format.
##
## This function is equivalent to
##
Expand Down
2 changes: 1 addition & 1 deletion scripts/linear-algebra/linsolve.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
## Solve the linear system @code{A*x = b}.
##
## With no options, this function is equivalent to the left division operator
## @w{(@code{x = A \ b})} or the matrix-left-divide function
## @w{(@code{x = A \ b})}@ or the matrix-left-divide function
## @w{(@code{x = mldivide (A, b)})}.
##
## Octave ordinarily examines the properties of the matrix @var{A} and chooses
Expand Down
10 changes: 6 additions & 4 deletions scripts/plot/appearance/view.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@
## arguments or as 2-element vector. The viewpoint can also be specified with
## Cartesian coordinates @var{x}, @var{y}, and @var{z}.
##
## The call @code{view (2)} sets the viewpoint to @w{@var{azimuth} = 0}@
## and @w{@var{elevation} = 90}, which is the default for 2-D graphs.
## The call @code{view (2)} sets the viewpoint to
## @w{@var{azimuth} = 0}@ and @w{@var{elevation} = 90}, which is the default
## for 2-D graphs.
##
## The call @code{view (3)} sets the viewpoint to @w{@var{azimuth} = -37.5}@
## and @w{@var{elevation} = 30}, which is the default for 3-D graphs.
## The call @code{view (3)} sets the viewpoint to
## @w{@var{azimuth} = -37.5}@ and @w{@var{elevation} = 30}, which is the
## default for 3-D graphs.
##
## If the first argument @var{hax} is an axes handle, then operate on
## this axes rather than the current axes returned by @code{gca}.
Expand Down
4 changes: 2 additions & 2 deletions scripts/plot/util/groot.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
## The root graphics object is the ultimate parent of all graphics objects.
##
## In addition, the root object contains information about the graphics
## system as a whole such as the @code{ScreenSize}. Use @w{@code{get (groot)}}
## to find out what information is available.
## system as a whole such as the @code{ScreenSize}. Use
## @w{@code{get (groot)}}@ to find out what information is available.
##
## Defaults for the graphic system as a whole are specified by setting
## properties of the root graphics object that begin with @qcode{"Default"}.
Expand Down
16 changes: 8 additions & 8 deletions scripts/signal/movfun.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
##
## If @var{wlen} is a scalar, the function @var{fcn} is applied to a moving
## window of length @var{wlen}. When @var{wlen} is an odd number the window is
## symmetric and includes @w{@code{(@var{wlen} - 1) / 2}} elements on either
## symmetric and includes @w{@code{(@var{wlen} - 1) / 2}}@ elements on either
## side of the central element. For example, when calculating the output at
## index 5 with a window length of 3, @code{movfun} uses data elements
## @w{@code{[4, 5, 6]}}. If @var{wlen} is an even number, the window is
## asymmetric and has @w{@code{@var{wlen}/2}} elements to the left of the
## central element and @w{@code{@var{wlen}/2 - 1}} elements to the right of the
## central element. For example, when calculating the output at index 5 with a
## window length of 4, @code{movfun} uses data elements
## asymmetric and has @w{@code{@var{wlen}/2}}@ elements to the left of the
## central element and @w{@code{@var{wlen}/2 - 1}}@ elements to the right of
## the central element. For example, when calculating the output at index 5
## with a window length of 4, @code{movfun} uses data elements
## @w{@code{[3, 4, 5, 6]}}.
##
## If @var{wlen} is an array with two elements @w{@code{[@var{nb}, @var{na}]}},
Expand All @@ -57,11 +57,11 @@
## computation along dimension 1, i.e., down the columns of the array.
##
## When applied to an array (possibly multi-dimensional) with @var{n} columns,
## @var{fcn} may return a result in either of two formats: @w{Format 1)}
## an array of size 1-by-@var{n}-by-@var{dim3}-by-@dots{}-by-@var{dimN}. This
## @var{fcn} may return a result in either of two formats: @w{Format 1)}@ an
## array of size 1-by-@var{n}-by-@var{dim3}-by-@dots{}-by-@var{dimN}. This
## is the typical output format from Octave core functions. Type
## @code{demo ("movfun", 5)} for an example of this use case.
## @w{Format 2)} a row vector of length
## @w{Format 2)}@ a row vector of length
## @code{@var{n} * @var{numel_higher_dims}} where @var{numel_higher_dims} is
## @w{@code{prod (size (@var{x})(3:end))}}. The output of @var{fcn} for the
## i-th input column must be found in the output at indices
Expand Down
10 changes: 6 additions & 4 deletions scripts/sparse/bicg.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}, @dots{})
## @deftypefnx {} {@var{x} =} bicg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M1}, @var{M2}, @var{x0}, @dots{})
## @deftypefnx {} {[@var{x}, @var{flag}, @var{relres}, @var{iter}, @var{resvec}] =} bicg (@var{A}, @var{b}, @dots{})
## Solve the linear system of equations @w{@code{@var{A} * @var{x} = @var{b}}}@
## by means of the Bi-Conjugate Gradient iterative method.
## Solve the linear system of equations
## @w{@code{@var{A} * @var{x} = @var{b}}}@ by means of the Bi-Conjugate
## Gradient iterative method.
##
## The input arguments are:
##
Expand Down Expand Up @@ -65,8 +66,9 @@
## @var{M1}, @var{M2} are the preconditioners. The preconditioner @var{M} is
## given as @code{@var{M} = @var{M1} * @var{M2}}. Both @var{M1} and @var{M2}
## can be passed as a matrix or as a function handle or inline function
## @code{g} such that @w{@code{g (@var{x}, "notransp") = @var{M1} \ @var{x}}}@
## or @w{@code{g (@var{x}, "notransp") = @var{M2} \ @var{x}}}@ and
## @code{g} such that
## @w{@code{g (@var{x}, "notransp") = @var{M1} \ @var{x}}}@ or
## @w{@code{g (@var{x}, "notransp") = @var{M2} \ @var{x}}}@ and
## @w{@code{g (@var{x}, "transp") = @var{M1}' \ @var{x}}}@ or
## @w{@code{g (@var{x}, "transp") = @var{M2}' \ @var{x}}}.
## If @var{M1} is omitted or empty, then preconditioning is not applied.
Expand Down
5 changes: 3 additions & 2 deletions scripts/sparse/pcg.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
## @deftypefnx {} {@var{x} =} pcg (@var{A}, @var{b}, @var{tol}, @var{maxit}, @var{M}, [], @var{x0}, @dots{})
## @deftypefnx {} {[@var{x}, @var{flag}, @var{relres}, @var{iter}, @var{resvec}, @var{eigest}] =} pcg (@var{A}, @var{b}, @dots{})
##
## Solve the linear system of equations @w{@code{@var{A} * @var{x} = @var{b}}}@
## by means of the Preconditioned Conjugate Gradient iterative method.
## Solve the linear system of equations
## @w{@code{@var{A} * @var{x} = @var{b}}}@ by means of the Preconditioned
## Conjugate Gradient iterative method.
##
## The input arguments are:
##
Expand Down
2 changes: 1 addition & 1 deletion scripts/statistics/corr.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
## Compute matrix of correlation coefficients.
##
## If each row of @var{x} and @var{y} is an observation and each column is
## a variable, then the @w{(@var{i}, @var{j})-th} entry of
## a variable, then the @w{(@var{i}, @var{j})-th}@ entry of
## @code{corr (@var{x}, @var{y})} is the correlation between the
## @var{i}-th variable in @var{x} and the @var{j}-th variable in @var{y}.
## @var{x} and @var{y} must have the same number of rows (observations).
Expand Down
2 changes: 1 addition & 1 deletion scripts/statistics/cov.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
## If called with one argument, compute @code{cov (@var{x}, @var{x})}. If
## @var{x} is a vector, this is the scalar variance of @var{x}. If @var{x} is
## a matrix, each row of @var{x} is treated as an observation, and each column
## as a variable, and the @w{(@var{i}, @var{j})-th} entry of
## as a variable, and the @w{(@var{i}, @var{j})-th}@ entry of
## @code{cov (@var{x})} is the covariance between the @var{i}-th and
## @var{j}-th columns in @var{x}. If @var{x} has dimensions n x m, the output
## @var{c} will be a m x m square covariance matrix.
Expand Down
2 changes: 1 addition & 1 deletion scripts/statistics/kurtosis.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
## The optional argument @var{flag} controls which normalization is used.
## If @var{flag} is equal to 1 (default value, used when @var{flag} is omitted
## or empty), return the sample kurtosis as defined above. If @var{flag} is
## equal to 0, return the @w{"bias-corrected"} kurtosis coefficient instead:
## equal to 0, return the @w{"bias-corrected"}@ kurtosis coefficient instead:
## @tex
## $$
## \kappa_0 = 3 + {\scriptstyle N - 1 \over \scriptstyle (N - 2)(N - 3)} \,
Expand Down
Loading

0 comments on commit 74b647a

Please sign in to comment.