Ask Your Question

TWJ's profile - activity

2023-05-27 13:16:27 +0200 received badge  Famous Question (source)
2021-05-03 20:02:22 +0200 received badge  Notable Question (source)
2020-01-08 12:41:41 +0200 received badge  Popular Question (source)
2019-06-03 14:43:59 +0200 received badge  Supporter (source)
2019-06-03 14:43:46 +0200 commented answer update a value entry following some rule

thank you very much @selelivere

2019-05-27 10:32:31 +0200 received badge  Student (source)
2019-05-25 09:15:17 +0200 asked a question update a value entry following some rule

i have a vector $(x_1, \dots,x_n)$ where $x_i$ belongs to some set $E$ how can i assign randomly a letter $a,b,c$ to each vector than update it following some rule these vector ?

Example $E={ x_1, x_2,x_3 }$

$(x_1, x_2,x_3)=a$

$(x_2,x_3,x_1)=a$

$(x_3,x_1,x_2)=c$

$(x_3,x_2,x_1)=whatever$

$(x_1,x_1,x_1)=whatevre$ etc...

i have a rule that if $(x_1, x_2,x_3)=a$ and $(x_2,x_3,x_1)=a$ then $(x_3,x_1,x_2)$ must be equal to $a$

2018-05-10 13:31:13 +0200 commented answer convert a cyclic code $C$ of length $n$ over a field $\mathbb{F}_{q^m}$ to a code $D$ of length $mn$ over $\mathbb{F_q}$

thank you sir although i still trying to understand what the last loop dose , i have tow observation

the lifted of the generator matrix of a code isn't always the generator matrix of the lifted code. for example the code $C=(0,0)(1,\alpha)(\alpha,\alpha+1)(\alpha+1,1)$ is generated by $(1,\alpha)$ " a 1*1 matrix by the lifted code $D=(0,0,0,0)(1,0,0,1)(0,1,1,1)(1,1,1,0)$ is not generated by $(1,0,0,1)$ the lift of $(1,\alpha)$

my second observation is that $C$ and $D$ should have the same cardinal since we are replacing every codeword by a codeword with twice it length

however, i believe i can use the function get_lift() that you defined and apply it t every codeword in $C$ and store the result somehow in $D$ .

i again ... (more)

2018-05-09 12:35:02 +0200 commented question convert a cyclic code $C$ of length $n$ over a field $\mathbb{F}_{q^m}$ to a code $D$ of length $mn$ over $\mathbb{F_q}$

thank for your respond . this is the smallest non trivial example i cam with C is a BCH code over GF(4) `K.= GF(4);

R.<x>=K[]; V=x^3+x^2+a*x+a+1; V.is_primitive(); #yes L. = K.extension(V); g=1 #juse inisialzation for i in [1..28]: #the biggest delta(=28 here) the biggest g ==> the smallest our code c=b^(i) g=lcm(g,c.minpoly()) C = codes.CyclicCode(generator_pol = g, length = 63) C;`
2018-05-08 19:24:06 +0200 received badge  Scholar (source)
2018-05-08 19:17:21 +0200 asked a question convert a cyclic code $C$ of length $n$ over a field $\mathbb{F}_{q^m}$ to a code $D$ of length $mn$ over $\mathbb{F_q}$

say i have a cyclic code $C$ of length $n$ over a field $\mathbb{F}_{q^m}$ . is it possible to have construct a code $D$ of length $mn$ over $\mathbb{F_q}$

it's mathematically possible since $\mathbb{F}_{q^m}$ is a vector space of degree $m$ over $\mathbb{F}_q$

but i didn't find how to-do it in sage

thanks in advance

2018-03-19 14:08:58 +0200 commented question (how/can) i declair this isomorphism

https://rua.ua.es/dspace/bitstream/10045/27320/1/Tesis_Diaz_Cardell.pdf (link text) can you please check Theorem 3.3 in page 51

2018-03-17 08:32:52 +0200 received badge  Editor (source)
2018-03-17 00:53:34 +0200 asked a question (how/can) i declair this isomorphism

Hi,

let $U$ be a square matrix of order $m$ over $\mathbb F_{q}$, more precisely $U$ is the companion matrix of a monic irreducible polynomial over $\mathbb F_{q}$ that define $\mathbb F_{q^m}$ .

let $\alpha$ be a primitive element of $\mathbb F_{q^m}$

I wish to declare this morphism to compute some examples with SAGEMATH

$\psi$: $\mathbb F_{q^m}$ $\rightarrow$ $\mathbb{F}_{q}[U]$

$\alpha$ $\mapsto$ $\psi(\alpha)=U$

thanks in advance;

2018-03-15 13:30:36 +0200 commented question (how/can) i declair this isomorphism

i apologize for the formatting , ididn't know that LaTeX won't compile

as concern the matrix U is defined over 𝔽q in fact it's the companion matrix of the irreducible polynomial that we used to construct 𝔽qm so if α is a primitive element of 𝔽qm ψ(α)=U ψ(α²)=U² etc,,,

2018-03-08 08:55:14 +0200 asked a question (how/can) i declair this isomorphism

Hi, let $U$ be a squar matrix of order $m$ , I wish to declair this morphismes to compute some examples with SAGEMATH

{\begin{tabular}{ccc} $\psi: \mathbb{F}_{q^m}$ & $\rightarrow$ & $\mathbb{F}_{q}[U]$ \ $\alpha$ & $\mapsto$ & $\psi(\alpha)=U $\ \end{tabular} }

and this one

{\begin{tabular}{ccc} $\Psi: \mathcal{M}(\mathbb{F}_{q^m})$ & $\rightarrow$ & $\mathcal{M}(\mathbb{F}_{q}[U])$ \ $\mathcal{A}=[a_{i,j}]$ & $\mapsto$ & $\Psi(\mathcal{A})=[\psi(a_{i,j})] $\ \end{tabular} }