Calculates the variance of continuous and discrete phase-type distributions, represented by the cont_phase_type and the disc_phase_type classes respectively

var(obj)

Arguments

obj

a cont_phase_type or disc_phase_type object.