SplitLosses

vecxt_re.SplitLosses
object SplitLosses

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (tower: Tower)
def splitAmntFast(years: Array[Int], losses: Array[Double]): (ceded: Array[Double], retained: Array[Double], splits: IndexedSeq[(layer: Layer, cededToLayer: Array[Double])])

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.

Attributes