[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor Documentation Correction to hadamard.m
From: |
Aravindh Krishnamoorthy |
Subject: |
Minor Documentation Correction to hadamard.m |
Date: |
Sun, 12 Apr 2009 12:23:47 +0530 |
Dear,
A minor fix to documentation of hadamard function.
PROBLEM
=======
octave:1> help hadamard
[snip]
* `det (A) <= det (HN)' for all A with `abs (A (I, J)) <= 1'.
[snip]
octave:2> H2 = hadamard(2) ;
octave:3> A = [1 -1; 1 1] ;
octave:4> det(H2)
ans = -2
octave:5> det(A)
ans = 2
FIX (Changeset)
===============
diff -r 22ae6b3411a7 scripts/ChangeLog
--- a/scripts/ChangeLog Sat Apr 11 16:26:01 2009 +0200
+++ b/scripts/ChangeLog Sun Apr 12 12:12:33 2009 +0530
@@ -1,3 +1,6 @@ 2009-04-11 David Bateman <address@hidden
+2009-04-12 Aravindh Krishnamoorthy <address@hidden>
+ * special-matrix/hadamard.m: Fix a documentation mistake.
+
2009-04-11 David Bateman <address@hidden>
* geometry/trisurf.m: New file.
diff -r 22ae6b3411a7 scripts/special-matrix/hadamard.m
--- a/scripts/special-matrix/hadamard.m Sat Apr 11 16:26:01 2009 +0200
+++ b/scripts/special-matrix/hadamard.m Sun Apr 12 12:12:33 2009 +0530
@@ -38,7 +38,7 @@
## @item
## The rows of @var{Hn} are orthogonal.
## @item
-## @code{det (@var{A}) <= det (@var{Hn})} for all @var{A} with
+## @code{det (@var{A}) <= abs(det (@var{Hn}))} for all @var{A} with
## @code{abs (@var{A} (@var{i}, @var{j})) <= 1}.
## @item
## Multiply any row or column by -1 and still have a Hadamard matrix.
NOTE
====
abs(det(Hn)) = n^(n/2), so we could reword the item as det(A) <=
n^(n/2), but this one looks better? :-)
Yours sincerely,
Aravindh Krishnamoorthy
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Minor Documentation Correction to hadamard.m,
Aravindh Krishnamoorthy <=