![]() |
|
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||
FUNDER - Documentation |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Creates a step function of 100 discrete-time points and time increment equal to 0.1
Creates a step function with the specified parameters. Parameters
Creates a signal with the specified parameters and from a vector of data. Parameters
Copy constructor. Implicitly called when initializating in declarations.
Destruction of the signal unallocates the memory reserved for the data.
Addition of signals means addition point by point. If the signals are not in the same scale or the number of discrete-time points is different, this method prompts an error and the program terminates.
Subtraction of signals means subtraction point by point. If the signals are not in the same scale or the number of discrete-time points is different, this method prompts an error and the program terminates.
Product of signals means convolution of signals. This is a commutative operation. If the signals are not in the same scale or the number of discrete-time points is different, this method prompts an error and the program terminates.
Division of signals means deconvolution. The first point of the second signal must be different from zero. Otherwise, the program terminates. If the signals are not in the same scale or the number of discrete-time points is different, this method prompts an error and the program terminates.
Addition of a constant means addition of the constant to every point.
Subtraction of a constant means subtraction of the constant from every point.
Product by a constant means product of every point by the constant.
Division by a constant means division of every point by the constant. If the constant is zero, the program terminates.
Assignment of signals.
Derivative of the signal, assuming that the value of the signal at the origin is zero. It returns the derivative obtained after the operation.
Returns the area under the signal.
Returns the primitive of the signal that crosses the origin.
Writes the signal to a text file, as follows:
If the file cannot be created, the program terminates. Parameter
Reads a
signal
from a text file of the structure created
by Parameter
Retrieves the number of discrete-time points of the signal.
Retrieves the time increment between two consecutive points of the signal.
Retrieves a pointer to the data.
|
||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||