public static class opencv_core.RNG_MT19937 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.RNG_MT19937() |
opencv_core.RNG_MT19937(int s) |
opencv_core.RNG_MT19937(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
int |
apply() |
int |
apply(int N) |
double |
asDouble() |
float |
asFloat() |
int |
asInt() |
int |
next() |
void |
seed(int s) |
double |
uniform(double a,
double b)
returns uniformly distributed double-precision floating-point random number from [a,b) range
|
float |
uniform(float a,
float b)
returns uniformly distributed floating-point random number from [a,b) range
|
int |
uniform(int a,
int b)
returns uniformly distributed integer random number from [a,b) range
|
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_core.RNG_MT19937(Pointer p)
public opencv_core.RNG_MT19937()
public opencv_core.RNG_MT19937(int s)
public void seed(int s)
public int next()
public int asInt()
public float asFloat()
public double asDouble()
public int apply(int N)
public int apply()
public int uniform(int a,
int b)
public float uniform(float a,
float b)
public double uniform(double a,
double b)
Copyright © 2014. All Rights Reserved.