treams.SMatrices.double

SMatrices.double(n=1)

Double the S-matrix.

By default this function doubles the S-matrix but it can also create a \(2^n\)-fold repetition of itself:

Parameters:

n (int, optional) – Number of times to double itself. Defaults to 1.

Returns:

SMatrix