// NewReal returns a mat64.Matrix representing the real part of m. If m is a Realer, // the real part is returned. func NewReal(m cmat128.Matrix) mat64.Matrix { if m, ok := m.(Realer); ok { return m.Real() } return Real{m} }