Article View: sci.math
Article #889Re: Blog: Is Fortran better than Python for teaching the basics of numerical linear algebra?
From: Lawrence D’Oliveiro
Date: Fri, 27 Nov 2026 23:29
Date: Fri, 27 Nov 2026 23:29
12 lines
1809 bytes
1809 bytes
On Fri, 27 Nov 2026 17:09:23 -0500, FrigidFoxtrot wrote:
> But if you're just looking to teach linear algebra, it's a lot
> easier for them to grok if you just say "hey here's this array and
> this other array. We'll take array1.dot(array2)" ...
The official convention is to use “@” as the dot-product operator:
array1 @ array2
There are ways to define things that look like custom operators, too
<https://gitlab.com/ldo/python_topics_notebooks/-/blob/master/Defining%20(Almost)%20Custom%20Operators.ipynb>.
Technical Details
Message-ID:
<11ed3nt$23gfm$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<WFfnS.67381$kqHe.6119@fx07.ams4> <11ecv2m$220pg$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: sci.math,comp.lang.fortran,comp.lang.python Subject: Re: Blog: Is Fortran better than Python for teaching the basics of numerical linear algebra? Date: Fri, 27 Nov 2026 23:29:01 -0000 (UTC) Organization: A noiseless patient Spider Lines: 12 Message-ID: <11ed3nt$23gfm$1@dont-email.me> References: <WFfnS.67381$kqHe.6119@fx07.ams4> <11ecv2m$220pg$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 27 Nov 2026 23:29:02 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2212342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vovfDjBfXqiJanSnvN/lB"; posting-host="2e959dcef4deb5b603b340204973c717" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:l8SHqhmiXl/hZRD6fGWjbP5sYIU= sha256:rz0w+BYlMRN0Wwh9tkNnU+Lv8HZvsNoH9arigwww4po= sha1:BtHPDSDSDn3TOTSohmU2ryknOJs= sha256:x+VD/OVqjKktRMVDB/MCv9B2C8OqaX1ZTsdiWem9hzI=