Sponsored links: Algebra eBooks
 

Related

cardinality-union

cardinality (union(un...

Calculate

cardinality

cardinality: {1, 2, 3...

Calculate

cardinality

cardinality ({0, {0}});

Calculate

cardinality-false-simp

cardinality ({2,4/2,3});

cardinality ({a, a, ...

simp : false;

Calculate

cardinality-false-simp

cardinality ({});

cardinality ({a, b, ...

simp : false;

Calculate

cardinality

cardinality ({{a,b,c}});

Calculate

cardinality-false-simp

cardinality ({});

cardinality ({a, a, ...

simp : false;

Calculate

cardinality-false-simp

cardinality ({});

cardinality ({a, b, ...

simp : false;

Calculate

cardinality-false-simp

cardinality ({null, n...

cardinality ({a, a, ...

simp : false;

Calculate

cardinality-cartesian_product-product

A: {1,2,3,4,5};

B: {a,b,c,d,e};

C: {red,green,blue};

Calculate

cardinality

Run Example
(%i1)xprimep(x) := integerp(x) and (x <
 32);
(%o1)               xprimep(x) := integerp(x) and (x < 32)
(%i2) cardinality (subset (integer_partitions(30,3), lambda ([x], every (xprimep, x))));
(%o2)                                 91
(%i3) 
Run Example
cardinality ({});
(%o1)                                  0
(%i2)  cardinality ({a, b, c, d, e});
(%o2)                                  5
(%i3)  simp : false;
(%o3)                                false
(%i4)  cardinality ({d, e, f, g});
(%o4)                                  4
(%i5) 
Run Example
cardinality ({9});
(%o1)                                  1
(%i2)  cardinality ({a, a, b, c});
(%o2)                                  3
(%i3)  simp : false;
(%o3)                                false
(%i4)  cardinality ({a, a, b, c});
(%o4)                                  3
(%i5) 

Related Help

Help for Cardinality