MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to construct symmetric matrix from just a one half

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110410] Re: How to construct symmetric matrix from just a one half
  • From: Srikanth K S <sriperso at gmail.com>
  • Date: Wed, 16 Jun 2010 05:43:06 -0400 (EDT)

*Sorry, that seems like a mistake!
*---


2010/6/15 Srikanth K S <sriperso at gmail.com>

> *Here is a way, but there could be other elegant ways than this!
>
> *In[8]:== mat1=={{1,0,0,0},{2,3,0,0},{4,9,5,0},{2,2,3,4}};
> In[12]:== Union@@@MapThread[List,{mat1,MapThread[List,mat1]}]
> Out[12]== {{0,1,2,4},{0,2,3,9},{0,3,4,5,9},{0,2,3,4}}*
> *---
>
>
> 2010/6/15 dragec <culinovic at gmail.com>
>
> 1  0  0  0
>> 2  3  0  0
>> 4  9  5  0
>> 2  2  3  4
>>
>
>


  • Prev by Date: Re: using rules for square roots
  • Next by Date: Re: How to construct symmetric matrix from just a one half matrix
  • Previous by thread: Re: How to construct symmetric matrix from just a one half
  • Next by thread: Re: How to construct symmetric matrix from just a one half