|
SLIP
1.4
|
Numerical Signal class. This container statisfies the RandomAccessContainer concepts of the Standard Template Library (STL). Data are stored using a Vector class. It extends the interface of Vector adding signal read/write operations. More...
#include <Signal.hpp>
Public Types | |
| typedef T | value_type |
| typedef Signal< T > | self |
| typedef const Signal< T > | const_self |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef ptrdiff_t | difference_type |
| typedef std::size_t | size_type |
| typedef pointer | iterator |
| typedef const_pointer | const_iterator |
| typedef slip::stride_iterator < pointer > | iterator_range |
| typedef slip::stride_iterator < const_pointer > | const_iterator_range |
| typedef std::reverse_iterator < iterator > | reverse_iterator |
| typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
| typedef std::reverse_iterator < iterator_range > | reverse_iterator_range |
| typedef std::reverse_iterator < const_iterator_range > | const_reverse_iterator_range |
| typedef slip::lin_alg_traits < value_type >::value_type | norm_type |
| typedef iterator | default_iterator |
| typedef const_iterator | const_default_iterator |
Public Member Functions | |
| void | resize (const size_type new_n, const T &val=T()) |
| Resizes a Signal. More... | |
| std::string | name () const |
| Returns the name of the class. More... | |
| size_type | size () const |
| Returns the number of elements in the Signal. More... | |
| size_type | max_size () const |
| Returns the maximal size (number of elements) in the Signal. More... | |
| bool | empty () const |
| Returns true if the Signal is empty. (Thus size() == 0) More... | |
| void | swap (self &M) |
| Swaps data with another Signal. More... | |
| T & | min () const |
| Returns the min element of the Signal according to the operator < if T is std::complex, it returns the element of minimum magnitude. More... | |
| T & | max () const |
| Returns the max element of the Signal according to the operator >, if T is std::complex, it returns the element of maximum magnitude. More... | |
| T | sum () const |
| Returns the sum of the elements of the Signal. More... | |
| norm_type | Euclidean_norm () const |
Returns the Euclidean norm of the elements of the Signal. More... | |
| norm_type | L2_norm () const |
Returns the Euclidean norm of the elements of the Signal. More... | |
| norm_type | L1_norm () const |
Returns the L1 norm ( ) of the elements of the Signal. More... | |
| norm_type | L22_norm () const |
Returns the L22 norm ( ) of the elements of the Signal. More... | |
| norm_type | infinite_norm () const |
Returns the infinite norm ( ) of the elements of the Signal. More... | |
| Signal< T > & | apply (T(*fun)(T)) |
| Applys the one-parameter C-function fun to each element of the Signal. More... | |
| Signal< T > & | apply (T(*fun)(const T &)) |
| Applys the one-parameter C-function fun to each element of the Signal. More... | |
| template<typename T> | |
| Signal (typename Signal< T >::size_type n) | |
| template<typename T> | |
| Signal (typename Signal< T >::size_type n, const T &val) | |
| template<typename T> | |
| Signal (typename Signal< T >::size_type n, const T *val) | |
Constructors & Destructors | |
| Signal () | |
| Constructs a Signal. More... | |
| Signal (const size_type n) | |
| Constructs a Signal. More... | |
| Signal (const size_type n, const T &val) | |
| Constructs a Signal initialized by the scalar value val. More... | |
| Signal (const size_type n, const T *val) | |
| Constructs a Signal initialized by an array val. More... | |
| template<typename InputIterator > | |
| Signal (InputIterator first, InputIterator last) | |
| Contructs a Signal from a range. More... | |
| Signal (const self &rhs) | |
| Constructs a copy of the Signal rhs. More... | |
| ~Signal () | |
| Destructor of the Signal. More... | |
iterators | |
| iterator | begin () |
| Returns a read/write iterator that points to the first element in the Signal. Iteration is done in ordinary element order. More... | |
| const_iterator | begin () const |
| Returns a read-only (constant) iterator that points to the first element in the Signal. Iteration is done in ordinary element order. More... | |
| iterator | end () |
| Returns a read/write iterator that points one past the last element in the Signal. Iteration is done in ordinary element order. More... | |
| const_iterator | end () const |
| Returns a read-only (constant) iterator that points one past the last element in the Signal. Iteration is done in ordinary element order. More... | |
| reverse_iterator | rbegin () |
| Returns a read/write reverse iterator that points to the last element in the Signal. Iteration is done in reverse element order. More... | |
| const_reverse_iterator | rbegin () const |
| Returns a read-only (constant) reverse iterator that points to the last element in the Signal. Iteration is done in reverse element order. More... | |
| reverse_iterator | rend () |
| Returns a read/write reverse iterator that points to one before the first element in the Signal. Iteration is done in reverse element order. More... | |
| const_reverse_iterator | rend () const |
| Returns a read-only (constant) reverse iterator that points to one before the first element in the Signal. Iteration is done in reverse element order. More... | |
| iterator_range | begin (const slip::Range< int > &range) |
| Returns a read/write iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range. More... | |
| const_iterator_range | begin (const slip::Range< int > &range) const |
| Returns a read-only (constant) iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range. More... | |
| iterator_range | end (const slip::Range< int > &range) |
| Returns a read/write iterator_range that points one past the last element in the Signal. Iteration is done in ordinary element order according to the Range. More... | |
| const_iterator_range | end (const slip::Range< int > &range) const |
| Returns a read-only (constant) iterator_range that points one past the last element in the Signal. Iteration is done in ordinary element order according to the Range. More... | |
| iterator | begin (const slip::Box1d< int > &box) |
| Returns a read/write iterator that points the first element within the Box1d. Iteration is done in ordinary element order. More... | |
| const_iterator | begin (const slip::Box1d< int > &box) const |
| Returns a read-only (constant) iterator that points the first element within the Box1d. Iteration is done in ordinary element order. More... | |
| iterator | end (const slip::Box1d< int > &box) |
| Returns a read/write iterator that points one past the last element in the Signal. Iteration is done in ordinary element order. More... | |
| const_iterator | end (const slip::Box1d< int > &box) const |
| Returns a read-only (constant) iterator that points one past the last element within the Box1d. Iteration is done in ordinary element order. More... | |
| reverse_iterator_range | rbegin (const slip::Range< int > &range) |
| Returns a read/write reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range. More... | |
| const_reverse_iterator_range | rbegin (const slip::Range< int > &range) const |
| Returns a read-only (constant) reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range. More... | |
| reverse_iterator_range | rend (const slip::Range< int > &range) |
| Returns a read/write reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range. More... | |
| const_reverse_iterator_range | rend (const slip::Range< int > &range) const |
| Returns a read-only (constant) reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range. More... | |
| reverse_iterator | rbegin (const slip::Box1d< int > &box) |
| Returns a read/write reverse_iterator that points the last element within the Box1d. Iteration is done in reverse element order. More... | |
| const_reverse_iterator | rbegin (const slip::Box1d< int > &box) const |
| Returns a read-only (constant) reverse_iterator that points the last element within the Box1d. Iteration is done in reverse element order. More... | |
| reverse_iterator | rend (const slip::Box1d< int > &box) |
| Returns a read/write reverse_iterator that points one previous the first element in the Box1d. Iteration is done in reverse element order. More... | |
| const_reverse_iterator | rend (const slip::Box1d< int > &box) const |
| Returns a read-only (constant) reverse_iterator that points one previous the first element of the Box1d. Iteration is done in reverse element order. More... | |
Assignment operators and methods | |
| self & | operator= (const self &rhs) |
| Assign a Signal. More... | |
| self & | operator= (const T &val) |
| Assigns all the element of the Signal by val. More... | |
| void | fill (const T &value) |
| Fills the container range [begin(),begin()+size()) with copies of value. More... | |
| void | fill (const T *value) |
| Fills the container range [begin(),begin()+size()) with a copy of the value array. More... | |
| template<typename InputIterator > | |
| void | fill (InputIterator first, InputIterator last) |
| Fills the container range [begin(),begin()+size()) with a copy of the range [first,last) More... | |
Element access operators | |
| reference | operator[] (const size_type i) |
| Subscript access to the data contained in the Signal. More... | |
| const_reference | operator[] (const size_type i) const |
| Subscript access to the data contained in the Signal. More... | |
| reference | operator() (const size_type i) |
| Subscript access to the data contained in the Signal. More... | |
| const_reference | operator() (const size_type i) const |
| Subscript access to the data contained in the Signal. More... | |
| reference | operator() (const slip::Point1d< size_type > &p) |
| Subscript access to the data contained in the Signal. More... | |
| const_reference | operator() (const slip::Point1d< size_type > &p) const |
| Subscript access to the data contained in the Signal. More... | |
| self | operator() (const slip::Range< int > &range) |
| Subscript access to the data contained in the Signal. More... | |
Arithmetic operators | |
| self & | operator+= (const T &val) |
| Add val to each element of the Signal. More... | |
| self & | operator-= (const T &val) |
| self & | operator*= (const T &val) |
| self & | operator/= (const T &val) |
| self | operator- () const |
| self & | operator+= (const self &rhs) |
| self & | operator-= (const self &rhs) |
| self & | operator*= (const self &rhs) |
| self & | operator/= (const self &rhs) |
Static Public Attributes | |
| static const std::size_t | DIM = 1 |
Friends | |
| class | boost::serialization::access |
Comparison operators | |
| bool | operator== (const Signal< T > &x, const Signal< T > &y) |
| Signal equality comparison. More... | |
| bool | operator!= (const Signal< T > &x, const Signal< T > &y) |
| Signal inequality comparison. More... | |
| bool | operator< (const Signal< T > &x, const Signal< T > &y) |
| Less than comparison operator (Signal ordering relation) More... | |
| bool | operator> (const Signal< T > &x, const Signal< T > &y) |
| More than comparison operator. More... | |
| bool | operator<= (const Signal< T > &x, const Signal< T > &y) |
| Less than equal comparison operator. More... | |
| bool | operator>= (const Signal< T > &x, const Signal< T > &y) |
| More than equal comparison operator. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename T > | |
| T & | min (const Signal< T > &M1) |
| Returns the min element of a Signal, if T is std::complex, it returns the element of minimum magnitude. More... | |
| template<typename T > | |
| T & | max (const Signal< T > &M1) |
| Returns the max element of a Signal, if T is std::complex, it returns the element of maximum magnitude. More... | |
| template<typename T > | |
| Signal< typename slip::lin_alg_traits< T > ::value_type > | abs (const Signal< T > &V) |
| Returns the abs value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | sqrt (const Signal< T > &V) |
| Returns the sqrt value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | cos (const Signal< T > &V) |
| Returns the cos value of each element of the Signal. More... | |
| Signal< float > | acos (const Signal< float > &V) |
| Returns the acos value of each element of the Signal. More... | |
| Signal< double > | acos (const Signal< double > &V) |
| Returns the acos value of each element of the Signal. More... | |
| Signal< long double > | acos (const Signal< long double > &V) |
| Returns the acos value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | sin (const Signal< T > &V) |
| Returns the sin value of each element of the Signal. More... | |
| Signal< float > | asin (const Signal< float > &V) |
| Returns the asin value of each element of the Signal. More... | |
| Signal< double > | asin (const Signal< double > &V) |
| Returns the asin value of each element of the Signal. More... | |
| Signal< long double > | asin (const Signal< long double > &V) |
| Returns the asin value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | tan (const Signal< T > &V) |
| Returns the tan value of each element of the Signal. More... | |
| Signal< float > | atan (const Signal< float > &V) |
| Returns the atan value of each element of the Signal. More... | |
| Signal< double > | atan (const Signal< double > &V) |
| Returns the atan value of each element of the Signal. More... | |
| Signal< long double > | atan (const Signal< long double > &V) |
| Returns the atan value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | exp (const Signal< T > &V) |
| Returns the exp value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | log (const Signal< T > &V) |
| Returns the log value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | cosh (const Signal< T > &V) |
| Returns the cosh value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | sinh (const Signal< T > &V) |
| Returns the sinh value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | tanh (const Signal< T > &V) |
| Returns the tanh value of each element of the Signal. More... | |
| template<typename T > | |
| Signal< T > | log10 (const Signal< T > &V) |
| Returns the log10 value of each element of the Signal. More... | |
i/o operators | |
| std::ostream & | operator<< (std::ostream &out, const self &v) |
| Write the Signal to the ouput stream. More... | |
| void | write_ascii (const std::string &file_path_name) const |
| Write the Signal to an ASCII file. More... | |
| void | read_ascii (const std::string &file_path_name) |
| Read the Signal from an ASCII file. More... | |
Numerical Signal class. This container statisfies the RandomAccessContainer concepts of the Standard Template Library (STL). Data are stored using a Vector class. It extends the interface of Vector adding signal read/write operations.
| T. | Type of object in the Signal |
Definition at line 105 of file Signal.hpp.
| typedef const_iterator slip::Signal< T >::const_default_iterator |
Definition at line 185 of file Signal.hpp.
| typedef const_pointer slip::Signal< T >::const_iterator |
Definition at line 170 of file Signal.hpp.
| typedef slip::stride_iterator<const_pointer> slip::Signal< T >::const_iterator_range |
Definition at line 173 of file Signal.hpp.
| typedef const value_type* slip::Signal< T >::const_pointer |
Definition at line 162 of file Signal.hpp.
| typedef const value_type& slip::Signal< T >::const_reference |
Definition at line 164 of file Signal.hpp.
| typedef std::reverse_iterator<const_iterator> slip::Signal< T >::const_reverse_iterator |
Definition at line 176 of file Signal.hpp.
| typedef std::reverse_iterator<const_iterator_range> slip::Signal< T >::const_reverse_iterator_range |
Definition at line 179 of file Signal.hpp.
| typedef const Signal<T> slip::Signal< T >::const_self |
Definition at line 159 of file Signal.hpp.
| typedef iterator slip::Signal< T >::default_iterator |
Definition at line 184 of file Signal.hpp.
| typedef ptrdiff_t slip::Signal< T >::difference_type |
Definition at line 166 of file Signal.hpp.
| typedef pointer slip::Signal< T >::iterator |
Definition at line 169 of file Signal.hpp.
| typedef slip::stride_iterator<pointer> slip::Signal< T >::iterator_range |
Definition at line 172 of file Signal.hpp.
| typedef slip::lin_alg_traits<value_type>::value_type slip::Signal< T >::norm_type |
Definition at line 181 of file Signal.hpp.
| typedef value_type* slip::Signal< T >::pointer |
Definition at line 161 of file Signal.hpp.
| typedef value_type& slip::Signal< T >::reference |
Definition at line 163 of file Signal.hpp.
| typedef std::reverse_iterator<iterator> slip::Signal< T >::reverse_iterator |
Definition at line 175 of file Signal.hpp.
| typedef std::reverse_iterator<iterator_range> slip::Signal< T >::reverse_iterator_range |
Definition at line 178 of file Signal.hpp.
| typedef Signal<T> slip::Signal< T >::self |
Definition at line 158 of file Signal.hpp.
| typedef std::size_t slip::Signal< T >::size_type |
Definition at line 167 of file Signal.hpp.
| typedef T slip::Signal< T >::value_type |
Definition at line 157 of file Signal.hpp.
|
inline |
Constructs a Signal.
Definition at line 1421 of file Signal.hpp.
| slip::Signal< T >::Signal | ( | const size_type | n | ) |
Constructs a Signal.
| n | number of element in the Signal |
| slip::Signal< T >::Signal | ( | const size_type | n, |
| const T & | val | ||
| ) |
Constructs a Signal initialized by the scalar value val.
| n | number of element in the Signal |
| val | initialization value of the elements |
| slip::Signal< T >::Signal | ( | const size_type | n, |
| const T * | val | ||
| ) |
Constructs a Signal initialized by an array val.
| n | number of element in the Signal |
| val | initialization array value of the elements |
|
inline |
Contructs a Signal from a range.
| first | An input iterator. |
| last | An input iterator. |
Create a Signal consisting of copies of the elements from [first,last).
Definition at line 232 of file Signal.hpp.
|
inline |
Constructs a copy of the Signal rhs.
Definition at line 1447 of file Signal.hpp.
|
inline |
Destructor of the Signal.
Definition at line 1464 of file Signal.hpp.
|
inline |
Definition at line 1427 of file Signal.hpp.
|
inline |
Definition at line 1433 of file Signal.hpp.
|
inline |
Definition at line 1440 of file Signal.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the Signal.
| fun | The one-parameter C function |
Definition at line 1880 of file Signal.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the Signal.
| fun | The one-const-parameter C function |
Definition at line 1889 of file Signal.hpp.
|
inline |
Returns a read/write iterator that points to the first element in the Signal. Iteration is done in ordinary element order.
Definition at line 1488 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator that points to the first element in the Signal. Iteration is done in ordinary element order.
Definition at line 1502 of file Signal.hpp.
|
inline |
Returns a read/write iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range.
| range | Range to iterate. |
Definition at line 1551 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator_range that points the first element within the Range. Iteration is done in ordinary element order according to the Range.
| range | Range to iterate. |
Definition at line 1567 of file Signal.hpp.
|
inline |
Returns a read/write iterator that points the first element within the Box1d. Iteration is done in ordinary element order.
| box | Box1d to iterate. |
Definition at line 1586 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator that points the first element within the Box1d. Iteration is done in ordinary element order.
| box | Box1d to iterate. |
Definition at line 1602 of file Signal.hpp.
|
inline |
Returns true if the Signal is empty. (Thus size() == 0)
Definition at line 1771 of file Signal.hpp.
|
inline |
Returns a read/write iterator that points one past the last element in the Signal. Iteration is done in ordinary element order.
Definition at line 1495 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator that points one past the last element in the Signal. Iteration is done in ordinary element order.
Definition at line 1510 of file Signal.hpp.
|
inline |
Returns a read/write iterator_range that points one past the last element in the Signal. Iteration is done in ordinary element order according to the Range.
| range | Range to iterate. |
Definition at line 1559 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator_range that points one past the last element in the Signal. Iteration is done in ordinary element order according to the Range.
| range | Range to iterate. |
Definition at line 1576 of file Signal.hpp.
|
inline |
Returns a read/write iterator that points one past the last element in the Signal. Iteration is done in ordinary element order.
| box | Box1d to iterate. |
Definition at line 1594 of file Signal.hpp.
|
inline |
Returns a read-only (constant) iterator that points one past the last element within the Box1d. Iteration is done in ordinary element order.
| box | Box1d to iterate. |
Definition at line 1611 of file Signal.hpp.
|
inline |
Returns the Euclidean norm
of the elements of the Signal.
Definition at line 996 of file Signal.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with copies of value.
| value | A reference-to-const of arbitrary type. |
Definition at line 723 of file Signal.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the value array.
| value | A pointer of arbitrary type. |
Definition at line 734 of file Signal.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the range [first,last)
| first | An input iterator. |
| last | An input iterator. |
Definition at line 748 of file Signal.hpp.
|
inline |
Returns the infinite norm (
) of the elements of the Signal.
Definition at line 1033 of file Signal.hpp.
|
inline |
Returns the L1 norm (
) of the elements of the Signal.
Definition at line 1014 of file Signal.hpp.
|
inline |
Returns the L22 norm (
) of the elements of the Signal.
Definition at line 1024 of file Signal.hpp.
|
inline |
Returns the Euclidean norm
of the elements of the Signal.
Definition at line 1005 of file Signal.hpp.
|
inline |
Returns the max element of the Signal according to the operator >, if T is std::complex, it returns the element of maximum magnitude.
Definition at line 1866 of file Signal.hpp.
|
inline |
Returns the maximal size (number of elements) in the Signal.
Definition at line 1764 of file Signal.hpp.
|
inline |
Returns the min element of the Signal according to the operator < if T is std::complex, it returns the element of minimum magnitude.
Definition at line 1859 of file Signal.hpp.
|
inline |
Returns the name of the class.
Definition at line 1753 of file Signal.hpp.
| reference slip::Signal< T >::operator() | ( | const size_type | i | ) |
Subscript access to the data contained in the Signal.
| i | The index of the row for which the data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
| const_reference slip::Signal< T >::operator() | ( | const size_type | i | ) | const |
Subscript access to the data contained in the Signal.
| i | The index of the row for which the data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
| reference slip::Signal< T >::operator() | ( | const slip::Point1d< size_type > & | p | ) |
Subscript access to the data contained in the Signal.
| p | The index point corresponding of the element for which data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
| const_reference slip::Signal< T >::operator() | ( | const slip::Point1d< size_type > & | p | ) | const |
Subscript access to the data contained in the Signal.
| p | The index point corresponding of the element for which data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
|
inline |
Subscript access to the data contained in the Signal.
| range | The range of the Signal. |
This operator allows for easy, 1d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
Definition at line 1740 of file Signal.hpp.
|
inline |
Definition at line 1802 of file Signal.hpp.
|
inline |
Definition at line 1843 of file Signal.hpp.
|
inline |
Add val to each element of the Signal.
| val | value |
Definition at line 1786 of file Signal.hpp.
|
inline |
Definition at line 1827 of file Signal.hpp.
|
inline |
Definition at line 1819 of file Signal.hpp.
|
inline |
Definition at line 1794 of file Signal.hpp.
|
inline |
Definition at line 1835 of file Signal.hpp.
|
inline |
Definition at line 1810 of file Signal.hpp.
|
inline |
Definition at line 1851 of file Signal.hpp.
|
inline |
Assign a Signal.
Assign elements of Signal in rhs
| rhs | Signal to get the values from. |
Definition at line 1453 of file Signal.hpp.
|
inline |
Assigns all the element of the Signal by val.
| val | affectation value |
Definition at line 1471 of file Signal.hpp.
| reference slip::Signal< T >::operator[] | ( | const size_type | i | ) |
Subscript access to the data contained in the Signal.
| i | The index of the row for which the data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
| const_reference slip::Signal< T >::operator[] | ( | const size_type | i | ) | const |
Subscript access to the data contained in the Signal.
| i | The index of the row for which the data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
|
inline |
Returns a read/write reverse iterator that points to the last element in the Signal. Iteration is done in reverse element order.
Definition at line 1519 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to the last element in the Signal. Iteration is done in reverse element order.
Definition at line 1533 of file Signal.hpp.
|
inline |
Returns a read/write reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range.
| range | Range to iterate. |
Definition at line 1653 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse_iterator_range that points the end element within the Range. Iteration is done in reverse element order according to the Range.
| range | Range to iterate. |
Definition at line 1669 of file Signal.hpp.
|
inline |
Returns a read/write reverse_iterator that points the last element within the Box1d. Iteration is done in reverse element order.
| box | Box1d to iterate. |
Definition at line 1620 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse_iterator that points the last element within the Box1d. Iteration is done in reverse element order.
| box | Box1d to iterate. |
Definition at line 1636 of file Signal.hpp.
|
inline |
Read the Signal from an ASCII file.
| file_path_name |
Definition at line 690 of file Signal.hpp.
|
inline |
Returns a read/write reverse iterator that points to one before the first element in the Signal. Iteration is done in reverse element order.
Definition at line 1526 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to one before the first element in the Signal. Iteration is done in reverse element order.
Definition at line 1541 of file Signal.hpp.
|
inline |
Returns a read/write reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range.
| range | Range to iterate. |
Definition at line 1661 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse_iterator_range that points one previous the first element in the Range. Iteration is done in reverse element order according to the Range.
| range | Range to iterate. |
Definition at line 1678 of file Signal.hpp.
|
inline |
Returns a read/write reverse_iterator that points one previous the first element in the Box1d. Iteration is done in reverse element order.
| box | Box1d to iterate. |
Definition at line 1628 of file Signal.hpp.
|
inline |
Returns a read-only (constant) reverse_iterator that points one previous the first element of the Box1d. Iteration is done in reverse element order.
| box | Box1d to iterate. |
Definition at line 1645 of file Signal.hpp.
|
inline |
Resizes a Signal.
| new_n | new dimension of the Signal |
| val | new value for all the elements |
Definition at line 1479 of file Signal.hpp.
|
inline |
Returns the number of elements in the Signal.
Definition at line 1757 of file Signal.hpp.
|
inline |
Returns the sum of the elements of the Signal.
Definition at line 1873 of file Signal.hpp.
|
inline |
Swaps data with another Signal.
| M | A Signal of the same element type |
Definition at line 1778 of file Signal.hpp.
|
inline |
Write the Signal to an ASCII file.
| file_path_name |
Definition at line 680 of file Signal.hpp.
|
related |
Returns the abs value of each element of the Signal.
| V | The Signal |
Definition at line 2026 of file Signal.hpp.
Returns the acos value of each element of the Signal.
| V | The Signal |
Definition at line 2054 of file Signal.hpp.
Returns the acos value of each element of the Signal.
| V | The Signal |
Definition at line 2062 of file Signal.hpp.
Returns the acos value of each element of the Signal.
| V | The Signal |
Definition at line 2070 of file Signal.hpp.
Returns the asin value of each element of the Signal.
| V | The Signal |
Definition at line 2089 of file Signal.hpp.
Returns the asin value of each element of the Signal.
| V | The Signal |
Definition at line 2097 of file Signal.hpp.
Returns the asin value of each element of the Signal.
| V | The Signal |
Definition at line 2105 of file Signal.hpp.
Returns the atan value of each element of the Signal.
| V | The Signal |
Definition at line 2122 of file Signal.hpp.
Returns the atan value of each element of the Signal.
| V | The Signal |
Definition at line 2130 of file Signal.hpp.
Returns the atan value of each element of the Signal.
| V | The Signal |
Definition at line 2138 of file Signal.hpp.
|
friend |
Definition at line 1075 of file Signal.hpp.
Returns the cos value of each element of the Signal.
| V | The Signal |
Definition at line 2045 of file Signal.hpp.
Returns the cosh value of each element of the Signal.
| V | The Signal |
Definition at line 2165 of file Signal.hpp.
Returns the exp value of each element of the Signal.
| V | The Signal |
Definition at line 2147 of file Signal.hpp.
Returns the log value of each element of the Signal.
| V | The Signal |
Definition at line 2156 of file Signal.hpp.
Returns the log10 value of each element of the Signal.
| V | The Signal |
Definition at line 2192 of file Signal.hpp.
|
related |
Returns the max element of a Signal, if T is std::complex, it returns the element of maximum magnitude.
| M1 | the Signal |
Definition at line 2019 of file Signal.hpp.
|
related |
Returns the min element of a Signal, if T is std::complex, it returns the element of minimum magnitude.
| M1 | the Signal |
Definition at line 2012 of file Signal.hpp.
Signal inequality comparison.
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2211 of file Signal.hpp.
Less than comparison operator (Signal ordering relation)
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2221 of file Signal.hpp.
|
friend |
Write the Signal to the ouput stream.
| out | output std:ostream |
| v | Signal to write to the output stream |
Definition at line 1687 of file Signal.hpp.
Less than equal comparison operator.
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2237 of file Signal.hpp.
Signal equality comparison.
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2203 of file Signal.hpp.
More than comparison operator.
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2229 of file Signal.hpp.
More than equal comparison operator.
| x | A Signal |
| y | A Signal of the same type of x |
Definition at line 2245 of file Signal.hpp.
Returns the sin value of each element of the Signal.
| V | The Signal |
Definition at line 2079 of file Signal.hpp.
Returns the sinh value of each element of the Signal.
| V | The Signal |
Definition at line 2174 of file Signal.hpp.
Returns the sqrt value of each element of the Signal.
| V | The Signal |
Definition at line 2036 of file Signal.hpp.
Returns the tan value of each element of the Signal.
| V | The Signal |
Definition at line 2114 of file Signal.hpp.
Returns the tanh value of each element of the Signal.
| V | The Signal |
Definition at line 2183 of file Signal.hpp.
|
static |
Definition at line 188 of file Signal.hpp.
1.8.6