Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TimPhilipp Müller
Opus
Commits
f2b86588
Commit
f2b86588
authored
Mar 07, 2011
by
JeanMarc Valin
Browse files
fixes error in definition of V(N,K)
parent
fc7d19ea
Changes
1
Hide whitespace changes
Inline
Sidebyside
doc/draftietfcodecopus.xml
View file @
f2b86588
...
...
@@ 731,7 +731,7 @@ The codeword is converted from a unique index in the same way as specified in
(denoted N(L,K) in
<xref
target=
"PVQ"
></xref>
), which is the number of possible
combinations of K pulses
in N samples. The number of combinations can be computed recursively as
V(N,K) = V(N
+
1,K) + V(N,K
+
1) + V(N
+
1,K
+
1), with V(N,0) = 1 and V(0,K) = 0, K != 0.
V(N,K) = V(N

1,K) + V(N,K

1) + V(N

1,K

1), with V(N,0) = 1 and V(0,K) = 0, K != 0.
There are many different ways to compute V(N,K), including precomputed tables and direct
use of the recursive formulation. The reference implementation applies the recursive
formulation one line (or column) at a time to save on memory use,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment