pattern

package
v0.0.0-...-2ca9f4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package pattern is an example for Go functions. The concept of coding is from Section 1.3 of "Structure and Interpretation of Computer Programs, second edition, by Harold Abelson, Gerald Sussman and Julie Sussman", published by The MIT Press.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixedPoint

func FixedPoint(f Func, firstGuess float64) float64

func FixedPointOfTransform

func FixedPointOfTransform(g Func, transform Transform, guess float64) float64

func Sqrt

func Sqrt(x float64) float64

func Square

func Square(x float64) float64

Types

type Func

type Func func(float64) float64

func Deriv

func Deriv(g Func) Func

func NewtonTransform

func NewtonTransform(g Func) Func

type Transform

type Transform func(Func) Func

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL