|
Release 4.0 |
 |
Predefined Functions - part_k
Function name: | part_k - Return the 'k' component of the argument |
Synopsis: | part_k(q) |
Input data type |
Output data type |
real |
real |
complex |
real |
quaternion |
real |
Description:
Returns the k component of a real, complex or quaternion number. The result is always a real number. If the argument is a real or complex number,
it always returns 0. Thus the function only makes sense with quaternion numbers (r,i,j,k). There it returns the fourth component.
|