wecopttool.time_mat
- time_mat(f1, nfreq, nsubsteps=1, zero_freq=True)[source]
Assemble the time matrix that converts the state to a time-series.
For a state
consisting of the mean (DC) component followed by the real and imaginary components of the Fourier coefficients (excluding the imaginary component of the 2-point wave) as , the response vector in the time-domain ( ) is given as , where is the time matrix.The time matrix has size
(nfreq*2, nfreq*2)
.If
zero_freq = False
(not default), the mean (DC) componentX0
is excluded, and the matrix/vector length is reduced by 1.- Parameters:
- Return type: