(git:c5411e0)
Loading...
Searching...
No Matches
cp_linked_list_xc_deriv::cp_remove_el Interface Reference

Public Member Functions

subroutine cp_sll_xc_deriv_rm_first_el (sll)
 remove the first element of the linked list
 
subroutine cp_sll_xc_deriv_rm_el_at (sll, index)
 removes the element at the given index
 

Detailed Description

Definition at line 97 of file cp_linked_list_xc_deriv.F.

Member Function/Subroutine Documentation

◆ cp_sll_xc_deriv_rm_first_el()

subroutine cp_linked_list_xc_deriv::cp_remove_el::cp_sll_xc_deriv_rm_first_el ( type(cp_sll_xc_deriv_type), pointer  sll)

remove the first element of the linked list

Parameters
sllthe list whose first element has to be removed
History
none
Author
Fawzi Mohamed
Note
fast (O(1))

Definition at line 442 of file cp_linked_list_xc_deriv.F.

◆ cp_sll_xc_deriv_rm_el_at()

subroutine cp_linked_list_xc_deriv::cp_remove_el::cp_sll_xc_deriv_rm_el_at ( type(cp_sll_xc_deriv_type), pointer  sll,
integer, intent(in)  index 
)

removes the element at the given index

Parameters
sllthe list you get the element from
indexthe position of the element (stating at 1)
History
none
Author
Fawzi Mohamed
Note
slow (O(index))

Definition at line 498 of file cp_linked_list_xc_deriv.F.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: