Skip to content

Commit 934e620

Browse files
authored
Update README.md
1 parent bab9d66 commit 934e620

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# vapid soa
22
A simple header only library that implements structure of arrays data structure backed by std::vector.
33
These are the most useful operations.
4+
- `.insert(field1, field2, ...)` field_n inserts into the nth array
45
- `.sort_by_field<col_idx>()` sort all columns in tandem based on particular column
5-
- `operator[row_idx]` read data out as tuple of references
6+
- `.operator()[row_idx]` read data out as tuple of references
67
- `.get_column<col_idx>()` direct access to underlying std::vector column
78
- `.view<col_idx1, col_idx2, ...>()` read subset of the columns out as a tuple of references
89

0 commit comments

Comments
 (0)