Cheatography
https://cheatography.com
A CheatSheet for the CS course at KIT Karlsruhe, Germany
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Haskell Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[(a,b) | a <- [1..5], b<-[5..9]]
|
|
|
|
|
|
|
|
|
Church Encoding
CTrue |
|
CFalse |
|
C2 |
|
CNot |
|
CAnd |
|
COr |
|
CEven |
|
` |
|
|
MPI
MPI_comm_sizze(wrld, &out) |
get size |
MPI_comm_rank(wrld, &out) |
get rank |
MPI_Scatter(data, amount, type, &local, , amount,..) |
MPI_reduce |
a0=a0+a1+a2 |
MPI_allreduce |
a0=sum(); a1=sum()... |
MPI_scatterV(data, [amounts],... |
Variable amounts |
MPI_gatherV(data, [amounts],... |
Variable amounts |
MPI_ReduceScatter |
Reduce to root then scatter to all |
MPI_Alltoall |
Transpose Data matrix |
MPI_allGather |
a=b=c |
|