PageRenderTime 61ms CodeModel.GetById 47ms app.highlight 2ms RepoModel.GetById 8ms app.codeStats 3ms

/drm/trunk/debug/mm/ml/ml_rs_model_xxbm_new/src/gpow.m

http://github.com/zaqwes8811/decoder-reed-solomon
Objective C | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 44ec5f45877b11f35a00e3b128672ef3 MD5 | raw file
 1 
 2function iPow = gpow(a, ipow, unicalc)
 3	% ???????????	
 4	%index_of = unicalc{1,1};
 5	%alpha_to = unicalc{1,2};
 6	%GF = unicalc{1,3};
 7	iTmp = mod((unicalc{1,1}(a)-1)*ipow,unicalc{1,3}-1);
 8	iPow = unicalc{1,2}(iTmp+1);
 9% endfunction
10