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 73 of file maths.f90.
| subroutine maths::crossproduct::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::crossproduct::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::crossproduct::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.