High-performance SIMD optimized version for small number of layers (1 -5) and large number of claims.
High-performance SIMD optimized version for small number of layers (1 -5) and large number of claims.
years must be sorted ascending (non-decreasing): the aggregate terms are applied per contiguous run of a year, so an unsorted year would be split into several runs. Throws IllegalArgumentException otherwise.