std::fpos< _StateT >(3cxx) std::fpos< _StateT >(3cxx)
NAME
std::fpos< _StateT > -
SYNOPSIS
Public Member Functions
fpos (streamoff __off)
operator streamoff () const
fpos operator+ (streamoff __off) const
fpos & operator+= (streamoff __off)
fpos operator- (streamoff __off) const
streamoff operator- (const fpos &__other) const
fpos & operator-= (streamoff __off)
void state (_StateT __st)
_StateT state () const
Detailed Description
template<typename _StateT>class std::fpos< _StateT >
Class representing stream positions.
The standard places no requirements upon the template parameter StateT. In this implementation StateT must be DefaultConstructible,
CopyConstructible and Assignable. The standard only requires that fpos should contain a member of type StateT. In this implementation it
also contains an offset stored as a signed integer.
Parameters:
StateT Type passed to and returned from state().
Definition at line 114 of file postypes.h.
Constructor & Destructor Documentation
template<typename _StateT> std::fpos< _StateT >::fpos (streamoff__off) [inline]
Construct position from offset.
Definition at line 135 of file postypes.h.
Member Function Documentation
template<typename _StateT> std::fpos< _StateT >::operator streamoff () const [inline]
Convert to streamoff.
Definition at line 139 of file postypes.h.
template<typename _StateT> fpos std::fpos< _StateT >::operator+ (streamoff__off) const [inline]
Add position and offset.
Definition at line 180 of file postypes.h.
template<typename _StateT> fpos& std::fpos< _StateT >::operator+= (streamoff__off) [inline]
Add offset to this position.
Definition at line 156 of file postypes.h.
template<typename _StateT> fpos std::fpos< _StateT >::operator- (streamoff__off) const [inline]
Subtract offset from position.
Definition at line 194 of file postypes.h.
template<typename _StateT> streamoff std::fpos< _StateT >::operator- (const fpos< _StateT > &__other) const [inline]
Subtract position to return offset.
Definition at line 207 of file postypes.h.
template<typename _StateT> fpos& std::fpos< _StateT >::operator-= (streamoff__off) [inline]
Subtract offset from this position.
Definition at line 167 of file postypes.h.
template<typename _StateT> void std::fpos< _StateT >::state (_StateT__st) [inline]
Remember the value of st.
Definition at line 143 of file postypes.h.
template<typename _StateT> _StateT std::fpos< _StateT >::state () const [inline]
Return the last set value of st.
Definition at line 148 of file postypes.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::fpos< _StateT >(3cxx)
Check Out this Related Man Page
std::weibull_distribution< _RealType >(3cxx) std::weibull_distribution< _RealType >(3cxx)
NAME
std::weibull_distribution< _RealType > -
SYNOPSIS
Classes
struct param_type
Public Types
typedef _RealType result_type
Public Member Functions
weibull_distribution (_RealType __a=_RealType(1), _RealType __b=_RealType(1))
weibull_distribution (const param_type &__p)
_RealType a () const
_RealType b () const
result_type max () const
result_type min () const
template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng)
template<typename _UniformRandomNumberGenerator > result_type operator() (_UniformRandomNumberGenerator &__urng, const param_type &__p)
param_type param () const
void param (const param_type &__param)
void reset () t
a
Detailed Description )
template<typename _RealType = double>class std::weibull_distribution< _Re=lType >
A weibull_distribution random number distribution. a
c
The formula for the normal probability density function is: p(x|lpha,{
l
Definition at line 4319 of file random.h. p
h
Member Typedef Documentation a
template<typename _RealType = double> typedef _RealType std::weibull_distribution< _RealType >::result_type
The type of the range of the distribution. {
Definition at line 4326 of file random.h.
Member Function Documentation
template<typename _RealType = double> _RealType std::weibull_distribution< _RealType >::a () const [inline]
Return the $a$ parameter of the distribution.
Definition at line 4377 of file random.h.
template<typename _RealType = double> _RealType std::weibull_distribution< _RealType >::b () const [inline]
Return the $b$ parameter of the distribution.
Definition at line 4384 of file random.h.
template<typename _RealType = double> result_type std::weibull_distribution< _RealType >::max () const [inline]
Returns the least upper bound value of the distribution.
Definition at line 4413 of file random.h.
template<typename _RealType = double> result_type std::weibull_distribution< _RealType >::min () const [inline]
Returns the greatest lower bound value of the distribution.
Definition at line 4406 of file random.h.
template<typename _RealType = double> template<typename _UniformRandomNumberGenerator > result_type std::weibull_distribution< _RealType
>::operator() (_UniformRandomNumberGenerator &__urng) [inline]
Generating functions.
Definition at line 4421 of file random.h.
References std::weibull_distribution< _RealType >::operator()(), and std::weibull_distribution< _RealType >::param().
Referenced by std::weibull_distribution< _RealType >::operator()().
template<typename _RealType = double> param_type std::weibull_distribution< _RealType >::param () const [inline]
Returns the parameter set of the distribution.
Definition at line 4391 of file random.h.
Referenced by std::weibull_distribution< _RealType >::operator()(), std::operator==(), and std::operator>>().
template<typename _RealType = double> void std::weibull_distribution< _RealType >::param (const param_type &__param) [inline]
Sets the parameter set of the distribution. Parameters:
__param The new parameter set of the distribution.
Definition at line 4399 of file random.h.
template<typename _RealType = double> void std::weibull_distribution< _RealType >::reset () [inline]
Resets the distribution state.
Definition at line 4370 of file random.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::weibull_distribution< _RealType >(3cxx)