3.1.6. lekkersim.diag_blocks

lekkersim.diag_blocks(array_list: List[ndarray]) ndarray

Function building a block diagonal array for list of array

Parameters:

array_list (list) – list of ndarrays. Each array is a 2D square array.

Returns:

2D array with the arrays in array_list as blocks in the diagonal

Return type:

ndarray