blob: e8d82ec5fd840e8411306d0526492d329f13dc8f [file] [log] [blame]
// +build ignore,OMIT
package drawer
// START OMIT
import "image"
// Function represent a drawable mathematical function.
type Function interface {
Eval(float64) float64
}
// Draw draws an image showing a rendering of the passed Function.
func Draw(f Function) image.Image {
// END OMIT
return nil
}