Tuesday, 20 August 2013

Matrices - memory

Matrices - memory

Guys i have a question
Lets say that i have a matrix A=[]; i want to know if there is any way to
represent it in a way where only the filled blocks must occupy memory and
remaining must not Ex : A = 1 0 0 0 1 0 0 0 1 now every block would take
1-bit of memory to store the matrix hence i would like to know is it
possible to store matrix as A = 1
1 1 and the empty spaces must not occupy any memory at all , is there any
file format to represent a matrix in such a way ?
Thanks in advance.

No comments:

Post a Comment