Skip to content

Commit 7fe4013

Browse files
chenshuoaherbert
authored andcommitted
Fix typos in javadoc of FastHadamardTransform.fht() method.
1 parent 1464fbc commit 7fe4013

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

commons-math-transform/src/main/java/org/apache/commons/math4/transform/FastHadamardTransform.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -99,44 +99,44 @@ public int[] apply(final int[] f) {
9999
* <tr>
100100
* <th>x<sub>1</sub></th>
101101
* <td>a<sub>1</sub> = x<sub>2</sub> + x<sub>3</sub></td>
102-
* <td>b<sub>0</sub> = a<sub>2</sub> + a<sub>3</sub></td>
103-
* <td>y<sub>0</sub> = b<sub>2</sub> + b<sub>3</sub></td>
102+
* <td>b<sub>1</sub> = a<sub>2</sub> + a<sub>3</sub></td>
103+
* <td>y<sub>1</sub> = b<sub>2</sub> + b<sub>3</sub></td>
104104
* </tr>
105105
* <tr>
106106
* <th>x<sub>2</sub></th>
107107
* <td>a<sub>2</sub> = x<sub>4</sub> + x<sub>5</sub></td>
108-
* <td>b<sub>0</sub> = a<sub>4</sub> + a<sub>5</sub></td>
109-
* <td>y<sub>0</sub> = b<sub>4</sub> + b<sub>5</sub></td>
108+
* <td>b<sub>2</sub> = a<sub>4</sub> + a<sub>5</sub></td>
109+
* <td>y<sub>2</sub> = b<sub>4</sub> + b<sub>5</sub></td>
110110
* </tr>
111111
* <tr>
112112
* <th>x<sub>3</sub></th>
113113
* <td>a<sub>3</sub> = x<sub>6</sub> + x<sub>7</sub></td>
114-
* <td>b<sub>0</sub> = a<sub>6</sub> + a<sub>7</sub></td>
115-
* <td>y<sub>0</sub> = b<sub>6</sub> + b<sub>7</sub></td>
114+
* <td>b<sub>3</sub> = a<sub>6</sub> + a<sub>7</sub></td>
115+
* <td>y<sub>3</sub> = b<sub>6</sub> + b<sub>7</sub></td>
116116
* </tr>
117117
* <tr>
118118
* <th>x<sub>4</sub></th>
119-
* <td>a<sub>0</sub> = x<sub>0</sub> - x<sub>1</sub></td>
120-
* <td>b<sub>0</sub> = a<sub>0</sub> - a<sub>1</sub></td>
121-
* <td>y<sub>0</sub> = b<sub>0</sub> - b<sub>1</sub></td>
119+
* <td>a<sub>4</sub> = x<sub>0</sub> - x<sub>1</sub></td>
120+
* <td>b<sub>4</sub> = a<sub>0</sub> - a<sub>1</sub></td>
121+
* <td>y<sub>4</sub> = b<sub>0</sub> - b<sub>1</sub></td>
122122
* </tr>
123123
* <tr>
124124
* <th>x<sub>5</sub></th>
125-
* <td>a<sub>1</sub> = x<sub>2</sub> - x<sub>3</sub></td>
126-
* <td>b<sub>0</sub> = a<sub>2</sub> - a<sub>3</sub></td>
127-
* <td>y<sub>0</sub> = b<sub>2</sub> - b<sub>3</sub></td>
125+
* <td>a<sub>5</sub> = x<sub>2</sub> - x<sub>3</sub></td>
126+
* <td>b<sub>5</sub> = a<sub>2</sub> - a<sub>3</sub></td>
127+
* <td>y<sub>5</sub> = b<sub>2</sub> - b<sub>3</sub></td>
128128
* </tr>
129129
* <tr>
130130
* <th>x<sub>6</sub></th>
131-
* <td>a<sub>2</sub> = x<sub>4</sub> - x<sub>5</sub></td>
132-
* <td>b<sub>0</sub> = a<sub>4</sub> - a<sub>5</sub></td>
133-
* <td>y<sub>0</sub> = b<sub>4</sub> - b<sub>5</sub></td>
131+
* <td>a<sub>6</sub> = x<sub>4</sub> - x<sub>5</sub></td>
132+
* <td>b<sub>6</sub> = a<sub>4</sub> - a<sub>5</sub></td>
133+
* <td>y<sub>6</sub> = b<sub>4</sub> - b<sub>5</sub></td>
134134
* </tr>
135135
* <tr>
136136
* <th>x<sub>7</sub></th>
137-
* <td>a<sub>3</sub> = x<sub>6</sub> - x<sub>7</sub></td>
138-
* <td>b<sub>0</sub> = a<sub>6</sub> - a<sub>7</sub></td>
139-
* <td>y<sub>0</sub> = b<sub>6</sub> - b<sub>7</sub></td>
137+
* <td>a<sub>7</sub> = x<sub>6</sub> - x<sub>7</sub></td>
138+
* <td>b<sub>7</sub> = a<sub>6</sub> - a<sub>7</sub></td>
139+
* <td>y<sub>7</sub> = b<sub>6</sub> - b<sub>7</sub></td>
140140
* </tr>
141141
* </tbody>
142142
* </table>

0 commit comments

Comments
 (0)