treams.SMatrices.add

SMatrices.add(sm)

Couple another S-matrix on top of the current one.

See also treams.SMatrix.stack() for a function that does not change the current S-matrix but creates a new one.

Parameters:

sm (SMatrix) – S-matrix to add.

Returns:

SMatrix