make_vec

Contents

make_vec#

luas.kronecker_fns.make_vec(R: Array) Array[source]#

Function for converting a matrix of shape (N_l, N_t) into a vector of shape (N_l * N_t,).

\[\mathbf{R}_{ij} = r_{i N_l + j}\]
Parameters:

R (JAXArray) – Matrix of shape (N_l, N_t)

Returns:

A vector of shape (N_l * N_t,)

Return type:

JAXArray