VecFor, Vector algebra class for Fortran poor people, R8P kind.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(vector_R8P), | public, | parameter | :: | ex_R8P | = | vector_R8P(1._RPP, 0._RPP, 0._RPP) | X direction versor. |
| type(vector_R8P), | public, | parameter | :: | ey_R8P | = | vector_R8P(0._RPP, 1._RPP, 0._RPP) | Y direction versor. |
| type(vector_R8P), | public, | parameter | :: | ez_R8P | = | vector_R8P(0._RPP, 0._RPP, 1._RPP) | Z direction versor. |
Vector class.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=R8P), | private | :: | x | = | 0._RPP | Cartesian component in x direction. |
|
| real(kind=R8P), | private | :: | y | = | 0._RPP | Cartesian component in y direction. |
|
| real(kind=R8P), | private | :: | z | = | 0._RPP | Cartesian component in z direction. |
| procedure, private, pass(rhs) :: I1P_eq_vector | Operator |
| procedure, private, pass(rhs) :: I1P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: I1P_great_vector | Operator |
| procedure, private, pass(rhs) :: I1P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: I1P_low_vector | Operator |
| procedure, private, pass(rhs) :: I1P_mul_vector | Operator |
| procedure, private, pass(rhs) :: I1P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: I1P_sub_vector | Operator |
| procedure, private, pass(rhs) :: I1P_sum_vector | Operator |
| procedure, private, pass(rhs) :: I2P_eq_vector | Operator |
| procedure, private, pass(rhs) :: I2P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: I2P_great_vector | Operator |
| procedure, private, pass(rhs) :: I2P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: I2P_low_vector | Operator |
| procedure, private, pass(rhs) :: I2P_mul_vector | Operator |
| procedure, private, pass(rhs) :: I2P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: I2P_sub_vector | Operator |
| procedure, private, pass(rhs) :: I2P_sum_vector | Operator |
| procedure, private, pass(rhs) :: I4P_eq_vector | Operator |
| procedure, private, pass(rhs) :: I4P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: I4P_great_vector | Operator |
| procedure, private, pass(rhs) :: I4P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: I4P_low_vector | Operator |
| procedure, private, pass(rhs) :: I4P_mul_vector | Operator |
| procedure, private, pass(rhs) :: I4P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: I4P_sub_vector | Operator |
| procedure, private, pass(rhs) :: I4P_sum_vector | Operator |
| procedure, private, pass(rhs) :: I8P_eq_vector | Operator |
| procedure, private, pass(rhs) :: I8P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: I8P_great_vector | Operator |
| procedure, private, pass(rhs) :: I8P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: I8P_low_vector | Operator |
| procedure, private, pass(rhs) :: I8P_mul_vector | Operator |
| procedure, private, pass(rhs) :: I8P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: I8P_sub_vector | Operator |
| procedure, private, pass(rhs) :: I8P_sum_vector | Operator |
| procedure, private, pass(rhs) :: R16P_eq_vector | Operator |
| procedure, private, pass(rhs) :: R16P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: R16P_great_vector | Operator |
| procedure, private, pass(rhs) :: R16P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: R16P_low_vector | Operator |
| procedure, private, pass(rhs) :: R16P_mul_vector | Operator |
| procedure, private, pass(rhs) :: R16P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: R16P_sub_vector | Operator |
| procedure, private, pass(rhs) :: R16P_sum_vector | Operator |
| procedure, private, pass(rhs) :: R4P_eq_vector | Operator |
| procedure, private, pass(rhs) :: R4P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: R4P_great_vector | Operator |
| procedure, private, pass(rhs) :: R4P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: R4P_low_vector | Operator |
| procedure, private, pass(rhs) :: R4P_mul_vector | Operator |
| procedure, private, pass(rhs) :: R4P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: R4P_sub_vector | Operator |
| procedure, private, pass(rhs) :: R4P_sum_vector | Operator |
| procedure, private, pass(rhs) :: R8P_eq_vector | Operator |
| procedure, private, pass(rhs) :: R8P_great_eq_vector | Operator |
| procedure, private, pass(rhs) :: R8P_great_vector | Operator |
| procedure, private, pass(rhs) :: R8P_low_eq_vector | Operator |
| procedure, private, pass(rhs) :: R8P_low_vector | Operator |
| procedure, private, pass(rhs) :: R8P_mul_vector | Operator |
| procedure, private, pass(rhs) :: R8P_not_eq_vector | Operator |
| procedure, private, pass(rhs) :: R8P_sub_vector | Operator |
| procedure, private, pass(rhs) :: R8P_sum_vector | Operator |
| procedure, public, pass(self) :: angle => angle_R8P | Return the angle (rad) between two vectors. |
| procedure, private, pass(lhs) :: assign_I1P | Operator |
| procedure, private, pass(lhs) :: assign_I2P | Operator |
| procedure, private, pass(lhs) :: assign_I4P | Operator |
| procedure, private, pass(lhs) :: assign_I8P | Operator |
| procedure, private, pass(lhs) :: assign_R16P | Operator |
| procedure, private, pass(lhs) :: assign_R4P | Operator |
| procedure, private, pass(lhs) :: assign_R8P | Operator |
| procedure, private, pass(lhs) :: assign_vector | Operator |
| generic, public :: assignment(=) => assign_vector, assign_R8P, assign_R4P, assign_I8P, assign_I4P, assign_I2P, assign_I1P | Overloading |
| procedure, public, pass(lhs) :: crossproduct | Compute the cross product. |
| procedure, public, pass(self) :: distance_to_line => distance_to_line_R8P | Return the distance (scalar) to line. |
| procedure, public, pass(self) :: distance_to_plane => distance_to_plane_R8P | Return the distance (signed, scalar) to plane. |
| procedure, public, pass(self) :: distance_vectorial_to_plane => distance_vectorial_to_plane_R8P | Return the distance (vectorial) to plane. |
| procedure, public, pass(lhs) :: dotproduct | Compute the scalar (dot) product. |
| procedure, public, nopass :: face_normal3 => face_normal3_R8P | Return the normal of the face. |
| procedure, public, nopass :: face_normal4 => face_normal4_R8P | Return the normal of the face. |
| procedure, public, pass(self) :: iolen => iolen_R8P | Compute IO length. |
| procedure, public, pass(self) :: is_collinear => is_collinear_R8P | Return true if the point is col- linear with other two given points. |
| procedure, public, pass(self) :: is_concyclic => is_concyclic_R8P | Return true if the point is concy- clic with other three given pts. |
| procedure, public, pass(self) :: load_from_file | Load vector from file. |
| procedure, public, pass(rhs) :: matrixproduct | Compute the matrix product. |
| generic, public :: mirror => mirror_by_normal, mirror_by_matrix | Mirror vector. |
| procedure, private, pass(self) :: mirror_by_matrix | Mirror vector given matrix. |
| procedure, private, pass(self) :: mirror_by_normal | Mirror vector given normal of mirroring plane. |
| procedure, private, pass(rhs) :: negative | Operator |
| procedure, public, pass(self) :: normL2 => normL2_R8P | Return the norm L2 of vector. |
| procedure, public, pass(self) :: normalize | Normalize a vector. |
| procedure, public, pass(self) :: normalized => normalized_R8P | Return a normalized copy of vector. |
| generic, public :: operator(*) => vector_mul_vector, R8P_mul_vector, vector_mul_R8P, R4P_mul_vector, vector_mul_R4P, I8P_mul_vector, vector_mul_I8P, I4P_mul_vector, vector_mul_I4P, I2P_mul_vector, vector_mul_I2P, I1P_mul_vector, vector_mul_I1P | Overloading |
| generic, public :: operator(+) => positive, vector_sum_vector, R8P_sum_vector, vector_sum_R8P, R4P_sum_vector, vector_sum_R4P, I8P_sum_vector, vector_sum_I8P, I4P_sum_vector, vector_sum_I4P, I2P_sum_vector, vector_sum_I2P, I1P_sum_vector, vector_sum_I1P | Overloading |
| generic, public :: operator(-) => negative, vector_sub_vector, R8P_sub_vector, vector_sub_R8P, R4P_sub_vector, vector_sub_R4P, I8P_sub_vector, vector_sub_I8P, I4P_sub_vector, vector_sub_I4P, I2P_sub_vector, vector_sub_I2P, I1P_sub_vector, vector_sub_I1P | Overloading |
| generic, public :: operator(.cross.) => crossproduct | Cross product operator. |
| generic, public :: operator(.dot.) => dotproduct | Scalar (dot) product operator. |
| generic, public :: operator(.matrix.) => matrixproduct | Matrix product operator. |
| generic, public :: operator(.ortho.) => orthogonal | Component of |
| generic, public :: operator(.paral.) => parallel | Component of |
| generic, public :: operator(/) => vector_div_vector, vector_div_R8P, vector_div_R4P, vector_div_I8P, vector_div_I4P, vector_div_I2P, vector_div_I1P | Overloading |
| generic, public :: operator(/=) => vector_not_eq_vector, R8P_not_eq_vector, vector_not_eq_R8P, R4P_not_eq_vector, vector_not_eq_R4P, I8P_not_eq_vector, vector_not_eq_I8P, I4P_not_eq_vector, vector_not_eq_I4P, I2P_not_eq_vector, vector_not_eq_I2P, I1P_not_eq_vector, vector_not_eq_I1P | Overloading |
| generic, public :: operator(<) => vector_low_vector, R8P_low_vector, vector_low_R8P, R4P_low_vector, vector_low_R4P, I8P_low_vector, vector_low_I8P, I4P_low_vector, vector_low_I4P, I2P_low_vector, vector_low_I2P, I1P_low_vector, vector_low_I1P | Overloading |
| generic, public :: operator(<=) => vector_low_eq_vector, R8P_low_eq_vector, vector_low_eq_R8P, R4P_low_eq_vector, vector_low_eq_R4P, I8P_low_eq_vector, vector_low_eq_I8P, I4P_low_eq_vector, vector_low_eq_I4P, I2P_low_eq_vector, vector_low_eq_I2P, I1P_low_eq_vector, vector_low_eq_I1P | Overloading |
| generic, public :: operator(==) => vector_eq_vector, R8P_eq_vector, vector_eq_R8P, R4P_eq_vector, vector_eq_R4P, I8P_eq_vector, vector_eq_I8P, I4P_eq_vector, vector_eq_I4P, I2P_eq_vector, vector_eq_I2P, I1P_eq_vector, vector_eq_I1P | Overloading |
| generic, public :: operator(>) => vector_great_vector, R8P_great_vector, vector_great_R8P, R4P_great_vector, vector_great_R4P, I8P_great_vector, vector_great_I8P, I4P_great_vector, vector_great_I4P, I2P_great_vector, vector_great_I2P, I1P_great_vector, vector_great_I1P | Overloading |
| generic, public :: operator(>=) => vector_great_eq_vector, R8P_great_eq_vector, vector_great_eq_R8P, R4P_great_eq_vector, vector_great_eq_R4P, I8P_great_eq_vector, vector_great_eq_I8P, I4P_great_eq_vector, vector_great_eq_I4P, I2P_great_eq_vector, vector_great_eq_I2P, I1P_great_eq_vector, vector_great_eq_I1P | Overloading |
| procedure, public, pass(lhs) :: orthogonal | Compute the component of |
| procedure, public, pass(lhs) :: parallel | Compute the component of |
| procedure, private, pass(rhs) :: positive | Operator |
| procedure, public, pass(self) :: printf | Print vector components with a “pretty” format. |
| procedure, public, pass(self) :: projection_onto_plane => projection_onto_plane_R8P | Calculate the projection of point onto plane defined by 3 points. |
| generic, public :: rotate => rotate_by_axis_angle, rotate_by_matrix | Rotate vector. |
| procedure, private, pass(self) :: rotate_by_axis_angle | Rotate vector given axis and angle. |
| procedure, private, pass(self) :: rotate_by_matrix | Rotate vector given matrix. |
| procedure, public, pass(self) :: save_into_file | Save vector into file. |
| procedure, public, pass(self) :: sq_norm => sq_norm_R8P | Return the square of the norm. |
| procedure, private, pass(lhs) :: vector_div_I1P | Operator |
| procedure, private, pass(lhs) :: vector_div_I2P | Operator |
| procedure, private, pass(lhs) :: vector_div_I4P | Operator |
| procedure, private, pass(lhs) :: vector_div_I8P | Operator |
| procedure, private, pass(lhs) :: vector_div_R16P | Operator |
| procedure, private, pass(lhs) :: vector_div_R4P | Operator |
| procedure, private, pass(lhs) :: vector_div_R8P | Operator |
| procedure, private, pass(lhs) :: vector_div_vector | Operator |
| procedure, private, pass(lhs) :: vector_eq_I1P | Operator |
| procedure, private, pass(lhs) :: vector_eq_I2P | Operator |
| procedure, private, pass(lhs) :: vector_eq_I4P | Operator |
| procedure, private, pass(lhs) :: vector_eq_I8P | Operator |
| procedure, private, pass(lhs) :: vector_eq_R16P | Operator |
| procedure, private, pass(lhs) :: vector_eq_R4P | Operator |
| procedure, private, pass(lhs) :: vector_eq_R8P | Operator |
| procedure, private, pass(lhs) :: vector_eq_vector | Operator |
| procedure, private, pass(lhs) :: vector_great_I1P | Operator |
| procedure, private, pass(lhs) :: vector_great_I2P | Operator |
| procedure, private, pass(lhs) :: vector_great_I4P | Operator |
| procedure, private, pass(lhs) :: vector_great_I8P | Operator |
| procedure, private, pass(lhs) :: vector_great_R16P | Operator |
| procedure, private, pass(lhs) :: vector_great_R4P | Operator |
| procedure, private, pass(lhs) :: vector_great_R8P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_I1P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_I2P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_I4P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_I8P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_R16P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_R4P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_R8P | Operator |
| procedure, private, pass(lhs) :: vector_great_eq_vector | Operator |
| procedure, private, pass(lhs) :: vector_great_vector | Operator |
| procedure, private, pass(lhs) :: vector_low_I1P | Operator |
| procedure, private, pass(lhs) :: vector_low_I2P | Operator |
| procedure, private, pass(lhs) :: vector_low_I4P | Operator |
| procedure, private, pass(lhs) :: vector_low_I8P | Operator |
| procedure, private, pass(lhs) :: vector_low_R16P | Operator |
| procedure, private, pass(lhs) :: vector_low_R4P | Operator |
| procedure, private, pass(lhs) :: vector_low_R8P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_I1P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_I2P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_I4P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_I8P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_R16P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_R4P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_R8P | Operator |
| procedure, private, pass(lhs) :: vector_low_eq_vector | Operator |
| procedure, private, pass(lhs) :: vector_low_vector | Operator |
| procedure, private, pass(lhs) :: vector_mul_I1P | Operator |
| procedure, private, pass(lhs) :: vector_mul_I2P | Operator |
| procedure, private, pass(lhs) :: vector_mul_I4P | Operator |
| procedure, private, pass(lhs) :: vector_mul_I8P | Operator |
| procedure, private, pass(lhs) :: vector_mul_R16P | Operator |
| procedure, private, pass(lhs) :: vector_mul_R4P | Operator |
| procedure, private, pass(lhs) :: vector_mul_R8P | Operator |
| procedure, private, pass(lhs) :: vector_mul_vector | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_I1P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_I2P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_I4P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_I8P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_R16P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_R4P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_R8P | Operator |
| procedure, private, pass(lhs) :: vector_not_eq_vector | Operator |
| procedure, private, pass(lhs) :: vector_sub_I1P | Operator |
| procedure, private, pass(lhs) :: vector_sub_I2P | Operator |
| procedure, private, pass(lhs) :: vector_sub_I4P | Operator |
| procedure, private, pass(lhs) :: vector_sub_I8P | Operator |
| procedure, private, pass(lhs) :: vector_sub_R16P | Operator |
| procedure, private, pass(lhs) :: vector_sub_R4P | Operator |
| procedure, private, pass(lhs) :: vector_sub_R8P | Operator |
| procedure, private, pass(lhs) :: vector_sub_vector | Operator |
| procedure, private, pass(lhs) :: vector_sum_I1P | Operator |
| procedure, private, pass(lhs) :: vector_sum_I2P | Operator |
| procedure, private, pass(lhs) :: vector_sum_I4P | Operator |
| procedure, private, pass(lhs) :: vector_sum_I8P | Operator |
| procedure, private, pass(lhs) :: vector_sum_R16P | Operator |
| procedure, private, pass(lhs) :: vector_sum_R4P | Operator |
| procedure, private, pass(lhs) :: vector_sum_R8P | Operator |
| procedure, private, pass(lhs) :: vector_sum_vector | Operator |
Operator integer(I1P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I1P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I1P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I2P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I2P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I4P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator integer(I8P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=I8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R16P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R16P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R4P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R4P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator real(R8P) +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Calculate the angle (rad) between two vectors.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | The first vector. |
||
| type(vector_R8P), | intent(in) | :: | other | Other vector. |
Angle between vectors, in radians.
Compute the cross product.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Cross product vector.
Calculate the distance (scalar) to line defined by the 2 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | The point from which computing the distance. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First line point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second line point. |
Face normal.
Calculate the distance (signed, scalar) to plane defined by the 3 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | The point from which computing the distance. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third plane point. |
Face normal.
Calculate the distance (vectorial) to plane defined by the 3 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | The point from which computing the distance. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third plane point. |
Face normal.
Compute the scalar (dot) product.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Dot product.
Calculate the normal of the face defined by the 3 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(vector_R8P), | intent(in) | :: | pt1 | First face point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second face point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third face point. |
||
| character(len=1), | intent(in), | optional | :: | norm | If ‘norm’ is passed as argument the normal is normalized. |
Face normal.
Calculate the normal of the face defined by 4 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(vector_R8P), | intent(in) | :: | pt1 | First face point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second face point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third face point. |
||
| type(vector_R8P), | intent(in) | :: | pt4 | Fourth face point. |
||
| character(len=1), | intent(in), | optional | :: | norm | If ‘norm’ is passed as argument the normal is normalized. |
Face normal.
Compute IO length.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
IO length.
Return true if the point is collinear with other two given points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First line point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second line point. |
||
| real(kind=R8P), | intent(in), | optional | :: | tolerance | Tolerance for collinearity check. |
Inquire result.
Return true if the point is concyclic with other three given points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First arc point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second arc point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third arc point. |
||
| real(kind=R8P), | intent(in), | optional | :: | tolerance | Tolerance for concyclicity check. |
Inquire result.
Compute the matrix product.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in) | :: | lhs(3,3) | Left hand side. |
||
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Return the mirror matrix (Householder’s matrix) given normal of the mirroring plane.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(vector_R8P), | intent(in) | :: | normal | Normal of mirroring plane. |
Rotation matrix.
Operator - unary.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Return the norm L2 of vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
Norm L2.
Return a normalized copy of vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
Normalized copy.
Compute the component of lhs orthogonal to rhs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Component of of lhs orthogonal to rhs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Compute the component of Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Component of of lhs parallel to rhs.
Operator + unary.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Calculate the projection of point onto plane defined by 3 points.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | The point from which computing the distance. |
||
| type(vector_R8P), | intent(in) | :: | pt1 | First plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt2 | Second plane point. |
||
| type(vector_R8P), | intent(in) | :: | pt3 | Third plane point. |
Point projection.
Return the rotation matrix given axis and angle of ratation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(vector_R8P), | intent(in) | :: | axis | Axis of ratation. |
||
| real(kind=R8P), | intent(in) | :: | angle | Angle of ratation. |
Rotation matrix.
Return the square of the norm of vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
Square of the Norm.
Operator / integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator / real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator == real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator ==.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator > integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator > real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >= real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator >=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator >.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator < integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator < real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <= real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator <=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator <.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator * integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator * real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator *.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /= real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator /=.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
The result of the comparison.
Operator - integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator - real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator -.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + integer(I1P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + integer(I2P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator + real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator +.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Operator result.
Operator = integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| integer(kind=I1P), | intent(in) | :: | rhs | Right hand side. |
Operator = integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| integer(kind=I2P), | intent(in) | :: | rhs | Right hand side. |
Operator = integer(I4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| integer(kind=I4P), | intent(in) | :: | rhs | Right hand side. |
Operator = integer(I8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| integer(kind=I8P), | intent(in) | :: | rhs | Right hand side. |
Operator = real(R16P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| real(kind=R16P), | intent(in) | :: | rhs | Right hand side. |
Operator = real(R4P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| real(kind=R4P), | intent(in) | :: | rhs | Right hand side. |
Operator = real(R8P).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| real(kind=R8P), | intent(in) | :: | rhs | Right hand side. |
Operator =
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | lhs | Left hand side. |
||
| type(vector_R8P), | intent(in) | :: | rhs | Right hand side. |
Load vector from file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
||
| integer(kind=I4P), | intent(in) | :: | unit | Logic unit. |
||
| character, | intent(in), | optional | :: | fmt | IO format. |
|
| integer(kind=I8P), | intent(in), | optional | :: | pos | Position specifier. |
|
| integer(kind=I4P), | intent(out), | optional | :: | iostat | IO error. |
|
| character, | intent(out), | optional | :: | iomsg | IO error message. |
Mirror vector given matrix (of mirroring).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
||
| real(kind=R8P), | intent(in) | :: | matrix(3,3) | Mirroring matrix. |
Mirror vector given normal of mirroring plane.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
||
| type(vector_R8P), | intent(in) | :: | normal | Normal of mirroring plane. |
Normalize vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
Print in a pretty ascii format the components of type Vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector. |
||
| integer(kind=I4P), | intent(in), | optional | :: | unit | Logic unit. |
|
| character, | intent(in), | optional | :: | prefix | Prefix string. |
|
| character, | intent(in), | optional | :: | sep | Components separator. |
|
| character, | intent(in), | optional | :: | suffix | Suffix string. |
|
| integer(kind=I4P), | intent(out), | optional | :: | iostat | IO error. |
|
| character, | intent(out), | optional | :: | iomsg | IO error message. |
Rotate vector given axis and angle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
||
| type(vector_R8P), | intent(in) | :: | axis | Axis of rotation. |
||
| real(kind=R8P), | intent(in) | :: | angle | Angle of rotation. |
Rotate vector given matrix (of ratation).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(inout) | :: | self | Vector. |
||
| real(kind=R8P), | intent(in) | :: | matrix(3,3) | Rotation matrix. |
Save vector into file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_R8P), | intent(in) | :: | self | Vector data. |
||
| integer(kind=I4P), | intent(in) | :: | unit | Logic unit. |
||
| character, | intent(in), | optional | :: | fmt | IO format. |
|
| integer(kind=I8P), | intent(in), | optional | :: | pos | Position specifier. |
|
| integer(kind=I4P), | intent(out), | optional | :: | iostat | IO error. |
|
| character, | intent(out), | optional | :: | iomsg | IO error message. |