@@ -64,7 +64,7 @@ and 12 columns, containing float32 values, along with user-defined attributes.
6464 "format": "CSC",
6565 "shape": [10, 12] ,
6666 "data_types": {
67- "pointers_0 ": "uint64",
67+ "pointers_to_1 ": "uint64",
6868 "indices_1": "uint64",
6969 "values": "float32"
7070 }
@@ -126,15 +126,15 @@ The element of the vector located at index `indices_0[i]` has scalar value
126126
127127Compressed-Sparse Row format
128128
129- : pointers_0
129+ : pointers_to_1
130130:: Array of size `number_of_rows + 1` containing start and end positions by row.
131131: indices_1
132132:: Array of size `number_of_elements` containing 0-based column indices.
133133: values
134134:: Array of size `number_of_elements` containing stored values.
135135
136136The column indices of the stored values located in row `i` are located in the range
137- `[pointers_0 [i] , pointers_0 [i+1] )` in the `indices_1` array. The scalar values for
137+ `[pointers_to_1 [i] , pointers_to_1 [i+1] )` in the `indices_1` array. The scalar values for
138138each of those stored values is stored in the corresponding index in the `values` array.
139139
140140Within a row, elements shall be sorted by column index and must not be duplicated.
@@ -143,15 +143,15 @@ Within a row, elements shall be sorted by column index and must not be duplicate
143143
144144Compressed-Sparse Column format
145145
146- : pointers_0
146+ : pointers_to_1
147147:: Array of size `number_of_columns + 1` containing start and end positions by column.
148148: indices_1
149149:: Array of size `number_of_elements` containing 0-based row indices.
150150: values
151151:: Array of size `number_of_elements` containing stored values.
152152
153153The rows indices of the stored values located in column `j` are located in the range
154- `[pointers_0 [j] , pointers_0 [j+1] )` in the `indices_1` array. The scalar values for
154+ `[pointers_to_1 [j] , pointers_to_1 [j+1] )` in the `indices_1` array. The scalar values for
155155each of those stored values is stored in the corresponding index in the `values` array.
156156
157157Within a column, elements shall be sorted by row index and must not be duplicated.
@@ -162,16 +162,16 @@ Doubly Compressed-Sparse Row format
162162
163163: indices_0
164164:: Array of size `number_of_nonempty_rows` containing 0-based row indices corresponding
165- to positions within `pointers_0 `.
166- : pointers_0
165+ to positions within `pointers_to_1 `.
166+ : pointers_to_1
167167:: Array of size `number_of_nonempty_rows + 1` containing start and end positions.
168168: indices_1
169169:: Array of size `number_of_elements` containing 0-based column indices.
170170: values
171171:: Array of size `number_of_elements` containing stored values.
172172
173- DCSR is similar to CSR, except that rows which are entirely empty are not stored. `pointers_0 `
174- contains no repeated values. Because the position within `pointers_0 ` no longer dictates the
173+ DCSR is similar to CSR, except that rows which are entirely empty are not stored. `pointers_to_1 `
174+ contains no repeated values. Because the position within `pointers_to_1 ` no longer dictates the
175175corresponding row index, `indices_0` provides the row index.
176176
177177Rows shall be sorted and must not be duplicated.
@@ -183,16 +183,16 @@ Doubly Compressed-Sparse Column format
183183
184184: indices_0
185185:: Array of size `number_of_nonempty_columns` containing 0-based column indices
186- corresponding to positions within `pointers_0 `.
187- : pointers_0
186+ corresponding to positions within `pointers_to_1 `.
187+ : pointers_to_1
188188:: Array of size `number_of_nonempty_columns + 1` containing start and end positions.
189189: indices_1
190190:: Array of size `number_of_elements` containing 0-based row indices.
191191: values
192192:: Array of size `number_of_elements` containing stored values.
193193
194- DCSC is similar to CSC, except that columns which are entirely empty are not stored. `pointers_0 `
195- contains no repeated values. Because the position within `pointers_0 ` no longer dictates the
194+ DCSC is similar to CSC, except that columns which are entirely empty are not stored. `pointers_to_1 `
195+ contains no repeated values. Because the position within `pointers_to_1 ` no longer dictates the
196196corresponding column index, `indices_0` provides the column index.
197197
198198Columns shall be sorted and not duplicated.
@@ -352,14 +352,14 @@ Example of a CSR Matrix whose values are all 7.
352352 "format": "CSR",
353353 "shape": [5, 5] ,
354354 "data_types": {
355- "pointers_0 ": "uint64",
355+ "pointers_to_1 ": "uint64",
356356 "indices_1": "uint64",
357357 "values": "iso[int8] "
358358 }
359359}
360360```
361361
362- - `pointers_0 ` = [0, 1, 3, 3, 5, 6]
362+ - `pointers_to_1 ` = [0, 1, 3, 3, 5, 6]
363363- `indices_1` = [3, 1, 4, 1, 2, 3]
364364- `values` = [7]
365365
@@ -489,14 +489,14 @@ Example of a symmetric CSR matrix.
489489 "shape": [5, 5] ,
490490 "structure": "symmetric_lower",
491491 "data_types": {
492- "pointers_0 ": "uint64",
492+ "pointers_to_1 ": "uint64",
493493 "indices_1": "uint64",
494494 "values": "int8"
495495 }
496496}
497497```
498498
499- - `pointers_0 ` = [0, 1, 3, 5, 7, 9]
499+ - `pointers_to_1 ` = [0, 1, 3, 5, 7, 9]
500500- `indices_1` = [0, 0, 1, 0, 2, 1, 3, 2, 4]
501501- `values` = [1, 2, 9, 7, 2, 2, 3, 3, 7]
502502
0 commit comments