std::slice_array

Defined in header <valarray> template< class T > class slice_array; std::slice_array is a helper template used by std::slice subscript operator. It has reference semantics to a subset of the array specified by the std::slice object. Member types Type Definition value_type T Member functions (constructor) constructs a slice_array (public member function) (destructor) destroys a slice_array (public member function) operator= assigns conte

std::slice

Defined in header <valarray> class slice; std::slice is the selector class that identifies a subset of std::valarray similar to BLAS slice. An object of type std::slice holds three values: the starting index, the stride, and the total number of values in the subset. Objects of type std::slice can be used as indexes with valarray's operator[]. Member functions (constructor) constructs a slice (public member function) startsizestride returns the parameters of the

std::skipws

Defined in header <ios> std::ios_base& skipws( std::ios_base& str ); (1) std::ios_base& noskipws( std::ios_base& str ); (2) Enables or disables skipping of leading whitespace by the formatted input functions (enabled by default). Has no effect on output. 1) enables the skipws flag in the stream str as if by calling str.setf(std::ios_base::skipws). 2) disables the skipws flag in the stream str as if by calling str.unsetf(std::ios_base::skipws). The whit

std::size_t

Defined in header <cstddef> Defined in header <cstdio> Defined in header <cstring> Defined in header <ctime> Defined in header <cstdlib> (since C++11) Defined in header <cwchar> (since C++11) typedef /*implementation-defined*/ size_t; std::size_t is the unsigned integer type of the result of the sizeof operator as well as the sizeof... operator and the alignof operator (since C++11). Notes std::size_t can store

std::size

Defined in header <iterator> template < class C > constexpr auto size( const C& c ) -> decltype(c.size()); (1) (since C++17) template < class T, size_t N > constexpr size_t size( const T (&array)[N] ) noexcept; (2) (since C++17) Returns the size of the given container c or array array. 1) Returns c.size(). 2) Returns N. Parameters c - a container with a size method array - an array of arbitrary type Return value The size of

std::sinh(std::valarray)

Defined in header <valarray> template< class T > valarray<T> sinh( const valarray<T>& va ); For each element in va computes hyperbolic sine of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing hyperbolic sine of the values in va. Notes Unqualified function (sinh) is used to perform the computation. If such function is not available, std::sinh is used due to argument depe

std::sinh(std::complex)

Defined in header <complex> template< class T > complex<T> sinh( const complex<T>& z ); (since C++11) Computes complex hyperbolic sine of a complex value z. Parameters z - complex value Return value If no errors occur, complex hyperbolic sine of z is returned. Error handling and special values Errors are reported consistent with math_errhandling. If the implementation supports IEEE floating-point arithmetic, std::sinh(std::conj(z)) =

std::sinh

Defined in header <cmath> float sinh( float arg ); (1) double sinh( double arg ); (2) long double sinh( long double arg ); (3) double sinh( Integral arg ); (4) (since C++11) Computes the hyperbolic sine of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or Integral type Return value If n

std::sin(std::valarray)

Defined in header <valarray> template< class T > valarray<T> sin( const valarray<T>& va ); For each element in va computes sine of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing sine of the values in va. Notes Unqualified function (sin) is used to perform the computation. If such function is not available, std::sin is used due to argument dependent lookup. The functio

std::sin(std::complex)

Defined in header <complex> template< class T > complex<T> sin( const complex<T>& z ); Computes complex sine of a complex value z. Parameters z - complex value Return value If no errors occur, the complex sine of z is returned. Errors and special cases are handled as if the operation is implemented by -i * std::sinh(i*z), where i is the imaginary unit. Notes The sine is an entire function on the complex plane, and has no branch cuts.