Sum list of vectors Clojure

后端 未结 0 1385
礼貌的吻别
礼貌的吻别 2020-11-29 21:55

i want to get a diagonal matrix from this: [[1 2 3] [4 5 6] [7 8 9]]. then it occurred to me to do the following:

[[0 0 0] [4 0 0] [7 8 0]] + [[0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题