dynamics_helper Module



Contents


Functions

public pure function cross_product(x, y) result(rst)

Computes the cross-product of a vector.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(3)

The left-hand-side argument.

real(kind=real64), intent(in) :: y(3)

The right-hand-side argument

Return Value real(kind=real64), (3)

The resulting vector.

public pure function to_skew_symmetric(x) result(rst)

Converts a 3-element vector to a 3-by-3 skew-symmetric matrix. A skew-symmetric matrix is defined as follows.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(3)

The vector.

Return Value real(kind=real64), (3,3)

The resulting skew-symmetric matrix.