Relationships between CCZ and EA equivalence classes and corresponding code invariants