| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
RNG
Random number generator class.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#rng
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
A = -130063606
|
|||
NORMAL = 1
|
|||
UNIFORM = 0
|
|||
__instance_size__ = 16
|
|||
|
|||
| state | |||
|
this Random number generator class. |
|||
|
Inherited from |
|||
|
|||
__call__( (RNG)arg1 [, (object)N]) -> int :
Returns the next random number.
Wrapped function:
operator()
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-operator
C++ signature :
unsigned int __call__(cv::RNG {lvalue} [,unsigned int])
|
__init__( (object)arg1) -> None :
RNG constructors.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-rng
C++ signature :
void __init__(_object*)
__init__( (object)arg1, (long)_state) -> None :
RNG constructors.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-rng
C++ signature :
void __init__(_object*,unsigned long long)
|
helper for pickle
|
repr(x)
|
as_float32( (RNG)arg1) -> float :
Wrapped function:
operator float
C++ signature :
float as_float32(cv::RNG {lvalue})
|
as_float64( (RNG)arg1) -> float :
Wrapped function:
operator double
C++ signature :
double as_float64(cv::RNG {lvalue})
|
as_int( (RNG)arg1) -> int :
Wrapped function:
operator int
C++ signature :
int as_int(cv::RNG {lvalue})
|
as_int16( (RNG)arg1) -> int :
Wrapped function:
operator short int
C++ signature :
short as_int16(cv::RNG {lvalue})
|
as_int8( (RNG)arg1) -> int :
Wrapped function:
operator ::schar
C++ signature :
signed char as_int8(cv::RNG {lvalue})
|
as_uint( (RNG)arg1) -> int :
Wrapped function:
operator unsigned int
C++ signature :
unsigned int as_uint(cv::RNG {lvalue})
|
as_uint16( (RNG)arg1) -> int :
Wrapped function:
operator ::ushort
C++ signature :
unsigned short as_uint16(cv::RNG {lvalue})
|
as_uint8( (RNG)arg1) -> int :
Wrapped function:
operator ::uchar
C++ signature :
unsigned char as_uint8(cv::RNG {lvalue})
|
fill( (RNG)arg1, (Mat)mat, (object)distType, (Scalar)a, (Scalar)b) -> None :
Fill arrays with random numbers.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-fill
C++ signature :
void fill(cv::RNG {lvalue},cv::Mat {lvalue},int,cv::Scalar_<double>,cv::Scalar_<double>)
fill( (RNG)arg1, (MatND)mat, (object)distType, (Scalar)a, (Scalar)b) -> None :
Fill arrays with random numbers.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-fill
C++ signature :
void fill(cv::RNG {lvalue},cv::MatND {lvalue},int,cv::Scalar_<double>,cv::Scalar_<double>)
|
gaussian( (RNG)arg1, (object)sigma) -> float :
Returns the next random number sampled from the Gaussian distribution.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-gaussian
C++ signature :
double gaussian(cv::RNG {lvalue},double)
|
next( (RNG)arg1) -> int :
Returns the next random number.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-next
C++ signature :
unsigned int next(cv::RNG {lvalue})
|
uniform_float32( (RNG)arg1, (object)a, (object)b) -> float :
Returns the next random number sampled from the uniform distribution.
Wrapped function:
uniform
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-uniform
C++ signature :
float uniform_float32(cv::RNG {lvalue},float,float)
|
uniform_float64( (RNG)arg1, (object)a, (object)b) -> float :
Returns the next random number sampled from the uniform distribution.
Wrapped function:
uniform
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-uniform
C++ signature :
double uniform_float64(cv::RNG {lvalue},double,double)
|
uniform_int( (RNG)arg1, (object)a, (object)b) -> int :
Returns the next random number sampled from the uniform distribution.
Wrapped function:
uniform
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#cv-rng-uniform
C++ signature :
int uniform_int(cv::RNG {lvalue},int,int)
|
|
|||
state
|
this
Random number generator class.
Reference:
http://opencv.willowgarage.com/documentation/cpp/operations_on_arrays.html#rng
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Sep 25 18:31:06 2010 | http://epydoc.sourceforge.net |