MultiVarCoefficients
(Was inner) class which extends edu.jas.ps.MultiVarCoefficients
Constructor.
r polynomial RingFactory. f(ExpVector e) must return a value of type r.coFac.
# File examples/jas.rb, line 5139 def initialize(r,&f) super(r) # this is important in jruby 1.5.6! @coFac = r.coFac; @func = f end
Generator for a coefficient.
ExpVector e parameter. returns a value of type r.coFac
# File examples/jas.rb, line 5151 def generate(i) a = @func.call(i); if a.is_a? RingElem a = a.elem; end #puts "f_5 type(#{a}) = #{a.class}\n"; return a; end
[Validate]
Generated with the Darkfish Rdoc Generator 2.