# Diagonal matrix

3 messages
Open this post in threaded view
|

## Diagonal matrix

 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.
Open this post in threaded view
|

## Re: Diagonal matrix

 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.
Open this post in threaded view
|

## Re: Diagonal matrix

 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/17You 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.