Bill Allombert on Tue, 12 Mar 2024 23:56:52 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Avoid using "listput()" if possible?
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Avoid using "listput()" if possible?
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Tue, 12 Mar 2024 23:56:47 +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=1710284208; c=relaxed/relaxed; bh=kmL4E5FuxrpM+xl7mA9h0lpQsqjgpk3my/OvIS8VIF0=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=AMtl1Co6y2dRwY31L4JbCCthMiSajmy/pdhMOVRzptZqjCDnmny1WjyZrYsdG7Nmq6LkyTJhPlKoaVpIYQq/QNSRGcADmd5dz0KbZZ8IUI0de3eoselJh5AhS7hRJydo8HZ2MKZ8IxI6Q+Cn7kL0/J4eGQn0Ib/xu6vP/U7rGmuOWZlIYnirkSsiMom7jvm3tBnZQNB+5MhHw0R9bITQDkKkKgxoJSzycWgPxcKsfrAgUcwwqnzi/VDc4+MlEuOCNMtAcUoh+JZEcnukfOFRtS37hNcrmx9KycuuSACh5WOgPEOFz1l3QHojqbBKZqf2nBBgz5ocbB+srtlGt0e61Pjtt4tRriluIRqtTKjM/9h9k8t9jhASwEXgp88fdLd3MAolw0w3BZJelHBBqfBBNhGrYmoRJAT/QYloz1ILJTBcXocHsXEgKZ9zWeqBX1ntKB5Pq4nWMhYspXU5BYKY1vT9QkP8w73nKfTyzb5pvTzsenyOMvTf3eNIl5RvTLIhmqd0mZXQE55l77RPRBNO8u315KEPyWjBHq09x31w+uvTZsUbD6yXrhr8g/VVVm+y/o6WtaNuea49yBrTd/cWc1vl/NzRrcVcHt1EpjJisvs8qsBn35aUyCXN0hThTiqu3AoOtk7oFQIf0w84qmZvT3JHjKpazMlZixnoXqre4GM=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1710284208; cv=none; b=cwIasuejWJ3gyKW0CcG/D44y20MkNJXAgMDb1JNfxoB9HdTTrOUYp9lDRz+/akHxkavPpb+Z7AXeZ7rOLEQ69vKkFnRhlE3SH/YVRjEmvVRhbmlwaLBnKksdFeA8clZQzowLcPhvT3VpxmaTMPTlR0LBIIzGeEpL+dMPe8GCf2quK4ViveHQGBMA6DcBG9YEOywxg3A6aEqhnSikkDxNscuOWT3/ztzccjvsSyXZvs5tMd+OWwGICgwxPJMsr4mMU+BSoOGTpEZzsEueq31xxEyNsD2EBO7JVYmeH2mIjTPZckURgwssahx4ge1YN/L8k2+287sCUqXivPTHbiFe7RlZ+iGmoo88RfpsNfX0IsbZsAra8gQy+ww134NwcpyNCBQpzl4hXXWbtZbt9171N1Tnk/x++6tqpR+Pefw2SxqitlA5qvCV1lUVujUrUvLnvd/BMZZUU/MYoFDFQMK26DITJCndzF4KM4GZKA+L5ZegbvivrFWSJPGLun74WsBIxpx4jmbqjr5+u9wwYfAi06lvacmrgIlTrHtfCvAnhAjPcPmqGPNRGfJ0DABuVRK/cvTaFjvTgJQphzBjYNr7F0tWJjtGvkxaQQ6qXixOtakaQ54xWN2r8u+4MaE98tV9yqlepB6rLO4icQsp0c/LaHrMXBcVMFlfxBNK45sFQD8=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Tue, 12 Mar 2024 23:56:52 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1710284208; bh=kmL4E5FuxrpM+xl7mA9h0lpQsqjgpk3my/OvIS8VIF0=; h=Date:From:To:Subject:References:In-Reply-To:From; b=PcXeGqEbCnEnzt72TFrzrOtIj4HKAt9W1p4mFv1HVT6rREpOWxSm3aFmx5m/q8+RE sljXHXZEvyUPys04UrSdBk/T1WNAo8ZLNdSU2kU2y+gN9XiSkOpM+GYRZmZEEDYHCs GW96fyHc1QcudfgQaEEXMlg2+I4+fxcCB9ahxrPSR/Vnx29hJw3N2JPeQmCv4u2pdv q1knLiu2GBa+44beQ1ewtmsqqtrHF4kSztT0B/jv3qVkfzqyQ6t2rGFD6QdP3FxS0A f+J+oEhQmbvKHlw688SVbI2WcHs4yoa99ZLslWpFWQ9IES1mrqjX79U2qRuY5ceQ0P olzhUCVGf0pdnEdmmuLMaiiEdP9BhivYYYFj0nxRvA+J3jNsCjHCD3Ff4YZuCRyOTP grIWWw6Ov/uxC6XAV8TqXRctM3wKV75h5EyhPW5gPLeGD7Uz704xaQxrnyXj7xscmQ y7IT1aq63cYKyRGVolC9Y3IbLeZ5XwjLFFREw88u0JxFQLtNQcpEP6kM0dpahb9xxf TVr2/kELoqRJ5oL6Gd41ycbhemtlS4IvRyxg2fMEbbO4lBI/EH4jGpXrtv4nRzRHKy yhTwAqL3fAm91EGe4oo3jpwgEy2WLk/lg+mnnto2GXuDwN02UNTzHAVs2wQBYoPT2w nreQBmK7OEfFneTKHuGDoQSU=
- In-reply-to: <828080f4d966c56549c5ed0cea3be1cb@stamm-wilbrandt.de>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <828080f4d966c56549c5ed0cea3be1cb@stamm-wilbrandt.de>
On Tue, Mar 12, 2024 at 09:06:22AM +0100, hermann@stamm-wilbrandt.de wrote:
> Yesterday I was happy to have working "SquaresRepresentations(n,k)" using
> "for(...foreach(...listput(..)))".
>
> ...
> for(b=a,m,foreach(SquaresRepresentations(n-b^2,k-1,b),s,listput(R,concat([b],s))));
> Vec(R);
> }
If you use listput, please write listput(~R,...)
Cheers,
Bill.