Let's use `Real` and then set the default value to `NaN`. If `isnan(demean)`, then we'll calculate mean. Otherwise, we'll assume it's known.