Re: Matrix rotation

2015-05-08 Thread Norbert X
Dear Arghya Das! I think you can start learning matrixes with more high-level language - for example Scilab or Octave. Then you can switch to low-level languages - C/C++ (with Boost library) or Fortran. With best regards, Norbert. P.S. Of course this problem is out of topic. I recommend you

Re: Matrix rotation

2015-05-08 Thread real bas
I guess you can use the operator % to index the columns. Look, if the vector column is [A, B, C] address by [0, 1, 2], u can use index i+1%3. The vector[2] goes to vector[0], vector[0] to vector[1] and vector [1] to vector[2] automatically. 2015-05-08 18:32 GMT-04:00 Paul Anzel : > Are you trying

Re: Matrix rotation

2015-05-08 Thread Paul Anzel
Are you trying to cyclically permute the columns of a matrix? So for a 3x3 matrix of columns [A, B, C] you want [C, A, B]? Then you'd right multiply (X_new = X*M) by a matrix M = [0, 1, 0] [0, 0, 1] [1, 0, 0] (generalizing to higher dimensions is trivial). And yes, this is not a particularly debia

Re: Memory usage Debian Jessie (stable)

2015-05-08 Thread real bas
It is eally, no matter the installation mode. Thanks for suggest htop. Using htop and iceweasel with 1 tab, I'm using 1.3 GB RAM (and 5 MB swap used), I don't install any programs or startup any program after install debian 8. 2015-05-08 15:31 GMT-04:00 Bob Proulx : > Eric S Fraga wrote: > > real

Re: Matrix rotation

2015-05-08 Thread giulianc51
Il giorno Sat, 9 May 2015 01:21:44 +0530 Arghya Das ha scritto: Hi Arghya, (sorry for my bad english) > Does anyone know how to rotate a 2d matrix circularly for 'n' times in > suppose C language...? It would be a lot of help if you could explain > with code. I don't understand your expression

Re: Circulant matrix

2015-05-08 Thread Eric S Fraga
On Saturday, 9 May 2015 at 01:17, Arghya Das wrote: > This is a programming question : Does anyone know how to rotate a 2d > matrix circularly for 'n' times in suppose C language...? It would be a lot > of help if you could explain with code. > > Hint : each row vector needs to be rotated one ele

Re: Circulant matrix

2015-05-08 Thread Jan-Rens Reitsma
On 05/08/2015 09:47 PM, Arghya Das wrote: This is a programming question : Does anyone know how to rotate a 2d matrix circularly for 'n' times in suppose C language...? It would be a lot of help if you could explain with code. Hint : each row vector needs to be rotated one element to the right

Matrix rotation

2015-05-08 Thread Arghya Das
Does anyone know how to rotate a 2d matrix circularly for 'n' times in suppose C language...? It would be a lot of help if you could explain with code. Hint : Each time each row vector needs to be rotated one element to the right relative to the preceding row vector.

Circulant matrix

2015-05-08 Thread Arghya Das
This is a programming question : Does anyone know how to rotate a 2d matrix circularly for 'n' times in suppose C language...? It would be a lot of help if you could explain with code. Hint : each row vector needs to be rotated one element to the right relative to the preceding row vector.

Re: Memory usage Debian Jessie (stable)

2015-05-08 Thread Bob Proulx
Eric S Fraga wrote: > real bas wrote: > > It's early to talk about but the memory usage it's too much (3.5 GB RAM) > > with Debian Jessie. I using ISO (cd-1) of debian.org and have this problem. It does not matter that you installed from CD#1 or by another method such as DVD or network installatio

Re: Memory usage Debian Jessie (stable)

2015-05-08 Thread Jan-Rens Reitsma
On 05/08/2015 01:45 AM, real bas wrote: Hi guys, It's early to talk about but the memory usage it's too much (3.5 GB RAM) with Debian Jessie. I using ISO (cd-1) of debian.org and have this problem. 32 bit or 64 bit version? For amd64 jessie and 4 GB memory: $ uname -r 3.16

Re: Memory usage Debian Jessie (stable)

2015-05-08 Thread Eric S Fraga
On Thursday, 7 May 2015 at 19:45, real bas wrote: > Hi guys, > It's early to talk about but the memory usage it's too much (3.5 GB RAM) > with Debian Jessie. I using ISO (cd-1) of debian.org and have this problem. What does this include? I find that, with an 8GB system, most will be used but mos