fpl2rho.m

From Spinach Documentation Wiki
Revision as of 18:49, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Returns the average of the spin state vector across the spatial dimensions of the sample.

Syntax

    rho=fpl2rho(rho,dims)

Parameters

     rho   - Fokker-Planck state vector

    dims   - spatial dimensions of the 
             Fokker-Planck problem, a
             vector of positive integers

Outputs

    rho   - Liouville space state vector

See also

fpl2phan.m, v2fplanck.m, hydrodynamics.m, imaging.m, phan2fpl.m

Version 2.3, authors: Ilya Kuprov