Patent Document ID: 9124301
Application ID: 13846538

Base Claim:
1. A method of providing error correction, the method comprising: computing a first check code for first data, wherein the first check code corresponds to a first matrix multiplication of the first data and a matrix; selectively inverting bits of the first check code to generate a second check code according to an inversion pattern, wherein the inversion pattern corresponds to a second matrix multiplication of an initial data comprising erased states and the matrix; and programming the first data and the second check code to a plurality of data storage cells.

---

Claim 6:
6. The method of claim 1 , wherein the inversion pattern comprises a plurality of bits having a first state or a second state, wherein selectively inverting comprises inverting bits of the first check code corresponding to bit positions of the inversion pattern having the first state and not inverting bit positions corresponding to the second state.