|
subroutine, public | quaternions::quaternions_init |
| do self test More...
|
|
type(quaternion) pure function | quaternions::init__ (array) |
| construct a quaternion from a 4-vector More...
|
|
elemental pure subroutine | quaternions::assign_quat__ (self, other) |
| assign a quaternion More...
|
|
pure subroutine | quaternions::assign_vec__ (self, other) |
| assign a 4-vector More...
|
|
type(quaternion) elemental pure function | quaternions::add__ (self, other) |
| add a quaternion More...
|
|
type(quaternion) elemental pure function | quaternions::pos__ (self) |
| return (unary positive operator) More...
|
|
type(quaternion) elemental pure function | quaternions::sub__ (self, other) |
| subtract a quaternion More...
|
|
type(quaternion) elemental pure function | quaternions::neg__ (self) |
| negate (unary negative operator) More...
|
|
type(quaternion) elemental pure function | quaternions::mul_quat__ (self, other) |
| multiply with a quaternion More...
|
|
type(quaternion) elemental pure function | quaternions::mul_scal__ (self, scal) |
| multiply with a scalar More...
|
|
type(quaternion) elemental pure function | quaternions::div_quat__ (self, other) |
| divide by a quaternion More...
|
|
type(quaternion) elemental pure function | quaternions::div_scal__ (self, scal) |
| divide by a scalar More...
|
|
logical elemental pure function | quaternions::eq__ (self, other) |
| test equality More...
|
|
logical elemental pure function | quaternions::neq__ (self, other) |
| test inequality More...
|
|
type(quaternion) elemental pure function | quaternions::pow_quat__ (self, expon) |
| raise to the power of a quaternion More...
|
|
type(quaternion) elemental pure function | quaternions::pow_scal__ (self, expon) |
| raise to the power of a scalar More...
|
|
type(quaternion) elemental pure function | quaternions::exp__ (a) |
| take exponential More...
|
|
type(quaternion) elemental pure function | quaternions::log__ (a) |
| take logarithm More...
|
|
real(preal) elemental pure function | quaternions::abs__ (self) |
| return norm More...
|
|
real(preal) elemental pure function | quaternions::dot_product__ (a, b) |
| calculate dot product More...
|
|
type(quaternion) elemental pure function | quaternions::conjg__ (self) |
| take conjugate complex More...
|
|
type(quaternion) elemental pure function | quaternions::homomorphed (self) |
| homomorph More...
|
|
pure real(preal) function, dimension(4) | quaternions::asarray (self) |
| return as plain array More...
|
|
pure real(preal) function | quaternions::real__ (self) |
| real part (scalar) More...
|
|
pure real(preal) function, dimension(3) | quaternions::aimag__ (self) |
| imaginary part (3-vector) More...
|
|
type(quaternion) elemental pure function | quaternions::inverse (self) |
| inverse More...
|
|
subroutine | quaternions::unittest |
| check correctness of some quaternions functions More...
|
|