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

Public Member Functions

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

Detailed Description

Definition at line 97 of file cp_linked_list_fm.F.

Member Function/Subroutine Documentation

◆ cp_sll_fm_rm_first_el()

subroutine cp_linked_list_fm::cp_remove_el::cp_sll_fm_rm_first_el ( type(cp_sll_fm_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 421 of file cp_linked_list_fm.F.

◆ cp_sll_fm_rm_el_at()

subroutine cp_linked_list_fm::cp_remove_el::cp_sll_fm_rm_el_at ( type(cp_sll_fm_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 477 of file cp_linked_list_fm.F.

Here is the call graph for this function:

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