C Convert Object Array To Double Array Python Methods Vs Functions