![]() |
ScalES-PPM
|
routines solving problems in combinatorics More...
#include <inttypes.h>
Functions | |
int | PPM_prime_factorization_32 (uint32_t n, uint32_t **factors) |
void | PPM_permute_randomly (void *a, size_t esize, size_t n) |
routines solving problems in combinatorics
Copyright (C) 2012 Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
void PPM_permute_randomly | ( | void * | a, |
size_t | esize, | ||
size_t | n ) |
Permute array.
a | array of elements, each of them of size @esize |
esize | size of each element in bytes |
n | number of elements in array |
int PPM_prime_factorization_32 | ( | uint32_t | n, |
uint32_t ** | factors ) |
Compute number of prime factors of 32 bit integer
n | number to factorize |
factors | if non-NULL points to (NULL/non-NULL) pointer that (if NULL) will be malloced and (or if non-NULL) set to list of factors |
Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.