long idamax(long,double[],long); .