<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>はまりまくってしまった。答えに至るまでの過程を書いてみたい。 問題 2.36 与えられた行列の足し算をする問題。 (define s '(( 1 2 3) ( 4 5 6) ( 7 8 9) (10 11 12))) ; =&gt; (22 36 30) 他の言語なら一瞬で解けそうな問題だが、僕にはさっぱり答えが出てこない。 理由は簡単。考え方が悪かった。 ボトムアップで解けば簡単だった。 僕が答えに至るまでの過程。 まずは、転置行列にすれば良いと思い、mapした。 (map car s) ; (1 4 7 10) carすれば、2次元配列の先頭が取れる。これをfoldで足せば、答えが出そうだ。 (…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071023%2F1193079484&quot; title=&quot; SICPを読む(56) 問題 2.36 転置行列 - ボクノス&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-10-23 03:58:04</published>
  <title> SICPを読む(56) 問題 2.36 転置行列</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20071023/1193079484</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
