Rechercher une page de manuel
std::tr1
Langue: en
Version: 316741 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- Function Documentation
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_acos (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_acosh (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_asin (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_asinh (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_atan (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex<_Tp> std::tr1::__complex_atanh (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp > std::complex< _Tp > std::tr1::fabs (const std::complex< _Tp > & __z) [inline]
- template<typename _Tp , typename _Class > _Mem_fn<_Tp _Class::*> std::tr1::mem_fn (_Tp _Class::* __pm) [inline]
- template<typename _Signature > bool std::tr1::operator!= (_M_clear_type *, const function< _Signature > & __f) [inline]
- template<typename _Signature > bool std::tr1::operator!= (const function< _Signature > & __f, _M_clear_type *) [inline]
- template<typename _CharT , typename _Traits > std::basic_ostream<_CharT, _Traits>& std::tr1::operator<< (std::basic_ostream< _CharT, _Traits > & __os, const bernoulli_distribution & __x) [inline]
- template<typename _Signature > bool std::tr1::operator== (_M_clear_type *, const function< _Signature > & __f) [inline]
- template<typename _Signature > bool std::tr1::operator== (const function< _Signature > & __f, _M_clear_type *) [inline]
- template<typename _Signature > void std::tr1::swap (function< _Signature > & __x, function< _Signature > & __y) [inline]
- Author
NAME
std::tr1 - Everything defined by the ISO C++ TR1 is within namespace std::tr1.SYNOPSIS
Namespaces
namespace __detail
Classes
struct __promote_2< std::complex< _Tp >, _Up >
Additional overloads [8.1.9].
struct aligned_storage
other transformations [4.8].
struct array
struct array [6.2.2]. NB: Requires complete type _Tp.
class bad_function_call
Exception class thrown when class template function's operator() is called with an empty target.
class bernoulli_distribution
A Bernoulli random number distribution.
class binomial_distribution
A discrete binomial random number distribution.
class discard_block
class exponential_distribution
An exponential continuous distribution for random numbers.
class gamma_distribution
A gamma continuous distribution for random numbers.
class geometric_distribution
A discrete geometric random number distribution.
struct integral_constant
helper classes [4.3].
struct is_arithmetic
composite type traits [4.5.2].
struct is_bind_expression
Determines if the given type _Tp is a function object should be treated as a subexpression when evaluating calls to function objects returned by bind(). [TR1 3.6.1].
struct is_const
type properties [4.5.3].
struct is_placeholder
Determines if the given type _Tp is a placeholder in a bind() expression and, if so, which placeholder it is. [TR1 3.6.2].
struct is_same
relationships between types [4.6].
struct is_void
primary type categories [4.5.1].
class linear_congruential
A model of a linear congruential random number generator.
class normal_distribution
A normal continuous distribution for random numbers.
class poisson_distribution
A discrete Poisson random number distribution.
class random_device
struct remove_const
const-volatile modifications [4.7.1].
struct remove_extent
array modifications [4.7.3].
struct remove_reference
reference modifications [4.7.2].
class subtract_with_carry
The Marsaglia-Zaman generator.
class subtract_with_carry_01
The Marsaglia-Zaman generator (floats version).
struct tuple_element< _GLIBCXX_NUM_ARGS, tuple< _GLIBCXX_TUPLE_ALL_TEMPLATE_ARGS > >
class tuple_element
struct tuple_size< tuple< ... > >
class tuple_size
class uniform_int
Uniform discrete distribution for random numbers. A discrete random distribution on the range $[min, max]$ with equal probability throughout the range.
class uniform_real
Uniform continuous distribution for random numbers.
class variate_generator
class xor_combine
Typedefs
typedef integral_constant< bool, false > false_type
typedef linear_congruential< unsigned long, 48271, 0, 2147483647 > minstd_rand
typedef linear_congruential< unsigned long, 16807, 0, 2147483647 > minstd_rand0
typedef mersenne_twister< unsigned long, 32, 624, 397, 31, 0x9908b0dful, 11, 7, 0x9d2c5680ul, 15, 0xefc60000ul, 18 > mt19937
typedef discard_block< subtract_with_carry< unsigned long,(1UL<< 24), 10, 24 >, 223, 24 > ranlux3
typedef discard_block< subtract_with_carry_01< float, 24, 10, 24 >, 223, 24 > ranlux3_01
typedef discard_block< subtract_with_carry< unsigned long,(1UL<< 24), 10, 24 >, 389, 24 > ranlux4
typedef discard_block< subtract_with_carry_01< float, 24, 10, 24 >, 389, 24 > ranlux4_01
typedef subtract_with_carry_01< double, 48, 5, 12 > ranlux64_base_01
typedef subtract_with_carry_01< float, 24, 10, 24 > ranlux_base_01
typedef integral_constant< bool, true > true_type
Enumerations
enum _Manager_operation { __get_type_info, __get_functor_ptr, __clone_functor, __destroy_functor }
Functions
template<typename _Member , typename _Class > _Mem_fn< _Member _Class::* > __callable_functor (_Member _Class::*const &__p)
template<typename _Member , typename _Class > _Mem_fn< _Member _Class::* > __callable_functor (_Member _Class::*&__p)
template<typename _Functor > _Functor & __callable_functor (_Functor &__f)
template<typename _Tp > std::complex< _Tp > __complex_acos (const std::complex< _Tp > &__z)
template<typename _Tp > std::complex< _Tp > __complex_acosh (const std::complex< _Tp > &__z)
template<typename _Tp > std::complex< _Tp > __complex_asin (const std::complex< _Tp > &__z)
template<typename _Tp > std::complex< _Tp > __complex_asinh (const std::complex< _Tp > &__z)
template<typename _Tp > std::complex< _Tp > __complex_atan (const std::complex< _Tp > &__z)
template<typename _Tp > std::complex< _Tp > __complex_atanh (const std::complex< _Tp > &__z)
template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS> __gnu_cxx::__enable_if<(is_pointer< _Functor >::value &&is_function< typename remove_pointer< _Functor >::type >::value), typename result_of< _Functor(...)>::type >::__type __invoke (_Functor __f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)
template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS> __gnu_cxx::__enable_if<(!is_member_pointer< _Functor >::value &&!is_function< _Functor >::value &&!is_function< typename remove_pointer< _Functor >::type >::value), typename result_of< _Functor(...)>::type >::__type __invoke (_Functor &__f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)
template<typename _Tp > std::complex< _Tp > acos (const std::complex< _Tp > &)
template<typename _Tp > std::complex< _Tp > acosh (const std::complex< _Tp > &)
template<typename _Tp > __promote< _Tp >::__type arg (_Tp __x)
template<typename _Tp > std::complex< _Tp > asin (const std::complex< _Tp > &)
template<typename _Tp > std::complex< _Tp > asinh (const std::complex< _Tp > &)
template<typename _Tp > std::complex< _Tp > atan (const std::complex< _Tp > &)
template<typename _Tp > std::complex< _Tp > atanh (const std::complex< _Tp > &)
template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS> _Bind< typename _Maybe_wrap_member_pointer< _Functor >::type(...)> bind (_Functor __f _GLIBCXX_COMMA _GLIBCXX_PARAMS)
template<typename _Tp > std::complex< typename __promote< _Tp >::__type > conj (_Tp __x)
template<typename _Tp > reference_wrapper< const _Tp > cref (reference_wrapper< _Tp > __t)
template<typename _Tp > reference_wrapper< const _Tp > cref (const _Tp &__t)
template<typename _Tp > std::complex< _Tp > fabs (const std::complex< _Tp > &__z)
template<int _Int, class _Tp1 , class _Tp2 > const tuple_element< _Int, std::pair< _Tp1, _Tp2 > >::type & get (const std::pair< _Tp1, _Tp2 > &__in)
template<int _Int, class _Tp1 , class _Tp2 > tuple_element< _Int, std::pair< _Tp1, _Tp2 > >::type & get (std::pair< _Tp1, _Tp2 > &__in)
template<int _Int, typename _Tp , std::size_t _Nm> const _Tp & get (const array< _Tp, _Nm > &__arr)
template<int _Int, typename _Tp , std::size_t _Nm> _Tp & get (array< _Tp, _Nm > &__arr)
template<typename _Tp > __promote< _Tp >::__type imag (_Tp)
tuple make_tuple ()
template<typename _Tp , typename _Class > _Mem_fn< _Tp _Class::* > mem_fn (_Tp _Class::*__pm)
template<typename _Tp > __promote< _Tp >::__type norm (_Tp __x)
template<typename _Signature > bool operator!= (_M_clear_type *, const function< _Signature > &__f)
template<typename _Signature > bool operator!= (const function< _Signature > &__f, _M_clear_type *)
template<typename _Tp , std::size_t _Nm> bool operator!= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
template<typename _Tp , std::size_t _Nm> bool operator< (const array< _Tp, _Nm > &__a, const array< _Tp, _Nm > &__b)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const gamma_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const normal_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const exponential_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const uniform_real< _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const binomial_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const poisson_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const geometric_distribution< _IntType, _RealType > &__x)
template<typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const bernoulli_distribution &__x)
template<typename _IntType , typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const uniform_int< _IntType > &__x)
template<class _UniformRandomNumberGenerator1 , int __s1, class _UniformRandomNumberGenerator2 , int __s2, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const xor_combine< _UniformRandomNumberGenerator1, __s1, _UniformRandomNumberGenerator2, __s2 > &__x)
template<class _UniformRandomNumberGenerator , int __p, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const discard_block< _UniformRandomNumberGenerator, __p, __r > &__x)
template<typename _RealType , int __w, int __s, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const subtract_with_carry_01< _RealType, __w, __s, __r > &__x)
template<typename _IntType , _IntType __m, int __s, int __r, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const subtract_with_carry< _IntType, __m, __s, __r > &__x)
template<class _UIntType , int __w, int __n, int __m, int __r, _UIntType __a, int __u, int __s, _UIntType __b, int __t, _UIntType __c, int __l, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const mersenne_twister< _UIntType, __w, __n, __m, __r, __a, __u, __s, __b, __t, __c, __l > &__x)
template<class _UIntType , _UIntType __a, _UIntType __c, _UIntType __m, typename _CharT , typename _Traits > std::basic_ostream< _CharT, _Traits > & operator<< (std::basic_ostream< _CharT, _Traits > &__os, const linear_congruential< _UIntType, __a, __c, __m > &__lcr)
template<typename _Tp , std::size_t _Nm> bool operator<= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
template<typename _Signature > bool operator== (_M_clear_type *, const function< _Signature > &__f)
template<typename _Signature > bool operator== (const function< _Signature > &__f, _M_clear_type *)
template<typename _Tp , std::size_t _Nm> bool operator== (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
template<typename _Tp , std::size_t _Nm> bool operator> (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
template<typename _Tp , std::size_t _Nm> bool operator>= (const array< _Tp, _Nm > &__one, const array< _Tp, _Nm > &__two)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, normal_distribution< _RealType > &__x)
template<typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, uniform_real< _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, binomial_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _RealType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, poisson_distribution< _IntType, _RealType > &__x)
template<typename _IntType , typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, uniform_int< _IntType > &__x)
template<class _UniformRandomNumberGenerator1 , int __s1, class _UniformRandomNumberGenerator2 , int __s2, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, xor_combine< _UniformRandomNumberGenerator1, __s1, _UniformRandomNumberGenerator2, __s2 > &__x)
template<class _UniformRandomNumberGenerator , int __p, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, discard_block< _UniformRandomNumberGenerator, __p, __r > &__x)
template<typename _RealType , int __w, int __s, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, subtract_with_carry_01< _RealType, __w, __s, __r > &__x)
template<typename _IntType , _IntType __m, int __s, int __r, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, subtract_with_carry< _IntType, __m, __s, __r > &__x)
template<class _UIntType , int __w, int __n, int __m, int __r, _UIntType __a, int __u, int __s, _UIntType __b, int __t, _UIntType __c, int __l, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, mersenne_twister< _UIntType, __w, __n, __m, __r, __a, __u, __s, __b, __t, __c, __l > &__x)
template<class _UIntType , _UIntType __a, _UIntType __c, _UIntType __m, typename _CharT , typename _Traits > std::basic_istream< _CharT, _Traits > & operator>> (std::basic_istream< _CharT, _Traits > &__is, linear_congruential< _UIntType, __a, __c, __m > &__lcr)
template<typename _Tp , typename _Up > std::complex< typename __promote_2< _Tp, _Up >::__type > polar (const _Tp &__rho, const _Up &__theta)
template<typename _Tp , typename _Up > std::complex< typename __promote_2< _Tp, _Up >::__type > pow (const std::complex< _Tp > &__x, const std::complex< _Up > &__y)
template<typename _Tp , typename _Up > std::complex< typename __promote_2< _Tp, _Up >::__type > pow (const _Tp &__x, const std::complex< _Up > &__y)
template<typename _Tp , typename _Up > std::complex< typename __promote_2< _Tp, _Up >::__type > pow (const std::complex< _Tp > &__x, const _Up &__y)
template<typename _Tp > __promote< _Tp >::__type real (_Tp __x)
template<typename _Tp > reference_wrapper< _Tp > ref (reference_wrapper< _Tp > __t)
template<typename _Tp > reference_wrapper< _Tp > ref (_Tp &__t)
template<class _Value , class _Hash , class _Pred , class _Alloc , bool __cache_hash_code> void swap (unordered_multiset< _Value, _Hash, _Pred, _Alloc, __cache_hash_code > &__x, unordered_multiset< _Value, _Hash, _Pred, _Alloc, __cache_hash_code > &__y)
template<class _Value , class _Hash , class _Pred , class _Alloc , bool __cache_hash_code> void swap (unordered_set< _Value, _Hash, _Pred, _Alloc, __cache_hash_code > &__x, unordered_set< _Value, _Hash, _Pred, _Alloc, __cache_hash_code > &__y)
template<class _Key , class _Tp , class _Hash , class _Pred , class _Alloc , bool __cache_hash_code> void swap (unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code > &__x, unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code > &__y)
template<class _Key , class _Tp , class _Hash , class _Pred , class _Alloc , bool __cache_hash_code> void swap (unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code > &__x, unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc, __cache_hash_code > &__y)
template<typename _Signature > void swap (function< _Signature > &__x, function< _Signature > &__y)
template<typename _Tp , std::size_t _Nm> void swap (array< _Tp, _Nm > &__one, array< _Tp, _Nm > &__two)
tuple tie ()
Function Documentation
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_acos (const std::complex< _Tp > & __z) [inline]
acos(__z) [8.1.2].
Definition at line 60 of file complex.
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_acosh (const std::complex< _Tp > & __z) [inline]
acosh(__z) [8.1.5].
Definition at line 176 of file complex.
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_asin (const std::complex< _Tp > & __z) [inline]
asin(__z) [8.1.3].
Definition at line 96 of file complex.
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_asinh (const std::complex< _Tp > & __z) [inline]
asinh(__z) [8.1.6].
Definition at line 215 of file complex.
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_atan (const std::complex< _Tp > & __z) [inline]
atan(__z) [8.1.4].
Definition at line 132 of file complex.
template<typename _Tp > std::complex<_Tp> std::tr1::__complex_atanh (const std::complex< _Tp > & __z) [inline]
atanh(__z) [8.1.7].
Definition at line 254 of file complex.
template<typename _Tp > std::complex< _Tp > std::tr1::fabs (const std::complex< _Tp > & __z) [inline]
fabs(__z) [8.1.8].
Definition at line 298 of file complex.
template<typename _Tp , typename _Class > _Mem_fn<_Tp _Class::*> std::tr1::mem_fn (_Tp _Class::* __pm) [inline]
Returns a function object that forwards to the member pointer pm.
Definition at line 503 of file tr1/functional.
template<typename _Signature > bool std::tr1::operator!= (_M_clear_type *, const function< _Signature > & __f) [inline]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 1072 of file tr1/functional.
template<typename _Signature > bool std::tr1::operator!= (const function< _Signature > & __f, _M_clear_type *) [inline]
Compares a polymorphic function object wrapper against 0 (the NULL pointer).
Returns:
- false if the wrapper has no target, true otherwise
This function will not throw an exception.
Definition at line 1062 of file tr1/functional.
template<typename _CharT , typename _Traits > std::basic_ostream<_CharT, _Traits>& std::tr1::operator<< (std::basic_ostream< _CharT, _Traits > & __os, const bernoulli_distribution & __x) [inline]
Inserts a bernoulli_distribution random number distribution __x into the output stream __os.
Parameters:
- __os An output stream.
__x A bernoulli_distribution random number distribution.
Returns:
- The output stream with the state of __x inserted or in an error state.
Definition at line 793 of file random.tcc.
References std::ios_base::flags(), std::left(), and std::scientific().
template<typename _Signature > bool std::tr1::operator== (_M_clear_type *, const function< _Signature > & __f) [inline]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 1048 of file tr1/functional.
Referenced by std::locale::operator!=().
template<typename _Signature > bool std::tr1::operator== (const function< _Signature > & __f, _M_clear_type *) [inline]
Compares a polymorphic function object wrapper against 0 (the NULL pointer).
Returns:
- true if the wrapper has no target, false otherwise
This function will not throw an exception.
Definition at line 1038 of file tr1/functional.
template<typename _Signature > void std::tr1::swap (function< _Signature > & __x, function< _Signature > & __y) [inline]
Swap the targets of two polymorphic function object wrappers.
This function will not throw an exception.
Definition at line 1086 of file tr1/functional.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre