Quantcast

Diagonal matrix

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Diagonal matrix

SergeStinckwich
Is there a simple way to build a diagonal matrix with DhbMatrix like
we can do with Pharo Matrix ?

Matrix diagonal: #(1 2 3)

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Uko
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Diagonal matrix

Uko
While we are talking about this, I’d enjoy having Polymath data structures polymorphic with the Pharo ones. Because once I was working with Polymath and it was really complicated to always convert between the data structures.

Uko

> On 6 Dec 2016, at 10:48, Serge Stinckwich <[hidden email]> wrote:
>
> Is there a simple way to build a diagonal matrix with DhbMatrix like
> we can do with Pharo Matrix ?
>
> Matrix diagonal: #(1 2 3)
>
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
>
> --
> You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Diagonal matrix

SergeStinckwich
On Tue, Dec 6, 2016 at 10:51 AM, Yuriy Tymchuk <[hidden email]> wrote:
> While we are talking about this, I’d enjoy having Polymath data structures polymorphic with the Pharo ones. Because once I was working with Polymath and it was really complicated to always convert between the data structures.

Yes you are right ! This is a long term goal ;-)
I add an issue in order to remember :
https://github.com/PolyMathOrg/PolyMath/issues/17
You can complete this issue with a more complete plan to move in this direction.

We still have to finish the classes names rewriting in order to have a
more uniform naming. Move from Dhb to PM (PolyMath).
I guess we will have to discuss about having a basic common interface
between Matrix and DhbMatrix.

--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/

--
You received this message because you are subscribed to the Google Groups "SciSmalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...