<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kotsubu-chan</author_name>
  <author_url>https://blog.hatena.ne.jp/kotsubu-chan/</author_url>
  <blog_title>続・ひよ子のきもち</blog_title>
  <blog_url>https://kotsubu-chan.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>VDM++ での演算 rng に準拠した事例を紹介します。 m = VDM_Map({&quot;A&quot;:1,&quot;B&quot;:2,&quot;C&quot;:3}) print &quot;&gt;&gt;&gt; rng %s&quot;%(m) X = rng(m) print X; assert X == VDM_Set(range(1,4))写像 m の値域を得るには、関数 rng を利用します。このコードを実行すると、&gt;&gt;&gt; rng {'A' |-&gt; 1, 'C' |-&gt; 3, 'B' |-&gt; 2} {1, 2, 3}値域は {1, 2, 3} になります。 m = VDM_Map() print &quot;&gt;&gt;&gt; rng %s&quot;%(m) X = rng(m) pri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkotsubu-chan.hatenadiary.org%2Fentry%2F20061023%2F1220665423&quot; title=&quot;事例：演算 rng - 続・ひよ子のきもち&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>2006-10-23 10:43:43</published>
  <title>事例：演算 rng</title>
  <type>rich</type>
  <url>https://kotsubu-chan.hatenadiary.org/entry/20061023/1220665423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
