<s>[INST] compute the cosine for the given complex argument . concode_field_sep PlaceHolder placeHolder concode_field_sep Complex tan concode_elem_sep Complex sqrt1z concode_elem_sep Complex log concode_elem_sep Complex sinh concode_elem_sep Complex acos concode_elem_sep Complex atan concode_elem_sep Complex cosh concode_elem_sep Complex tanh concode_elem_sep Complex sqrt concode_elem_sep Complex pow concode_elem_sep Complex sin concode_elem_sep Complex asin concode_elem_sep Complex exp [/INST] Complex function ( Complex arg0 ) { if ( arg0 . isNaN ( ) ) { return Complex . NaN ; } double loc0 = arg0 . getReal ( ) ; double loc1 = arg0 . getImaginary ( ) ; return new Complex ( Math . cos ( loc0 ) * MathUtils . cosh ( loc1 ) , - Math . sin ( loc0 ) * MathUtils . sinh ( loc1 ) ) ; </s>