Calculates the normalised vector cross product of two vectors.
More...
|
subroutine | normcrossproductsp (a, b, c, err, error,) |
| Calculates and returns the normalised vector cross-prouct of the single precision vectors a x b in c. More...
|
|
subroutine | normcrossproductdp (a, b, c, err, error,) |
| Calculates and returns the normalised vector cross-prouct of the double precision vectors a x b in c. More...
|
|
Calculates the normalised vector cross product of two vectors.
Definition at line 227 of file maths.f90.
subroutine maths::norm_cross_product::normcrossproductdp |
( |
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 normalised vector cross-prouct 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 normalised cross product of the first and second vectors |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 2420 of file maths.f90.
subroutine maths::norm_cross_product::normcrossproductsp |
( |
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 normalised vector cross-prouct 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 normalised cross product of the first and second vectors |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 2392 of file maths.f90.