Cartesius Library
vectors Module Reference

Data Types

interface  assignment(=)
 
interface  operator(*)
 
interface  operator(+)
 
interface  operator(-)
 
interface  operator(.dia.)
 
interface  operator(.i.)
 
interface  operator(.x.)
 
interface  operator(/)
 
interface  real_fn_of_vector
 
type  vector
 

Functions/Subroutines

real function, private vector_norm (this)
 
subroutine, private vector_normalize (this)
 
subroutine array_to_vector (vec_result, array)
 
subroutine vector_to_array (array_result, vec_1)
 
subroutine vector_to_vector (vec_result, vec_source)
 
subroutine point_to_vector (vec_result, point_source)
 
type(vector) function vector_add (vec_1, vec_2)
 
type(vector) function vector_subtract (vec_1, vec_2)
 
type(vector) function vector_times_real (vec_1, real_2)
 
type(vector) function real_times_vector (real_1, vec_2)
 
type(vector) function vector_times_int (vec_1, int_2)
 
type(vector) function int_times_vector (int_1, vec_2)
 
type(vector) function vector_div_real (vec_1, real_2)
 
type(vector) function vector_div_int (vec_1, int_2)
 
real function dot_product (vec_1, vec_2)
 
type(vector) function cross_product (vec_1, vec_2)
 
real function, dimension(1:3, 1:3) diadic_product (vec_1, vec_2)
 
type(vector) function matrix_action (mat, vec)
 
type(vector) function vector_from_points (point_1, point_2)
 

Function/Subroutine Documentation

◆ array_to_vector()

subroutine vectors::array_to_vector ( type (vector), intent(out)  vec_result,
real, dimension(3), intent(in)  array 
)

◆ cross_product()

type (vector) function vectors::cross_product ( type (vector), intent(in)  vec_1,
type (vector), intent(in)  vec_2 
)

◆ diadic_product()

real function, dimension(1:3,1:3) vectors::diadic_product ( type (vector), intent(in)  vec_1,
type (vector), intent(in)  vec_2 
)

◆ dot_product()

real function vectors::dot_product ( type (vector), intent(in)  vec_1,
type (vector), intent(in)  vec_2 
)

◆ int_times_vector()

type (vector) function vectors::int_times_vector ( integer, intent(in)  int_1,
type (vector), intent(in)  vec_2 
)

◆ matrix_action()

type (vector) function vectors::matrix_action ( real, dimension(1:3,1:3), intent(in)  mat,
type (vector), intent(in)  vec 
)

◆ point_to_vector()

subroutine vectors::point_to_vector ( type (vector), intent(out)  vec_result,
type (point), intent(in)  point_source 
)

◆ real_times_vector()

type (vector) function vectors::real_times_vector ( real, intent(in)  real_1,
type (vector), intent(in)  vec_2 
)

◆ vector_add()

type (vector) function vectors::vector_add ( type (vector), intent(in)  vec_1,
type (vector), intent(in)  vec_2 
)

◆ vector_div_int()

type (vector) function vectors::vector_div_int ( type (vector), intent(in)  vec_1,
integer, intent(in)  int_2 
)

◆ vector_div_real()

type (vector) function vectors::vector_div_real ( type (vector), intent(in)  vec_1,
real, intent(in)  real_2 
)

◆ vector_from_points()

type(vector) function vectors::vector_from_points ( type(point), intent(in)  point_1,
type(point), intent(in)  point_2 
)
Here is the call graph for this function:

◆ vector_norm()

real function, private vectors::vector_norm ( class (vector), intent(in)  this)
private
Here is the call graph for this function:

◆ vector_normalize()

subroutine, private vectors::vector_normalize ( class (vector), intent(inout)  this)
private

◆ vector_subtract()

type (vector) function vectors::vector_subtract ( type (vector), intent(in)  vec_1,
type (vector), intent(in)  vec_2 
)

◆ vector_times_int()

type (vector) function vectors::vector_times_int ( type (vector), intent(in)  vec_1,
integer, intent(in)  int_2 
)

◆ vector_times_real()

type (vector) function vectors::vector_times_real ( type (vector), intent(in)  vec_1,
real, intent(in)  real_2 
)

◆ vector_to_array()

subroutine vectors::vector_to_array ( real, dimension(3), intent(out)  array_result,
type (vector), intent(in)  vec_1 
)

◆ vector_to_vector()

subroutine vectors::vector_to_vector ( type (vector), intent(out)  vec_result,
type (vector), intent(in)  vec_source 
)