mpp_x_vec.m
SYNTAX: product = mpp_x_vec(mpp,vec)
PURPOSE: Compute product of matrix mpp and vector vec, where mpp is
stored in compressed format with dimension nz*nr x nr. Can be used
also for gbz2p in place of mpp. Use gbr2p_x_vec for multiplication
with gbr2p.
INPUT:
mpp = grid to grid mutuals in compressed format
vec = vector or matrix with size = nz x nr x n OR nz*nr x n,
where final dimension n is arbitrary. (E.g., n=1 usually
represents a single current distribution on plasma grid, while
n>1 can represent current distributions at multiple times.)
OUTPUT:
product = product of matrix multiplication, same size as vec
SEE ALSO: get_plasma_greens, gbr2p_x_vec
Dependencies