Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b.
More...
|
subroutine | dcrossproductintg (n, a, b, c, da, db, dc, err, error,) |
| Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for integer vectors. More...
|
|
subroutine | dcrossproductsp (n, a, b, c, da, db, dc, err, error,) |
| Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for single precision vectors. More...
|
|
subroutine | dcrossproductdp (n, a, b, c, da, db, dc, err, error,) |
| Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for double precision vectors. More...
|
|
Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b.
Definition at line 87 of file maths.f90.
subroutine maths::dcrossproduct::dcrossproductdp |
( |
integer(intg), intent(in) |
n, |
|
|
real(dp), dimension(:), intent(in) |
a, |
|
|
real(dp), dimension(:), intent(in) |
b, |
|
|
real(dp), dimension(:), intent(out) |
c, |
|
|
real(dp), dimension(:,:), intent(in) |
da, |
|
|
real(dp), dimension(:,:), intent(in) |
db, |
|
|
real(dp), dimension(:,:), intent(out) |
dc, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for double precision vectors.
- Parameters
-
[in] | n | The number of derivatives |
[in] | a | The a vector |
[in] | b | The b vector |
[out] | c | On exit, the cross product of a x b |
[in] | da | The n derivatives of a |
[in] | db | The n derivatives of b |
[out] | dc | On exit, the derivatives of c |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 502 of file maths.f90.
subroutine maths::dcrossproduct::dcrossproductintg |
( |
integer(intg), intent(in) |
n, |
|
|
integer(intg), dimension(:), intent(in) |
a, |
|
|
integer(intg), dimension(:), intent(in) |
b, |
|
|
integer(intg), dimension(:), intent(out) |
c, |
|
|
integer(intg), dimension(:,:), intent(in) |
da, |
|
|
integer(intg), dimension(:,:), intent(in) |
db, |
|
|
integer(intg), dimension(:,:), intent(out) |
dc, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for integer vectors.
- Parameters
-
[in] | n | The number of derivatives |
[in] | a | The a vector |
[in] | b | The b vector |
[out] | c | On exit, the cross product of a x b |
[in] | da | The n derivatives of a |
[in] | db | The n derivatives of b |
[out] | dc | On exit, the derivatives of c |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 394 of file maths.f90.
subroutine maths::dcrossproduct::dcrossproductsp |
( |
integer(intg), intent(in) |
n, |
|
|
real(sp), dimension(:), intent(in) |
a, |
|
|
real(sp), dimension(:), intent(in) |
b, |
|
|
real(sp), dimension(:), intent(out) |
c, |
|
|
real(sp), dimension(:,:), intent(in) |
da, |
|
|
real(sp), dimension(:,:), intent(in) |
db, |
|
|
real(sp), dimension(:,:), intent(out) |
dc, |
|
|
integer(intg), intent(out) |
err, |
|
|
type(varying_string), intent(out) |
error |
|
) |
| |
|
private |
Calculates the the vector cross product of a x b in c and the n derivatives, dc, of the vector cross product given the derivatives da and db of a and b for single precision vectors.
- Parameters
-
[in] | n | The number of derivatives |
[in] | a | The a vector |
[in] | b | The b vector |
[out] | c | On exit, the cross product of a x b |
[in] | da | The n derivatives of a |
[in] | db | The n derivatives of b |
[out] | dc | On exit, the derivatives of c |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 448 of file maths.f90.