Module: Axiom::Algebra::Product::Methods

Extended by:
Axiom::Aliasable
Defined in:
lib/axiom/algebra/product.rb

Instance Method Summary collapse

Methods included from Axiom::Aliasable

inheritable_alias

Instance Method Details

#product(other) ⇒ Product

Return a relation that is the cartesian product of two relations

Examples:

product = relation.product(other)

Parameters:

  • other (Relation)

    the other relation to find the product with

Returns:



114
115
116
# File 'lib/axiom/algebra/product.rb', line 114

def product(other)
  Product.new(self, other)
end