Codebase list golang-github-beorn7-perks / 51bf8dc
state conditions for SetEpsilon Blake Mizerany 11 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
152152 }
153153
154154 // SetEpsilon sets the error epsilon for the Stream. The default epsilon is
155 // 0.01 and is usually satisfactory.
155 // 0.01 and is usually satisfactory. If needed, this must be called before all
156 // Inserts.
156157 // To learn more, see: http://www.cs.rutgers.edu/~muthu/bquant.pdf
157158 func (s *stream) SetEpsilon(epsilon float64) {
158159 s.epsilon = epsilon