Why a bug?

Why a bug? - Messaggi

#1 Pubblicato: 21/11/2026 18:07:02
Valery Ochkov

Valery Ochkov

75 apprezzamenti in 735 post.

Gruppo: User

Transport-Minimize-bug.sm (20,33 KiB) scaricato 123 volta(e).
Transport-Minimize-bug.png
#2 Pubblicato: 23/11/2026 11:22:34
Martin Kraska

Martin Kraska

1.369 apprezzamenti in 2.283 post.

Gruppo: Moderator

If vectorize() would stop at the third level of the expression tree, then that might work. Yet, there is no way to specify the depth of elementwise execution, therefore when arriving at the matrix product, the incompatible size error is thrown.

So, using temporary storage is the only way to shield the matrix products from the subsequent elementwise execution.

grafik.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 utenti hanno apprezzato questo post
Valery Ochkov 30/11/2026 16:08:02
#3 Pubblicato: 25/11/2026 19:32:19
Valery Ochkov

Valery Ochkov

75 apprezzamenti in 735 post.

Gruppo: User

I would like to do so
trans-MCP-11.png
  • Nuovi post
  • Nessun nuovo post