21 use,
intrinsic :: iso_fortran_env
88 real(real64),
intent(in ),
contiguous :: y(:, :)
89 real(real64),
intent(in ),
contiguous :: x(:, :)
90 real(real64),
intent(out),
contiguous :: z(:, :)
92 real(real64),
parameter :: alpha = 1.0_real64
93 integer :: nrows_x, nrows_y, ncols, k, ij
100 assert(
size(y, 2) == ncols)
102 assert(
size(z, 1) == nrows_x * nrows_y)
104 assert(
size(z, 2) == ncols)
109 do ij = 1, nrows_x * nrows_y
110 z(ij, k) = 0.0_real64
118 call dger(nrows_x, nrows_y, alpha, x(:, k), 1, y(:, k), 1, z(:, k), nrows_y)
subroutine, public column_wise_khatri_rao_product(y, x, z)
Column-wise Kronecker product.
subroutine, public io_close(iunit, grp)
integer function, public io_open(file, namespace, action, status, form, position, die, recl, grp)