Calculates the vector cross product of two vectors.
More...
|
subroutine | crossproductintg (a, b, c, err, error,) |
| Calculates and returns the vector cross-product of the integer vectors a x b in c. More...
|
|
subroutine | crossproductsp (a, b, c, err, error,) |
| Calculates and returns the vector cross-product of the single precision vectors a x b in c. More...
|
|
subroutine | crossproductdp (a, b, c, err, error,) |
| Calculates and returns the vector cross-product of the double precision vectors a x b in c. More...
|
|
Calculates the vector cross product of two vectors.
Definition at line 66 of file maths.f90.
subroutine maths::cross_product::crossproductdp |
( |
real(dp), dimension(:), intent(in) |
a, |
|
|
real(dp), dimension(:), intent(in) |
b, |
|
|
real(dp), dimension(:), intent(out) |
c, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates and returns the vector cross-product of the double precision vectors a x b in c.
- Parameters
-
[in] | a | The first vector in the cross product |
[in] | b | The second vector in the cross product |
[out] | c | On exit, the cross product of the first and second vectors |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 352 of file maths.f90.
subroutine maths::cross_product::crossproductintg |
( |
integer(intg), dimension(:), intent(in) |
a, |
|
|
integer(intg), dimension(:), intent(in) |
b, |
|
|
integer(intg), dimension(:), intent(out) |
c, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates and returns the vector cross-product of the integer vectors a x b in c.
- Parameters
-
[in] | a | The first vector in the cross product |
[in] | b | The second vector in the cross product |
[out] | c | On exit, the cross product of the first and second vectors |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 270 of file maths.f90.
subroutine maths::cross_product::crossproductsp |
( |
real(sp), dimension(:), intent(in) |
a, |
|
|
real(sp), dimension(:), intent(in) |
b, |
|
|
real(sp), dimension(:), intent(out) |
c, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates and returns the vector cross-product of the single precision vectors a x b in c.
- Parameters
-
[in] | a | The first vector in the cross product |
[in] | b | The second vector in the cross product |
[out] | c | On exit, the cross product of the first and second vectors |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 311 of file maths.f90.