Dear Nafise, Your question is a python related question. You can find the answer in any python documentation or forum. So please, make an effort and search around you or by a quick check on internet before posting a question in the kwant forum. In fact, posting non kwant related questions in this forum, makes it a general forum rather than a specialized one.
So for your question if A is a matrix, the elements are A[i,j]. Example A=array([[1,2],[3,4]]) gives A[0,0]=1. I hope this helps, Ade On Sat, Dec 7, 2019 at 8:26 AM Nafise Nouri <nafise.n...@gmail.com> wrote: > Dear all, > > Is there any one to know how we can use one element of matrix? For example > we have matrix A as follows: > > A=[2 4;6,0] > > We have A matrix with dimension 2*2. If we want to use one element of > matrix such as A(2,1), (that is number 6 in the matrix), How we can write > in kwant? Any help appreciate. > > Best, > Nafise > -- Abbout Adel