public elemental function normalized(self) result(norm)
Return a normalized copy of vector.
The normalization is made by means of norm L2. If the norm L2 of the vector is less than the parameter smallRPP the
normalization value is set to normL2(vec)+smallRPP.
type ( vector ) :: pt
pt = ex + ey
pt = pt % normalized ()
print "(3(F4.2,1X))" , abs ( pt % x ), abs ( pt % y ), abs ( pt % z )
type ( vector ) :: pt
pt = ex + ey
pt = normalized ( pt )
print "(3(F4.2,1X))" , abs ( pt % x ), abs ( pt % y ), abs ( pt % z )
Arguments
Type Intent Optional Attributes Name
class(vector ),
intent(in)
::
self Vector.
Return Value type(vector )
Normalized copy.
Called by
proc~~normalized~~CalledByGraph
proc~normalized
normalized
proc~mirror_matrix
mirror_matrix
proc~mirror_matrix->proc~normalized
proc~vector_eq_vector~3
vector_eq_vector
proc~vector_eq_vector~3->proc~normalized
proc~rotation_matrix
rotation_matrix
proc~rotation_matrix->proc~normalized
proc~vector_not_eq_vector~3
vector_not_eq_vector
proc~vector_not_eq_vector~3->proc~normalized
proc~face_normal4
face_normal4
proc~face_normal4->proc~normalized
program~volatile_doctest~185
volatile_doctest
program~volatile_doctest~185->proc~normalized
proc~face_normal3
face_normal3
proc~face_normal3->proc~normalized
proc~parallel~3
parallel
proc~parallel~3->proc~normalized
proc~rotate_by_axis_angle~3
rotate_by_axis_angle
proc~rotate_by_axis_angle~3->proc~rotation_matrix
proc~distance_vectorial_to_plane
distance_vectorial_to_plane
proc~distance_vectorial_to_plane->proc~face_normal3
program~volatile_doctest~67
volatile_doctest
program~volatile_doctest~67->proc~face_normal3
proc~mirror_by_normal~3
mirror_by_normal
proc~mirror_by_normal~3->proc~mirror_matrix
program~volatile_doctest~34
volatile_doctest
program~volatile_doctest~34->proc~face_normal4
proc~distance_to_plane
distance_to_plane
proc~distance_to_plane->proc~face_normal3
program~volatile_doctest~176
volatile_doctest
program~volatile_doctest~176->proc~distance_vectorial_to_plane
program~volatile_doctest~73
volatile_doctest
program~volatile_doctest~73->proc~distance_to_plane
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.