summaryrefslogtreecommitdiffhomepage
path: root/misc/tests/cspan_test.c
AgeCommit message (Collapse)Author
2023-07-26Added cmap_emplace_key() / csmap_emplace_key()tylov
More docs.
2023-07-15Reverted to cspan_submdX() without output span type as first argument. ↵tylov
Type/argument safety is still present.
2023-07-12Changed docs and examples to use i_key* template parameters instead of ↵tylov
i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert().
2023-07-11Fixed an issue in template.htylov
Reverted to cspan_md() and cspan_md_left() for column-major. Changed cspan_submdX(): add OutputSpanType as first parameter - aligns with cspan_slice() and adds type safety.
2023-07-08Fixes from 32-bit raspberry pi testing.tylov
2023-07-08Added support for column-major md cspan.tylov
API change: the create function cspan_md(order, array, d1, d2, ...) has the new first argument order, which must be either 'C' or 'F' (C: row-major or Fortran: column-major). The representation of strides was changed.
2023-05-13File priv/raii.h no longer included by stc/ccommon.h, instead moved to ↵Tyge Løvset
stc/algo/raii.h and included by stc/calgo.h
2023-02-08Changed to use lowercase flow-control macros in examples (uppercase will ↵Tyge Løvset
still be supported). Improved many examples to use c_make() to init containers.
2023-02-03Renamed dim to shape in cspan. Not 100% sure it will survive.Tyge Løvset
2023-02-03Feature completed cspan.Tyge Løvset
2023-02-03Temporary commit. Will cleanup cspan and usage.Tyge Løvset
2023-02-03Update cspan, needs more testing.Tyge Løvset
2023-02-02Removed old archived csmap.h and cstr.h. Renamed ctest fixture fix to _self.Tyge Løvset
2023-01-31Updates, and prepare for the big unsigned ==> signed transformation.Tyge Løvset
2023-01-29Some method renaming in cspan: cspan_multidim() ctor => cspan_md(). ↵Tyge Løvset
cspan_atN() => cspan_submdN(). cstr_replace_ex() merged as overload of cstr_replace().
2023-01-27Added cspan_slice() function.Tyge Løvset
2023-01-27add cspan_test.cTyge Løvset