Re: [fricas-devel] ARRAY2 enhanced

2019-11-23 Thread Waldek Hebisch
Dear Johannes, thanks for the code. I think that 'array2' constructor is fine addition. Concerning 'arrayMultiply', I agree with Ralf and Bill that this does not fit very well to existing structure. Probably best way would be to allow more general matrices and have '+' in Matrix whenever

Re: [fricas-devel] ARRAY2 enhanced

2019-11-13 Thread Ralf Hemmecke
>> Why I would be against this extension is that TwoDimensionaArray >> is a data structure domain, i.e., no algebraic operations. >> >> Your operations should live in an "algebraic" domain. But even >> then I see problems, because + and * will be partial functions >> (much as in Matrix(Matrix

Re: [fricas-devel] ARRAY2 enhanced

2019-11-12 Thread Prof. Dr. Johannes Grabmeier FW
Am 11.11.19 um 22:53 schrieb Ralf Hemmecke: > On 11/4/19 11:24 PM, Prof. Dr. Johannes Grabmeier privat wrote: >> Hi all, >> I have enhanved TwoDimensionalArray to include arithmetic for block >> matrices and have an operation array2 (similar to matrix for Matrix) for >> easy creation of

Re: [fricas-devel] ARRAY2 enhanced

2019-11-11 Thread Bill Page
On Mon, Nov 11, 2019 at 4:53 PM Ralf Hemmecke wrote: > > On 11/4/19 11:24 PM, Prof. Dr. Johannes Grabmeier privat wrote: > > Hi all, > > I have enhanved TwoDimensionalArray to include arithmetic for block > > matrices and have an operation array2 (similar to matrix for Matrix) for > > easy

Re: [fricas-devel] ARRAY2 enhanced

2019-11-11 Thread Ralf Hemmecke
On 11/4/19 11:24 PM, Prof. Dr. Johannes Grabmeier privat wrote: > Hi all, > I have enhanved TwoDimensionalArray to include arithmetic for block > matrices and have an operation array2 (similar to matrix for Matrix) for > easy creation of two-dimensional array and would suggest to include this >

[fricas-devel] ARRAY2 enhanced

2019-11-04 Thread Prof. Dr. Johannes Grabmeier privat
Hi all, I have enhanved TwoDimensionalArray to include arithmetic for block matrices and have an operation array2 (similar to matrix for Matrix) for easy creation of two-dimensional array and would suggest to include this into the next version: (1) -> )r array2-jg-test A11 := matrix [[2]]