ファイル:Gershgorin Disk Theorem Example.svg

ページのコンテンツが他言語でサポートされていません。

元のファイル(SVG ファイル、503 × 344 ピクセル、ファイルサイズ: 24キロバイト)

概要

解説
English: Gershgorin disk theorem example. This diagram shows the discs in yellow derived for the eigenvalues. The first two disks overlap and their union contains two eigenvalues. The third and fourth disks are disjoint from the others and contain one eigenvalue each.
日付
原典 投稿者自身による著作物
作者 Nicoguaro
SVG 開発
InfoField
W3C grn 
このSVGのソースコードは正しい
Created with Matplotlib-logo 
この ベクター画像Matplotlibで作成されました。
ソースコード
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

# Graph setup
yellow = "#e9eabb"
blue = "#122a8c"
gray = '#757575'
plt.rcParams["text.color"] = gray
plt.rcParams["font.size"] = 12
plt.rcParams["xtick.color"] = gray
plt.rcParams["ytick.color"] = gray
plt.rcParams["axes.labelcolor"] = gray
plt.rcParams["axes.edgecolor"] = gray
plt.rcParams["axes.spines.right"] = False
plt.rcParams["axes.spines.top"] = False


A = np.array([
  [10, -1, 0, 1],
  [0.2, 8, 0.2, 0.2],
  [1, 1, 2, 1],
  [-1, -1, -1, -11]])
vals = np.linalg.eigvals(A)
fig = plt.figure(figsize=(6, 4))
for cont, val in enumerate(vals):
    real = np.real(val)
    imag = np.imag(val)
    center = A[cont, cont]
    radius = sum(np.abs(A[cont, k]) for k in range(4) if k != cont)
    circle = plt.Circle((center, 0), radius, color=yellow)
    plt.plot(real, imag, color=blue, marker="x", linewidth=0)
    plt.gca().add_artist(circle)

plt.legend(["Eigenvalues"], frameon=False)
plt.xlabel("Real axis")
plt.ylabel("Imaginary axis")
plt.yticks([-10, -5, 0, 5, 10])
plt.axis("image")
plt.xlim(-15, 15)
plt.ylim(-10, 10)
plt.savefig("Gershgorin Disk Theorem Example.svg", bbox_inches="tight")
plt.show()

ライセンス

この作品の著作権者である私は、この作品を以下のライセンスで提供します。
w:ja:クリエイティブ・コモンズ
表示
このファイルはクリエイティブ・コモンズ 表示 4.0 国際ライセンスのもとに利用を許諾されています。
あなたは以下の条件に従う場合に限り、自由に
  • 共有 – 本作品を複製、頒布、展示、実演できます。
  • 再構成 – 二次的著作物を作成できます。
あなたの従うべき条件は以下の通りです。
  • 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。

キャプション

このファイルの内容を1行で記述してください
Gershgorin disk theorem example.

このファイルに描写されている項目

題材

15 2 2019

ファイルの履歴

過去の版のファイルを表示するには、その版の日時をクリックしてください。

日付と時刻サムネイル寸法利用者コメント
現在の版2019年2月15日 (金) 19:442019年2月15日 (金) 19:44時点における版のサムネイル503 × 344 (24キロバイト)NicoguaroUser created page with UploadWizard

以下のページがこのファイルを使用しています:

グローバルなファイル使用状況

以下に挙げる他のウィキがこの画像を使っています:

メタデータ