Flowdock
norm(fv,zero=0.0) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/bigdecimal/lib/bigdecimal/newton.rb, line 33
  def norm(fv,zero=0.0) # :nodoc:
    s = zero
    n = fv.size
    for i in 0...n do
      s += fv[i]*fv[i]
    end
    s
  end
Register or log in to add new notes.