rlevdur#
- class diffsptk.ReverseLevinsonDurbin(lpc_order)[source]#
- See this page for details. - Parameters:
- lpc_orderint >= 0 [scalar]
- Order of LPC coefficients, \(M\). 
 
 - forward(a)[source]#
- Solve a Yule-Walker linear system given LPC coefficients. - Parameters:
- aTensor [shape=(…, M+1)]
- Gain and LPC coefficients. 
 
- Returns:
- rTensor [shape=(…, M+1)]
- Autocorrelation. 
 
 - Examples - >>> x = diffsptk.nrand(4) >>> acorr = diffsptk.AutocorrelationAnalysis(2, 5) >>> levdur = diffsptk.LevinsonDurbin(2) >>> rlevdur = diffsptk.ReverseLevinsonDurbin(2) >>> r = acorr(x) >>> r tensor([ 5.8784, 0.8978, -2.0951]) >>> r2 = rlevdur(levdur(r)) >>> r2 tensor([ 5.8784, 0.8978, -2.0951])