triqs.gfs.gf.Gf.target_rank

property Gf.target_rank

Number of target-space axes.

Returns:
int

Equal to len(target_shape)0 for a scalar target, 2 for a matrix target, etc.