FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » Symbolic
Create subspace from Basis : Maple
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Stein Arild Str ømme
science forum beginner


Joined: 16 Aug 2005
Posts: 2

PostPosted: Fri May 26, 2006 1:16 pm    Post subject: Re: Create subspace from Basis : Maple Reply with quote

[Julian V. Noble]

| matrix wrote:
| > Hi,
| > I have the Basis vectors of a subspace. How can I form the whole
| > subspace (all possible linear combinations) from these basis vectors in
| > Maple ? I use symbolic computations mod 2. Regards, Narayanan Iyer
| >
|
| How can you possibly find all linear combinations in ANY program?
| There is an uncountable infinity of them! Having the basis is the
| same as having the subspace. The most you might do is orthogonalize
| them, to be sure they are all linearly independent.

Perhaps the OP has a finite field in mind.

SA
--
Stein Arild Strømme +47 55584825, +47 95801887
Universitetet i Bergen Fax: +47 55589672
Matematisk institutt www.mi.uib.no/stromme/
Johs Brunsg 12, N-5008 BERGEN stromme@mi.uib.no
Back to top
Robert B. Israel
science forum Guru


Joined: 24 Mar 2005
Posts: 2151

PostPosted: Thu May 25, 2006 10:17 pm    Post subject: Re: Create subspace from Basis : Maple Reply with quote

In article <1148567059.226496.293590@u72g2000cwu.googlegroups.com>,
matrix <iyerns@gmail.com> wrote:
Quote:
Hi,
I have the Basis vectors of a subspace. How can I form the whole
subspace (all possible linear combinations) from these basis vectors in
Maple ?

I use symbolic computations mod 2.

If your field is Z_2 (i.e. the integers mod 2), and the "vectors" are
implemented as lists or Vectors, then the span of a set of vectors V
can be obtained as follows:

Quote:
T:= combinat[cartprod]([seq]([0,1],i=V);
n:= nops(V);

makevec:= proc(L) add(L[i]*V[i],i=1..n); % mod 2 end;
{seq}(makevec(T[nextvalue]()), i=1..2^n);

Note: if the set is not necessarily linearly independent, it's
better using lists here rather than Maple's Vectors,
because duplicate lists are automatically removed from a set, while
duplicate Vectors are not. Of course you can easily convert from
lists to Vectors or vice versa.

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada
Back to top
Julian V. Noble
science forum Guru Wannabe


Joined: 03 May 2005
Posts: 148

PostPosted: Thu May 25, 2006 6:12 pm    Post subject: Re: Create subspace from Basis : Maple Reply with quote

matrix wrote:
Quote:
Hi,
I have the Basis vectors of a subspace. How can I form the whole
subspace (all possible linear combinations) from these basis vectors in
Maple ?

I use symbolic computations mod 2.

Regards,
Narayanan Iyer


How can you possibly find all linear combinations in ANY program?
There is an uncountable infinity of them! Having the basis is the
same as having the subspace. The most you might do is orthogonalize
them, to be sure they are all linearly independent.

--
Julian V. Noble
Professor Emeritus of Physics
University of Virginia
Back to top
matrix
science forum beginner


Joined: 29 Dec 2005
Posts: 3

PostPosted: Thu May 25, 2006 2:24 pm    Post subject: Create subspace from Basis : Maple Reply with quote

Hi,
I have the Basis vectors of a subspace. How can I form the whole
subspace (all possible linear combinations) from these basis vectors in
Maple ?

I use symbolic computations mod 2.

Regards,
Narayanan Iyer
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Tue Jul 25, 2017 6:51 am | All times are GMT
Forum index » Science and Technology » Math » Symbolic
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts A genetic basis for the behaviour of "hatred"; a new theo... a_plutonium@hotmail.com Chem 2 Wed Jul 19, 2006 8:44 pm
No new posts Best fit orthogonal basis for list of vectors chengiz@my-deja.com num-analysis 4 Wed Jul 19, 2006 6:16 pm
No new posts Determination of Vertices of a Subspace The Ghost In The Machine1 Math 2 Sun Jul 16, 2006 4:00 pm
No new posts Purchase a copy of Maple 10 Vladimir Bondarenko Math 0 Sun Jul 16, 2006 6:58 am
No new posts How can you create a lot of bubbles in the ocean? ian_m_bloom@yahoo.com Chem 6 Thu Jul 13, 2006 8:58 pm

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums  |  send newsletters
 


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0256s ][ Queries: 20 (0.0099s) ][ GZIP on - Debug on ]