⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qccvectorgetsymbolprobs.3

📁 spiht for linux this is used to decod and encode vedio i wich all enjoy
💻 3
字号:
.TH QCCVECTORGETSYMBOLPROBS 3 "QCCPACK" "".SH NAMEQccVectorGetSymbolProbs \- calculate probabilities of a list of symbols.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccVectorGetSymbolProbs(const int *" symbol_list ", int " symbol_list_length ", QccVector " probs ", int " num_symbols );.SH DESCRIPTION.B QccVectorGetSymbolProbs()accepts a list of symbols, counts the number of times eachsymbol occurs in the list, and returns a list of probabilitiesbased on the observed occurrences of the symbol values in the list..LPMore specifically,.I symbol_listis the list of symbol values,.I symbol_list_lengthis the length of the symbol list,.I probsis the list of probabilities returned,and.I num_symbolsis the length of the probability list (one probability for each possible symbol).Each symbol in.I symbol_listmust be an.B intin the range of 0 to.I num_symbols- 1.Suppose that .I symbolis a symbol in the range 0 to.I num_symbols- 1;.B QccVectorGetSymbolProbs()counts the number of occurrences of.I symbolin .IR symbol_list .The probability of .IR symbol ,which is returned in.IR probs [ symbol ]is calculated as.RI count( symbol ") / " symbol_list_length ..LPThe returned list of probabilities,.IR probs ,is a valid probability density it that in sums to 1.0..SH "SEE ALSO".BR QccPack (3).SH AUTHORCopyright (C) 1997-2009  James E. Fowler.\"  The programs herein are free software; you can redistribute them an.or.\"  modify them under the terms of the GNU General Public License.\"  as published by the Free Software Foundation; either version 2.\"  of the License, or (at your option) any later version..\"  .\"  These programs are distributed in the hope that they will be useful,.\"  but WITHOUT ANY WARRANTY; without even the implied warranty of.\"  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\"  GNU General Public License for more details..\"  .\"  You should have received a copy of the GNU General Public License.\"  along with these programs; if not, write to the Free Software.\"  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -