|
libsim Versione 8.0.0
|
This module contains functions that are only for internal use of the library. Continua...
Tipi di dato | |
| interface | append |
| Quick method to append an element to the array. Continua... | |
| type | arrayof_ttr_mapper |
| Derived type defining a dynamically extensible array of TYPE(ttr_mapper) elements. Continua... | |
| interface | delete |
| Destructor for finalizing an array object. Continua... | |
| interface | index |
| Index method. Continua... | |
| interface | index_sorted |
| Index method with sorted array. Continua... | |
| interface | insert |
| Method for inserting elements of the array at a desired position. Continua... | |
| interface | packarray |
| Method for packing the array object reducing at a minimum the memory occupation, without destroying its contents. Continua... | |
| interface | remove |
| Method for removing elements of the array at a desired position. Continua... | |
| interface | sort |
| Sort method. Continua... | |
Funzioni/Subroutine | |
| subroutine, private | arrayof_ttr_mapper_insert_array (this, content, nelem, pos) |
| Method for inserting a number of elements of the array at a desired position. | |
| subroutine, private | arrayof_ttr_mapper_insert (this, content, pos) |
| Method for inserting an element of the array at a desired position. | |
| integer function, private | arrayof_ttr_mapper_append (this, content) |
| Quick method to append an element to the array. | |
| subroutine, private | arrayof_ttr_mapper_insert_unique (this, content, pos) |
| Method for inserting an element of the array at a desired position only if it is not present in the array yet. | |
| integer function, private | arrayof_ttr_mapper_append_unique (this, content) |
| Quick function to append an element to the array only if it is not present in the array yet. | |
| integer function, private | arrayof_ttr_mapper_insert_sorted (this, content, incr, back) |
| Method for inserting an element of the array in a sorted manner. | |
| subroutine, private | arrayof_ttr_mapper_remove (this, nelem, pos) |
| Method for removing elements of the array at a desired position. | |
| subroutine, private | arrayof_ttr_mapper_delete (this, nodealloc) |
| Destructor for finalizing an array object. | |
| subroutine, private | arrayof_ttr_mapper_packarray (this) |
| Method for packing the array object reducing at a minimum the memory occupation, without destroying its contents. | |
| integer function | count_distinct_sorted_ttr_mapper (vect, mask) |
| conta gli elementi distinti in un sorted array | |
| integer function | count_distinct_ttr_mapper (vect, mask, back) |
| conta gli elementi distinti in vect | |
| type(ttr_mapper) function, dimension(dim) | pack_distinct_sorted_ttr_mapper (vect, dim, mask) |
| compatta gli elementi distinti di vect in un sorted array | |
| type(ttr_mapper) function, dimension(dim) | pack_distinct_ttr_mapper (vect, dim, mask, back) |
| compatta gli elementi distinti di vect in un array | |
| integer function, dimension(size(vect)) | map_distinct_ttr_mapper (vect, mask, back) |
| map distinct | |
| integer function, dimension(dim) | map_inv_distinct_ttr_mapper (vect, dim, mask, back) |
| map inv distinct | |
| integer function | index_ttr_mapper (vect, search, mask, back, cache) |
| Cerca l'indice del primo o ultimo elemento di vect uguale a search. | |
| recursive integer function | index_sorted_ttr_mapper (vect, search) |
| Cerca l'indice del primo o ultimo elemento di vect uguale a search. | |
| subroutine | sort_ttr_mapper (xdont) |
| Sorts inline into ascending order - Quicksort Quicksort chooses a "pivot" in the set, and explores the array from both ends, looking for a value > pivot with the increasing index, for a value <= pivot with the decreasing index, and swapping them when it has found one of each. | |
| subroutine | inssor_ttr_mapper (xdont) |
| Sorts into increasing order (Insertion sort) Sorts XDONT into increasing order (Insertion sort) This subroutine uses insertion sort. | |
This module contains functions that are only for internal use of the library.
It should not be used by user procedures because it is subject to change