quat.spad line 215 [edit on github]
QuaternionCategoryFunctions2 implements functions between two quaternion domains. The function map is used by the system interpreter to coerce between quaternion types.
map(f, u)
maps f
onto the component parts of the quaternion u
.