Bill Allombert on Thu, 18 Jan 2024 11:16:30 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Bizarre semantic of Mat
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Bizarre semantic of Mat
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Thu, 18 Jan 2024 11:16:03 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1705572967; c=relaxed/relaxed; bh=ZMb14tyIh0jXwN//Seu0onML83UWxQCd27PC89IRSf4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=QPYoWeSQK/0WFZk8RuoIQxkkXSuWBNGUJTajwLyhsq++O/yxtgdGB1BOaXNz79/Nex/KOCV6ufBvAXmVNmaO3Ry+TVQG2GPjMeiRfl5BjR5ePVnLPMNj85OgvNSUM2X/Cx2RIHi6S53h17RvClOYerBkgulJlACaSPRyz+PzJXlXuHKGCfHo3zZI1RyHjAM+rpPgiMNTEdylX4YuhJYPV3Yit7mKYSLZg3O9N44K9+LVDWElY4jEosRRbs/Gv8ND1UL4Ooob5TnqYLr0NSb54Ogwh3GQVhp9hM+W1TOYessUobLUAw+ct8wd+1TnQPASFoGglmgt2rUGB1XMQOIkoRDMk3ojkXZZDZuOmsQ0GJ/kZ3NMhuxdtv9+tf2BVhVr0IyeJ/GpzoD5LuJr8g2N+mEmTBIB71Y+fS1i234feBF5Cd/UZQ+0/q6z9fifZftpheV8uXSa+iiYNvhgySV4mlcx++0rjFzEd/0PN601ocDD36NnRm1tKbpVyJ3zFO74EMcyYkC4Cxxe8qf1YYv9xJovhM648l0nRuCfGQUSuI96j0KiFxo5UQHgkPqR+waSR+TqEr4lHTyOxVQif8KHrMI9kxkOJM5h7iTM9PEvLXhTSoLbgCkhp69162aI2vfGl0HltIcOgZfzi9V9RkN9CWNAoHLVEkV5UVIjyDYyPsw=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1705572967; cv=none; b=K9c0m3L6L26GxYh/UGetDa8cxYNTnW2tjebAoaUSd6bhas+vJX94NP6cEkEGJ3pNRYKLGWlLj5IHppCcRqc+Gq4WNOr9sRrIaNmSLrtZeFS3ljiI1VjoERaIIEhX3v7TS8MZcM+Ibnx4WtJE1Wm4fI8+++guUguDfyjvPtfUX0eIF5ydzdAFPzVeNPe7DMmrGHHTlSd2DFrTfpMFiL/5TR9vjnTNtEcc0EgKv/XPVVR2gIv1lpMxe5f4ZzWFYcssDcRFBsG8jTsstBvwmFe6Sbe5zMuaZ0UycBHTWrXBHfIAISMyEJ48Ftp5NMydI5L2p5uHS/2b8UGeevEIwL4GKWYtlRa25ca8mjj+luEXOjCcVAcGvLzDtDoHyoPX+1XQ6EC3nExc5bKVcuLcUHpVcOpGNWpkvXeB/6utH+eY/S7BSYkottChY+ZFIKjGBIJomK7SX52PFWN1AaBrdEDRVTpoV6XuWyv9DDDfzn6MFGhL5g3OgTpocDgefDaJ6CodFVYC80e58hIPY+JzEccxgBT12Crx89ELZ8xHlom83JiRZq5cusc0O3F2Y/W0xoYWAbEDB/U45KifHT6dizZb4vWYTRYjWvToDaZfFtu/5JEgEG10n1+HTVqhzaA6RtiK7ywrmEgjL/NozfKEvcPD05AHT9fJC2AixSgHMUh9Rz0=
- Authentication-results: smail; arc=none
- Delivery-date: Thu, 18 Jan 2024 11:16:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1705572967; bh=ZMb14tyIh0jXwN//Seu0onML83UWxQCd27PC89IRSf4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Kpsru5StUj5HPBxlw1Z0/rt02qwoI0iAj2d6nsQGGEN7h+3Av2gxTAmWzbYj3IYCr ARu2+29knWR/lOe8ra57Y0IFjKuy6Ze0+SI+v00Btcat3neMTsNQimu6pUZs9OGosB eaWGq2in15tBbO2nQejmXexw40QoDR5o7IUDTfplXleg1AJEg+UYhufGCbwPtlsIDz oG42sLbCj8zL/jhodKWJlM4F5nrK+9oWFcAXpFqtQ56srviubMC13J5u7HFL0rKj7/ 3Y+mz0R/+FoPWasClI/q74An3O3fbv3w9sS+lFoqjbCGkg3/JCt3DOEI/3qmKGBye/ vypfaqqxqKo34pWzhJ1ouPIcd0MlClFcIs+gnFkgrWm2f7GBJCqD5YIu1pqmcOiRFb JUDQnr1QhE+7J/kwee7bKDBCOR5fCwG7gpoJfh60yf6v7TJB+Wb8JaIssp1T12GMp9 dPasw24qm8O3Hy6mEZKftzxTa6Q2JSpEH+4SD3boAhm/uy/P9AQX+RC4vCIfv0cnGA 7PWTNQERfgyeZHH2g+IsTNifWe83CbG9T1W3x4ntCSAsMhQ7cTgQ9Pv/JolTMTI8In +bs2Fyw1Ce9gAKqe824Mo6x4VTjC3sJUR2qGOUafy0VXWKz2rJEyEuadUzhqwd76Pr ii38B3qAYKgO8OBpsUArJ514=
- In-reply-to: <ZajRA9vamS6wSeb8@login.math.berkeley.edu>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <Zac9RC1aAbmXah4O@login.math.berkeley.edu> <Zaesi6j6i5RrA+VD@seventeen> <ZajRA9vamS6wSeb8@login.math.berkeley.edu>
On Wed, Jan 17, 2024 at 11:19:31PM -0800, Ilya Zakharevich wrote:
> On Wed, Jan 17, 2024 at 11:31:39AM +0100, Bill Allombert wrote:
> > > Is there a simple way to convert a vector-column into a 1 column
> > > matrix (without using matrix())? Mat() is almost there — except for
> > > bizarre special-cases — which are impossible to switch off!
> >
> > There is a trick:
> >
> > ? V=[[1]~,[2]~,[3]~]
> > %28 = [[1]~,[2]~,[3]~]
> > ? Mat(V~)~
> > %29 = Mat([[1]~,[2]~,[3]~])
>
> Hmm? It seems that this is “another ‘cute special case’” — which
> requires PRIOR KNOWLEDGE about the nature of elements of the vector.
> Does not it?
This was implemented before matconcat. Nowadays, it might be
clearer to use matconcat.
Cheers,
Bill.