dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20730
Re: Matrix initialization broken in Python?
-
To:
dolfin@xxxxxxxxxxxxxxxxxxx
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Mon, 17 Jan 2011 16:30:23 +0000
-
In-reply-to:
<20110117162759.GO16481@eowyn>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
On 17/01/11 16:28, Anders Logg wrote:
> The following doesn't seem to work in Python any longer:
>
> A = Matrix(10, 10)
>
> Is matrix initialization broken?
>
Probably not broken - more like
A = Matrix(10, 10)
is not supported. Since a Matrix is in general sparse, it doesn't make
sense to initialise it as above (some backends even insist on the
sparsity being defined at construction).
Garth
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References