bundles / scipy latest / scipy / spatial / transform / _rotation_spline / _create_block_3_diagonal_matrix
function
scipy.spatial.transform._rotation_spline:_create_block_3_diagonal_matrix
Signature
def _create_block_3_diagonal_matrix ( A , B , d ) Summary
Create a 3-diagonal block matrix as banded.
Extended Summary
The matrix has the following structure:
DB... ADB.. .ADB. ..ADB ...AD
The blocks A, B and D are 3-by-3 matrices. The D matrices has the form d * I.
Parameters
A: ndarray, shape (n, 3, 3)Stack of A blocks.
B: ndarray, shape (n, 3, 3)Stack of B blocks.
d: ndarray, shape (n + 1,)Values for diagonal blocks.
Returns
: ndarray, shape (11, 3 * (n + 1))Matrix in the banded form as used by scipy.linalg.solve_banded.
Aliases
-
scipy.spatial.transform._rotation_spline._create_block_3_diagonal_matrix