Skip to Content
SVGエッセンシャルズ 第2版
book

SVGエッセンシャルズ 第2版

by J. David Eisenberg, Amelia Bellamy-Royds, 原 隆文
May 2017
Intermediate to advanced
432 pages
5h 26m
Japanese
O'Reilly Japan, Inc.
Content preview from SVGエッセンシャルズ 第2版

付録D行列代数

行列代数(matrix algebra)とは、行列(matrix)についての演算を定義する、数学の一分野です。行列とは、一連の数値を行と列に配列したものです。行列代数は、科学や工学でさまざまな用途に使われるだけでなく、これを使うとグラフィック処理の計算をきわめて効率よくできます。この付録の目的は、SVGが「舞台裏」で利用している行列代数についての基本的な概念を紹介することです。

D.1 行列に関する用語

行列は、その行(row)の数と列(column)の数で表現されます。図D-1は、2週間にわたる毎日の気温を、7つの列から成る2つの行に配列した行列を示しています。この行列は、2行7列の行列(2×7行列)と呼ばれます。行列を記述するときには、角括弧で囲みます。

毎日の気温を表す2行7列の行列

図D-1 毎日の気温を表す2行7列の行列

このほかに、行列の演算を扱うときに出てくる用語がいくつかあります。正方行列(square matrix)は、行と列の数が等しい行列です。ベクトル(vector)あるいは行ベクトル(row vector)は1つの行だけを持つ行列であり、列ベクトル(column vector)は1つの列だけを持つ行列です。行列内の個々の数値は成分(entry)と呼ばれ、通常の数値は専門用語でスカラー(scalar)と呼ばれます。さあ、次のパーティーにこれらの話題を持って出かけましょう。驚かれること間違いなしです。

行列の概念をSVGに適用すると、x座標とy座標の組を、2行1列の行列として表現することができます。これは、座標を表現するために最終的に行き着く方法ではありませんが、理解しやすいので、手始めにはよいでしょう。この表現方法では、(3,5) ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

プログラミングRust 第2版

プログラミングRust 第2版

Jim Blandy, Jason Orendorff, Leonora F. S. Tindall, 中田 秀基
仕事ではじめる機械学習 第2版

仕事ではじめる機械学習 第2版

有賀 康顕, 中山 心太, 西林 孝
詳解 システム・パフォーマンス 第2版

詳解 システム・パフォーマンス 第2版

Brendan Gregg, 西脇 靖紘, 長尾 高弘

Publisher Resources

ISBN: 9784873117973Other