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

Returns the L2 norm of a vector. More...

Private Member Functions

pure real(sp) function l2normsp (a)
 Returns the L2-norm of the single precision vector a. More...
 
real(dp) function l2normdp (A)
 Returns the L2-norm of the double precision vector a. More...
 

Detailed Description

Returns the L2 norm of a vector.

Definition at line 161 of file maths.f90.

Member Function/Subroutine Documentation

real(dp) function maths::l2norm::l2normdp ( real(dp), dimension(:), intent(in)  A)
private

Returns the L2-norm of the double precision vector a.

Parameters
[in]aThe vector to calculate the L2 norm of

Definition at line 1908 of file maths.f90.

pure real(sp) function maths::l2norm::l2normsp ( real(sp), dimension(:), intent(in)  a)
private

Returns the L2-norm of the single precision vector a.

Parameters
[in]aThe vector to calculate the L2 norm of

Definition at line 1887 of file maths.f90.