sq_norm Function

public elemental function sq_norm(self) result(sq)

Return the square of the norm of vector.

The square norm if defined as .

 type(vector) :: pt
 pt = ex + ey
 print "(F3.1)", pt%sq_norm()
 type(vector) :: pt
 pt = ex + ey
 print "(F3.1)", sq_norm(pt)

Arguments

TypeIntentOptionalAttributesName
class(vector), intent(in) :: self

Vector.

Return Value real(kind=R8P)

Square of the Norm.


Called by

proc~~sq_norm~~CalledByGraph proc~sq_norm sq_norm proc~is_concyclic is_concyclic proc~is_concyclic->proc~sq_norm program~volatile_doctest~77 volatile_doctest program~volatile_doctest~77->proc~sq_norm program~volatile_doctest~56 volatile_doctest program~volatile_doctest~56->proc~is_concyclic

Contents

None