File: vector.out

package info (click to toggle)
igraph 0.10.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,176 kB
  • sloc: ansic: 121,500; cpp: 21,699; xml: 2,734; python: 411; makefile: 147; javascript: 20; sh: 9
file content (67 lines) | stat: -rw-r--r-- 1,834 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Initialise empty vector
Initialise vector of length 10
( 0 0 0 0 0 0 0 0 0 0 )
Test VECTOR() and igraph_vector_size
( 10 9 8 7 6 5 4 3 2 1 )
Test igraph_vector_reserve and igraph_vector_push_back
Test igraph_vector_empty and igraph_vector_clear
Test igraph_vector_get and igraph_vector_get_ptr
 0 100 200 300 400
Test igraph_vector_set
( 0 20 40 60 80 )
Test igraph_vector_null
( 0 0 0 0 0 0 0 0 0 0 )
Test igraph_vector_tail, igraph_vector_pop_back
 10 10 9 9 8 8 7 7 6 6 5 5 4 4 3 3 2 2 1 1
Test igraph_vector_resize, igraph_vector_sort
( 1 2 3 4 5 6 7 8 9 10 )
Test igraph_vector_{which}_{min, max}
 100 99 98 97 96 95 94 93 92 91
Test NaN values
Test igraph_vector_init_array
( 100 99 98 97 96 95 94 93 92 91 )
Test igraph_vector_copy_to
 11 12 13 14 15 16 17 18 19 20
Test igraph_vector_init_range, igraph_vector_sum, igraph_vector_prod
 15 120
Test igraph_vector_remove_section
( 1 2 5 )
Test igraph_vector_remove_section with invalid limits
( 1 2 5 )
( 1 )
Test igraph_vector_remove
( 2 3 4 5 7 8 9 )
Test igraph_vector_remove_fast
( 9 2 3 4 8 6 7 )
Test igraph_vector_move_interval
( 5 6 7 8 9 5 6 7 8 9 )
Test igraph_vector_isininterval
Test igraph_vector_any_smaller
Test igraph_vector_all_e
Test igraph_vector_binsearch
Test Binsearch in empty vector
Test igraph_vector_init_real
( 1 2 3 4 5 6 7 8 9 10 )
Test igraph_vector_init_int
( 1 2 3 4 5 6 7 8 9 10 )
Test igraph_vector_init_real
( 1 2 3 4 5 6 7 8 9 10 )
Test igraph_vector_init_int
( 1 2 3 4 5 6 7 8 9 10 )
Test order2
( 0 8 1 7 6 2 3 5 4 )
Test order2 on empty vector
( )
Test filter_smaller, quite special....
( 4 4 5 6 7 8 )
( 1 2 3 4 4 4 4 5 6 7 8 )
( 0 1 2 3 4 4 4 4 5 6 7 8 )
Test rank
( 0 1 2 6 5 2 1 0 )
( 1 3 5 7 6 4 2 0 )
Test pair order
( 0 1 2 3 )
Test fill
Test range
Test igraph_vector_int_init_range, igraph_vector_int_order1
( 0 1 2 3 4 5 6 7 8 9 )