Allow conversion to double array