Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cmuparlay/parlaylib
/ functions
Functions
1,507 in github.com/cmuparlay/parlaylib
⨍
Functions
1,507
◇
Types & classes
312
↓ 1 callers
Function
merge_sort_
examples/mergesort.h:44
↓ 1 callers
Method
min
examples/nbody_fmm.h:102
↓ 1 callers
Function
minimum_edit_distance
examples/minimum_edit_distance.h:16
↓ 1 callers
Function
mxv
examples/pagerank.h:13
↓ 1 callers
Function
numLeaves
examples/nbody_fmm.h:230
↓ 1 callers
Method
num_workers
include/parlay/scheduler.h:167
↓ 1 callers
Function
objective
Calculate the objective function ||Ax-y|| + \lambda |x|_1
examples/lasso_regression.h:94
↓ 1 callers
Function
p_quicksort_inplace
include/parlay/internal/quicksort.h:260
↓ 1 callers
Method
pack
Returns a sequence representation of le-lists. The order of the lists is unspecified.
examples/le_list.h:64
↓ 1 callers
Function
pack_serial
include/parlay/internal/sequence_ops.h:296
↓ 1 callers
Function
pagerank
examples/pagerank.h:26
↓ 1 callers
Function
pair_monoid
include/parlay/monoid.h:232
↓ 1 callers
Function
parallel_do
include/parlay/parallel.h:58
↓ 1 callers
Function
partition_graph
partitions graph by finding an approximation of the second eigenvector of the graph laplacian (the Fiedler vector). It then splits based on the median
examples/spectral_separator.h:100
↓ 1 callers
Method
pop_bottom
Pop an item from the bottom of the queue. Only the owning thread can pop from this end. This must not be called by any other thread.
include/parlay/internal/work_stealing_deque.h:88
↓ 1 callers
Method
pop_top
Pop an item from the top of the queue, i.e., the end that is not pushed onto. Threads other than the owner can use this function. Returns {job, empty
include/parlay/internal/work_stealing_deque.h:70
↓ 1 callers
Method
precompute
examples/helper/spherical.h:59
↓ 1 callers
Function
prime_sieve
benchmark/bench_examples.cpp:48
↓ 1 callers
Function
primes
examples/primes.h:16
↓ 1 callers
Function
primes_delayed
benchmark/bench_delayed.cpp:72
↓ 1 callers
Function
process_points_recursive
Find nearest neighbor for each point. Go down to each leaf, and then search from leaf.
examples/knn.h:124
↓ 1 callers
Function
process_points_recursive
Find points in range r for each point. Go down to each leaf, and then search from leaf.
examples/3d_range.h:99
↓ 1 callers
Function
process_recursive
examples/rectangle_intersection.h:28
↓ 1 callers
Method
push
include/parlay/internal/concurrency/acquire_retire.h:36
↓ 1 callers
Method
push_bottom
Adds a new job to the bottom of the queue. Only the owning thread can push new items. This must not be called by any other thread. Returns true if th
include/parlay/internal/work_stealing_deque.h:53
↓ 1 callers
Function
qsort
examples/quicksort.h:12
↓ 1 callers
Function
quickhull
The main recursive function Points are all the original points, l and r are the start and endpoints to find the hull between, and Idxs are the indices
examples/quickhull.h:36
↓ 1 callers
Function
quicksort_serial
include/parlay/internal/quicksort.h:150
↓ 1 callers
Function
rabin_karp
examples/rabin_karp.h:34
↓ 1 callers
Function
radix_step_
include/parlay/internal/bucket_sort.h:25
↓ 1 callers
Function
rand_vector
examples/spectral_separator.h:38
↓ 1 callers
Function
random_permutation
include/parlay/random.h:155
↓ 1 callers
Function
random_shuffle_
include/parlay/random.h:92
↓ 1 callers
Function
random_vector
Generate a random vector of length n consisting of random non-negative 32-bit integers.
benchmark/util.h:11
↓ 1 callers
Method
rank
include/parlay/internal/heap_tree.h:47
↓ 1 callers
Function
ray_cast
examples/ray_trace.h:157
↓ 1 callers
Function
ray_triangle_intersect
Code for ray_triangle_intersect is based on: Fast, Minimum Storage Ray/Triangle Intersection Tomas Moller and Ben Trumbore
examples/ray_trace.h:59
↓ 1 callers
Function
read_data
Read from a csv file with one entry (sample) per line. First line spefies the types of each column (feature), either 'd' (discrete) or 'i' (continuou
examples/decision_tree_c45.cpp:32
↓ 1 callers
Function
read_features
examples/decision_tree_c45.cpp:73
↓ 1 callers
Function
read_file
Read matlab data file. Returns A^T (i.e. the transpose of A, organizized as columns), and y.
examples/lasso_regression.cpp:17
↓ 1 callers
Function
rectangle_intersection
examples/rectangle_intersection.h:47
↓ 1 callers
Function
reduce
include/parlay/internal/block_delayed.h:159
↓ 1 callers
Method
reduce
include/parlay/internal/group_by.h:149
↓ 1 callers
Method
relinquish
Given the ID back to the global pool for reuse
include/parlay/internal/thread_id_pool.h:118
↓ 1 callers
Function
remove
include/parlay/primitives.h:959
↓ 1 callers
Method
remove
examples/hash_map.h:92
↓ 1 callers
Function
remove_if
include/parlay/primitives.h:949
↓ 1 callers
Function
report_correct
examples/decision_tree_c45.cpp:15
↓ 1 callers
Function
reserve
include/parlay/sequence.h:386
↓ 1 callers
Method
reserved
examples/helper/speculative_for.h:30
↓ 1 callers
Function
resize
include/parlay/sequence.h:368
↓ 1 callers
Method
retire
include/parlay/internal/concurrency/acquire_retire.h:99
↓ 1 callers
Function
reverse_inplace
include/parlay/primitives.h:872
↓ 1 callers
Function
rms_diff
examples/spectral_separator.h:34
↓ 1 callers
Function
rotate
include/parlay/primitives.h:883
↓ 1 callers
Function
rows_to_features
transposes the matrix making a sequence of features also places the target label up front (taken from the back)
examples/decision_tree_c45.cpp:58
↓ 1 callers
Function
sample_sort_
examples/samplesort.h:25
↓ 1 callers
Function
second_eigenvector
examples/spectral_separator.h:84
↓ 1 callers
Function
self
Calculates local forces within a leaf
examples/nbody_fmm.h:437
↓ 1 callers
Method
set_to_empty_representation
A zero-byte-filled sequence always corresponds to an empty sequence, whether small or large
include/parlay/internal/sequence_base.h:232
↓ 1 callers
Function
shoot
Process one column, i.e., the meat. Find local gradient at coordinate and update xi and Ax.
examples/lasso_regression.h:68
↓ 1 callers
Function
simulated_for
test/test_parallel.cpp:42
↓ 1 callers
Method
size
Return the size of the sequence
include/parlay/internal/sequence_base.h:422
↓ 1 callers
Function
small_multiply
examples/karatsuba.h:48
↓ 1 callers
Function
soft_threshold
To deal with no gradient of the absolute value at 0.
examples/lasso_regression.h:60
↓ 1 callers
Function
solve_lasso
Iterative solver AT is the tranpsose of A, organized as colums
examples/lasso_regression.h:103
↓ 1 callers
Function
spanning_forest
examples/spanning_tree.h:20
↓ 1 callers
Method
spawn
Push onto local stack.
include/parlay/scheduler.h:132
↓ 1 callers
Function
spine_merge
examples/cartesian_tree.h:27
↓ 1 callers
Function
split_at
include/parlay/primitives.h:1174
↓ 1 callers
Function
split_events
examples/box_kdtree.h:156
↓ 1 callers
Function
split_three
include/parlay/internal/sequence_ops.h:424
↓ 1 callers
Function
stable_integer_sort
include/parlay/primitives.h:426
↓ 1 callers
Method
stats
pair of total currently used space, and total unused space the allocator has in reserve
include/parlay/internal/pool_allocator.h:172
↓ 1 callers
Function
subtract
examples/bigint_add.h:81
↓ 1 callers
Function
tab_reduce
examples/lasso_regression.h:42
↓ 1 callers
Function
tokens_delayed
benchmark/bench_delayed.cpp:19
↓ 1 callers
Function
triangle_count
examples/triangle_count.h:44
↓ 1 callers
Function
truncated_bfs
examples/le_list.h:78
↓ 1 callers
Function
up_sweep
Translate and accumulate exterior (multipole) expansions up the tree, including translating particles to expansions at the leaves.
examples/nbody_fmm.h:363
↓ 1 callers
Function
upper_hull
The top-level call has to find the maximum and minimum x coordinates and use them for the initial recursive call
examples/quickhull.h:72
↓ 1 callers
Function
values_view
include/parlay/delayed.h:95
↓ 1 callers
Function
violate
check if point p violates the constraint h
examples/2d_linear_program.h:40
↓ 1 callers
Method
wait_until
include/parlay/scheduler.h:147
↓ 1 callers
Function
wc
benchmark/bench_examples.cpp:14
↓ 1 callers
Function
word_counts
examples/word_counts.h:9
↓ 1 callers
Method
worker_id
include/parlay/scheduler.h:168
↓ 1 callers
Function
write_add
include/parlay/utilities.h:239
↓ 1 callers
Function
zip_apply
include/parlay/internal/block_delayed.h:192
↓ 1 callers
Function
zip_with
include/parlay/internal/stream_delayed.h:70
Function
BFS
examples/BFS_ligra.h:23
Method
BasicMatrix
test/test_monoid.cpp:27
Method
BasicMatrix
test/range_utils.h:163
Method
Delaunay
toplevel routine The result is left in the hashmap mesh. It includes all triangles in the final mesh. Assumes points are inside unit square to fit en
examples/delaunay.h:118
Method
Deque
include/parlay/internal/work_stealing_deque.h:46
Method
F
test/test_parallel.cpp:67
Method
F
test/test_padded.cpp:76
Method
JobImpl
include/parlay/internal/work_stealing_job.h:41
Function
LDD
examples/low_diameter_decomposition.h:26
Method
M2P
examples/helper/spherical.h:353
← previous
next →
501–600 of 1,507, ranked by callers