Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Large memory consumption by the basis of the ambient space
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Feulner  
View profile  
 More options Aug 30 2012, 3:23 am
From: Thomas Feulner <thomas.feul...@uni-bayreuth.de>
Date: Thu, 30 Aug 2012 00:23:28 -0700 (PDT)
Local: Thurs, Aug 30 2012 3:23 am
Subject: Large memory consumption by the basis of the ambient space

Hi,

I am working on linear codes and I observed a high memory consumption when
constructing codes of large length. I figured out that this problem already
appears in the construction of vector spaces:

sage: F.<a> = GF(4)
sage: M = MatrixSpace(F, 8, 10000).random_element()
sage: V = VectorSpace(F, M.ncols())
sage: V.__dict__.keys()
['__reduce_ex__', '_element_class', '_gram_matrix',
'_FreeModule_generic__rank', '_FreeModule_generic__is_sparse',
'_FreeModule_generic__degree',
'_FreeModule_generic__uses_ambient_inner_product']
sage: V.subspace(M)
Vector space of degree 10000 and dimension 8 over Finite Field in a of size
2^2
Basis matrix:
8 x 10000 dense matrix over Finite Field in a of size 2^2
sage: V.__dict__.keys()
['__reduce_ex__', '_element_class', '_gram_matrix',
'_FreeModule_generic__rank', '_FreeModule_generic__is_sparse',
'_FreeModule_generic__degree', '_FreeModule_ambient__basis',
'_FreeModule_generic__uses_ambient_inner_product']

As you can see, the construction of the subspace adds a basis to V ==> sage
stores 10000 dense vectors of length 10000!

Doing the same construction over other fields, say F=QQ, does not show this
behavior. Is there any
solution in sight for this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Feulner  
View profile  
 More options Aug 30 2012, 4:38 am
From: Thomas Feulner <thomas.feul...@uni-bayreuth.de>
Date: Thu, 30 Aug 2012 01:38:47 -0700 (PDT)
Local: Thurs, Aug 30 2012 4:38 am
Subject: Re: Large memory consumption by the basis of the ambient space

An update:

The ticket  
http://trac.sagemath.org/sage_trac/ticket/13304
does not solve this problem.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »