can i define d be a metric? The detail is in the photo. thanksproblem about metric-metric.jpg