id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
20198 `LinearCode(C)` for some code `C` should construct a code Johan Rosenkilde "With the recent sub-classing framework for linear codes, it is now often useful to recast a code from some family as a generic linear code, thus forgetting its structure, e.g.
{{{
sage: C = codes.GeneralizedReedSolomonCode(GF(23).list(), 12)
sage: Chan = channels.StaticErrorRateChannel(GF(23)^7, 2)
sage: %timeit C.decode(Chan(C.random_element()))
sage: C_dumb = LinearCode(C)
sage: %timeit C_dumb.decode(Chan(C_dumb.random_element()))
}}}
Except the above code doesn't work, since `LinearCode` expects a matrix, and can't understand a code as input.
" enhancement closed major sage-7.1 coding theory fixed linear code, beginner David Lucas Charles Prior Johan Sebastian Rosenkilde Nielsen N/A 6162d956dff16a29fa9a57fe28329473a8e1c706 6162d956dff16a29fa9a57fe28329473a8e1c706