OpenCMISS-Iron Internal API Documentation
maths::cross_product Interface Reference

Calculates the vector cross product of two vectors. More...

Private Member Functions

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...
 

Detailed Description

Calculates the vector cross product of two vectors.

Definition at line 66 of file maths.f90.

Member Function/Subroutine Documentation

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]aThe first vector in the cross product
[in]bThe second vector in the cross product
[out]cOn exit, the cross product of the first and second vectors
[out]errThe error code
[out]errorThe 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]aThe first vector in the cross product
[in]bThe second vector in the cross product
[out]cOn exit, the cross product of the first and second vectors
[out]errThe error code
[out]errorThe 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]aThe first vector in the cross product
[in]bThe second vector in the cross product
[out]cOn exit, the cross product of the first and second vectors
[out]errThe error code
[out]errorThe error string

Definition at line 311 of file maths.f90.