This domain implements cartesian product, we give example usage here: fricas (1) -> X:=Product(IntegerMod 3,
Type: Type
fricas size()$X
Type: NonNegativeInteger?
fricas [index(i)$X for i in 1..size()$X::PositiveInteger] fricas Compiling function G3 with type NonNegativeInteger -> Boolean
fricas reduce(_and,
Type: Boolean
fricas lookup(construct(2,
Type: PositiveInteger?
fricas [random()$X for i in 1..5]
|