Constructs a RC-allocated series from an associative array. Performs exactly two allocations.
associative array or a pointer to associative array
sorted RC-allocated series.
auto s = [1: 1.5, 3: 3.3, 2: 20.9].rcseries; assert(s.index == [1, 2, 3]); assert(s.data == [1.5, 20.9, 3.3]); assert(s.data[s.findIndex(2)] == 20.9);
assocArray
See Implementation
Constructs a RC-allocated series from an associative array. Performs exactly two allocations.