These functions work on vectors of complex or dcomplex numbers. The length of the resultant vector is equal to the length of the vector argument. These types are referred to collectively as numeric . The maximum and minimum values for numeric types can be found by looking at system.limits.max and system.limits.min . All floating-point constants are of type double .
All complex constants are of type dcomplex .
Omitting the imaginary floating point number results in a reference to the variable i , if it happens to exist. If the i does not immediately follow the imaginary portion, as in 4 - 3 i , a runtime error results. You can freely intermix numeric types in expressions. Thus a ends up as a dcomplex despite the fact that a complex is assigned to it because a 's type was double at the time of the assignment. In this same example b starts out as integer , but after the assignment, ends up dcomplex because complex constants are of type dcomplex .