cast(double *)array -> array.ptr