Skip to content

Commit 8f49e7d

Browse files
typos
1 parent 0011eb1 commit 8f49e7d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

include/binsparse/c_bindings/binsparse_matrix.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ bc_type_code ;
195195
// pointer [1] = NULL
196196
// index [0] = non-NULL, of size nindex [0]
197197
// index [1] = NULL
198-
// in_order [0] = true
198+
// in_order [0] = true or false
199199
// in_order [1] = true
200200
// values: size nvals = nindex [0]*n, or 1 if iso
201201
//
@@ -207,7 +207,7 @@ bc_type_code ;
207207
// pointer [1] = NULL
208208
// index [0] = non-NULL, of size nindex [0]
209209
// index [1] = NULL
210-
// in_order [0] = true
210+
// in_order [0] = true or false
211211
// in_order [1] = true
212212
// values: size nvals = m * nindex [0], or 1 if iso
213213

@@ -223,14 +223,14 @@ bc_type_code ;
223223
// (Hyper, Index) hypersparse by row or col
224224
// (Full, Full) full
225225
// (Index, Full) can be defined, looks useful. An unordered
226-
// set of full vectors.
226+
// or ordered set of full vectors.
227227
//
228228
// not described above: either not useful or not valid
229229
//
230-
// (Hyper, Full) not useful (rule 4)
230+
// (Hyper, Full) not useful (see rule 4 below)
231231
// (Sparse, Full) can be defined but not useful?
232-
// see rule 5 below
233-
// (Full, Index) huh? See Rule (2) below.
232+
// see rule 3 below
233+
// (Full, Index) huh? See Rule (1) below.
234234
//
235235
// bitmap format: held as two full bc_matrices with same dimension and
236236
// axis_order. The first matrix ('bitmap' pattern) is always bool.
@@ -256,7 +256,7 @@ bc_type_code ;
256256
// (5) Like rule 1, once "Index" appears, the remaining formats to the right
257257
// must be "Index" or "Full". This is because "Index" has no pointer so
258258
// all formats to the right must have a known size, or be a list like
259-
// (Index, Index, Full) where the total size (nvals) is enough.
259+
// (Index, Index, Full) where the total size is given nindex [...].
260260

261261
// rank = 3?
262262
//
@@ -288,11 +288,11 @@ bc_type_code ;
288288
// (Full , Sparse, Index) not possible (rule 1)
289289
// (Full , Full , Index) not possible (rule 1)
290290

291-
// * (Index , Index , Full ) like COO, but each "entry" is an entire
291+
// * (Index , Index , Full ) like 2D COO, but each "entry" is an entire
292292
// dense vector
293293
// (Index , Hyper , Full ) ok but not useful (rule 4)
294294
// (Index , Sparse, Full ) ok but not useful? (rule 3)
295-
// * (Index , Full , Full ) Unordered list of 2D full matrices
295+
// * (Index , Full , Full ) a 1D list of 2D full matrices
296296

297297
// * (Hyper , Index , Full ) 2D hypersparse, each entry a full vec. Nice
298298
// (Hyper , Hyper , Full ) ok but not useful (rule 4)

0 commit comments

Comments
 (0)