changeset 25227:a937ffe7dfd9

fix typo in previous change * ishermitian.m, issymmetric.m: Fix docstring (@acode -> @code).
author John W. Eaton <jwe@octave.org>
date Thu, 12 Apr 2018 12:02:25 -0400
parents ef521f780839
children 581d3a13d7e2
files scripts/linear-algebra/ishermitian.m scripts/linear-algebra/issymmetric.m
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/linear-algebra/ishermitian.m	Thu Apr 12 09:01:02 2018 -0700
+++ b/scripts/linear-algebra/ishermitian.m	Thu Apr 12 12:02:25 2018 -0400
@@ -32,13 +32,13 @@
 ## skew-Hermitian.
 ##
 ## Background: A matrix is Hermitian if the complex conjugate transpose of the
-## matrix is equal to the original matrix: @w{@acode{@var{A} == @var{A}'}}.  If
+## matrix is equal to the original matrix: @w{@code{@var{A} == @var{A}'}}.  If
 ## a tolerance is given then the calculation is
 ## @code{norm (@var{A} - @var{A}', Inf) / norm (@var{A}, Inf) < @var{tol}}.
 ##
 ## A matrix is skew-hermitian if the complex conjugate transpose of the matrix
 ## is equal to the negative of the original matrix:
-## @w{@acode{@var{A} == -@var{A}'}}.  If a
+## @w{@code{@var{A} == -@var{A}'}}.  If a
 ## tolerance is given then the calculation is
 ## @code{norm (@var{A} + @var{A}', Inf) / norm (@var{A}, Inf) < @var{tol}}.
 ## @seealso{issymmetric, isdefinite}
@@ -61,7 +61,7 @@
       skewopt = "nonskew";
     elseif (! ischar (skewopt))
       error ("ishermitian: second argument must be a non-negative scalar TOL, or one of the strings: 'skew' / 'nonskew'");
-    endif 
+    endif
   endif
 
   ## Validate inputs
--- a/scripts/linear-algebra/issymmetric.m	Thu Apr 12 09:01:02 2018 -0700
+++ b/scripts/linear-algebra/issymmetric.m	Thu Apr 12 12:02:25 2018 -0400
@@ -32,12 +32,12 @@
 ## skew-symmetry.
 ##
 ## Background: A matrix is symmetric if the transpose of the matrix is equal
-## to the original matrix: @w{@acode{@var{A} == @var{A}.'}}.  If a tolerance
+## to the original matrix: @w{@code{@var{A} == @var{A}.'}}.  If a tolerance
 ## is given then symmetry is determined by
 ## @code{norm (@var{A} - @var{A}.', Inf) / norm (@var{A}, Inf) < @var{tol}}.
 ##
 ## A matrix is skew-symmetric if the transpose of the matrix is equal to the
-## negative of the original matrix: @w{@acode{@var{A} == -@var{A}.'}}.  If a
+## negative of the original matrix: @w{@code{@var{A} == -@var{A}.'}}.  If a
 ## tolerance is given then skew-symmetry is determined by
 ## @code{norm (@var{A} + @var{A}.', Inf) / norm (@var{A}, Inf) < @var{tol}}.
 ## @seealso{ishermitian, isdefinite}
@@ -60,7 +60,7 @@
       skewopt = "nonskew";
     elseif (! ischar (skewopt))
       error ("issymmetric: second argument must be a non-negative scalar TOL, or one of the strings: 'skew' / 'nonskew'");
-    endif 
+    endif
   endif
 
   ## Validate inputs