Under the condition $n \ge 2d$, we establish an explicit formula for the number of equivalence classes of ternary LCD $[n,2,d]$ codes with dual distances at least $2$, in terms of $d$. Under the same condition, we also derive a corresponding formula for quaternary Hermitian LCD $[n, 2,d]$ codes with Hermitian dual distances at least $2$.
翻译:暂无翻译