getSeed

Functions
getSeed
Complete List of ArrayFire FunctionsComplete List of ArrayFire Functions ArrayFire Functions by Category » Functions to create and modify Arrays » | Functions to create arrays. » | Random Number Generation

Returns the seed for random number generation. More...

## Functions
AFAPI uintl | getSeed ()
AFAPI af_err | af_get_seed (uintl *seed)

## Detailed Description

Returns the seed for random number generation.

Returns the seed for the current default random engine.

## Function Documentation

## § af_get_seed()

AFAPI af_err af_get_seed | ( | uintl * | seed | ) |

Parameters

  [out] | seed | A 64 bit unsigned integer

## § getSeed()

AFAPI uintl af::getSeed | ( |  | ) |

Returns
  seed A 64 bit unsigned integer