Overwrite of encode for punctured codes

Issue #128 resolved
David Lucas repo owner created an issue

I added an extra argument, called original_encode to punctured codes' encode method. It defaults to False, and if set to True, it will encode the provided message using the encoder specified in encoder_name field over the original_code.

With this, I thinks it allows the user to avoid punctured code's generator_matrix computation if he/she doesn't want to compute it, and also allows easy use of punctured code's encoders.

Do you agree with this design?

Comments (1)

  1. Log in to comment