|
signals-cpp
|
Type specification for scalar-valued signals. More...
#include <Signal.h>
Public Types | |
| using | Type = T |
Static Public Member Functions | |
| static Type | ZeroType () |
| Returns zero value for the scalar type. | |
| static Type | NansType () |
| Returns NaN value for the scalar type. | |
| static T | Norm (const Type &a) |
| Compute the norm (absolute value) of a scalar. | |
Type specification for scalar-valued signals.
| T | Scalar type (e.g., double, float). |
| using ScalarSignalSpec< T >::Type = T |
|
inlinestatic |
Returns NaN value for the scalar type.
|
inlinestatic |
Compute the norm (absolute value) of a scalar.
| a | The scalar value. |
|
inlinestatic |
Returns zero value for the scalar type.