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

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

Private Member Functions

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

Detailed Description

Calculates the normalised vector cross product of two vectors.

Definition at line 233 of file maths.f90.

Member Function/Subroutine Documentation

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

Definition at line 2420 of file maths.f90.

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

Definition at line 2392 of file maths.f90.