Zulip Chat Archive
Stream: new members
Topic: Defining matrix with direct sum domain
Vivek Rajesh Joshi (May 11 2024 at 05:59):
How do you define a matrix where you want the domain to be the direct sum of two Fins? Specifically, I'm looking to define a matrix of type Matrix (Sum (Fin r) Unit) (Sum (Fin r) Unit) Rat
Eric Wieser (May 11 2024 at 09:36):
Did you mean to write that without the+
?
Eric Wieser (May 11 2024 at 09:37):
I think the answer here is docs#Matrix.fromBlocks
Vivek Rajesh Joshi (May 11 2024 at 09:37):
Eric Wieser said:
Did you mean to write that without the
+
?
Ohh yes sorry
Last updated: May 02 2025 at 03:31 UTC