from_array

Function from_array 

Source
pub fn from_array(
    response: DMatrix<Complex>,
    channels: Channels,
) -> Result<(Blocks, FromArrayResidual)>
Expand description

Compose an effective response with incident/emitted, up/down channel arrays.

Returns four plane-wave scattering blocks, including direct transmission.

Upstream: treams.SMatrices.from_array, given the channels of spherical_channels or cylindrical_channels.