Class: RDF::N3::Algebra::Math::Product
- Inherits:
-
ListOperator
- Object
- SPARQL::Algebra::Operator::Binary
- ListOperator
- RDF::N3::Algebra::Math::Product
- Defined in:
- lib/rdf/n3/algebra/math/product.rb
Overview
The subject is a list of numbers. The object is calculated as the arithmentic product of those numbers.
Constant Summary collapse
Instance Attribute Summary
Attributes included from Enumerable
Instance Method Summary collapse
-
#resolve(list) ⇒ RDF::Term
The math:product operator takes a list of strings or numbers and calculates their sum.
Methods inherited from ListOperator
#as_literal, #execute, #input_operand, #validate
Methods included from Builtin
#each, #evaluate, #hash, #input_operand, #rank, #to_uri