首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > JavaScript实现的六种基本操作集合论定义

JavaScript实现的六种基本操作集合论定义

  • 资源大小:2.67 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: javascript jquery qunit sets

资 源 简 介

Sample implementation of the six basic operations defined in Set Theory. Contains both browser agnostic versions (using Array.prototype) and JQuery (extending $ with a sets object and the individual functions), and QUnit tests to verify correctness. Taken from Wikipedia: http://en.wikipedia.org/wiki/Settheory#Basicconcepts Union of the sets A and B is the set whose members are members of at least one of A or B. The union of {1, 2, 3} and {2, 3, 4} is the set {1, 2, 3, 4}. Intersection of the sets A and B is the set whose members are members of both A and B. The intersection of {1, 2, 3} and {2, 3, 4} is the set {2, 3}. Complement of set A relative to set U is the set of all members of U that are not members of A. This terminology is most commonly employed when U is a universal set, as in the study of Venn diagrams. This operation is also called the set difference of U and A, denoted U

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 11 1小时前 成为了本站会员

  • 开心快活人 4小时前 成为了本站会员

  • 晋财 5小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

0.369755s