Documentation ¶
Index ¶
- func BigComplexEq(a *BigComplex, b *BigComplex) bool
- func BigEq(a *big.Float, b *big.Float) bool
- func MakeBigFloat(f float64, prec uint) big.Float
- type BigBaseNumerics
- func (bbn *BigBaseNumerics) Escape(c *BigComplex) BigEscapeValue
- func (bbn *BigBaseNumerics) MakeBigComplex(r, i float64) BigComplex
- func (bbn *BigBaseNumerics) MakeBigFloat(x float64) big.Float
- func (bbn *BigBaseNumerics) MakeMember(c *BigComplex) BigEscapeValue
- func (bbn *BigBaseNumerics) PixelSize() (big.Float, big.Float)
- func (bbn *BigBaseNumerics) PixelToPlane(i, j int) BigComplex
- func (bbn *BigBaseNumerics) PlaneToPixel(c *BigComplex) (rx int, ry int)
- func (bbn *BigBaseNumerics) SubImage(rect image.Rectangle)
- type BigComplex
- type BigCoordProvider
- type BigEscapeValue
- type DbgC
- type DbgF
- type MockBigCoordProvider
- type MockRenderApplication
- type RenderApplication
- type UnitQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigComplexEq ¶
func BigComplexEq(a *BigComplex, b *BigComplex) bool
Types ¶
type BigBaseNumerics ¶
type BigBaseNumerics struct { base.BaseNumerics RealMin big.Float RealMax big.Float ImagMin big.Float ImagMax big.Float SqrtDivergeLimit big.Float IterateLimit uint8 Runit big.Float Iunit big.Float Precision uint }
Basis for all big.Float numerics
func Make ¶
func Make(app RenderApplication) BigBaseNumerics
func (*BigBaseNumerics) Escape ¶
func (bbn *BigBaseNumerics) Escape(c *BigComplex) BigEscapeValue
func (*BigBaseNumerics) MakeBigComplex ¶
func (bbn *BigBaseNumerics) MakeBigComplex(r, i float64) BigComplex
func (*BigBaseNumerics) MakeBigFloat ¶
func (bbn *BigBaseNumerics) MakeBigFloat(x float64) big.Float
func (*BigBaseNumerics) MakeMember ¶
func (bbn *BigBaseNumerics) MakeMember(c *BigComplex) BigEscapeValue
func (*BigBaseNumerics) PixelSize ¶
func (bbn *BigBaseNumerics) PixelSize() (big.Float, big.Float)
Size on the plane of 1px
func (*BigBaseNumerics) PixelToPlane ¶
func (bbn *BigBaseNumerics) PixelToPlane(i, j int) BigComplex
func (*BigBaseNumerics) PlaneToPixel ¶
func (bbn *BigBaseNumerics) PlaneToPixel(c *BigComplex) (rx int, ry int)
func (*BigBaseNumerics) SubImage ¶
func (bbn *BigBaseNumerics) SubImage(rect image.Rectangle)
type BigComplex ¶
func MakeBigComplex ¶
func MakeBigComplex(real float64, imag float64, prec uint) BigComplex
func (*BigComplex) Add ¶
func (c *BigComplex) Add(q *BigComplex, u *BigComplex)
func (*BigComplex) Imag ¶
func (c *BigComplex) Imag() *big.Float
func (*BigComplex) Real ¶
func (c *BigComplex) Real() *big.Float
type BigCoordProvider ¶
type BigCoordProvider interface { BigUserCoords() (*BigComplex, *BigComplex) Precision() uint }
type BigEscapeValue ¶
type BigEscapeValue struct { base.EscapeValue C *BigComplex SqrtDivergeLimit *big.Float Prec uint }
func (*BigEscapeValue) Mandelbrot ¶
func (member *BigEscapeValue) Mandelbrot(iterateLimit uint8)
type MockBigCoordProvider ¶
type MockBigCoordProvider struct { TBigUserCoords bool TPrecision bool UserMin BigComplex UserMax BigComplex Prec uint }
func (*MockBigCoordProvider) BigUserCoords ¶
func (mbcp *MockBigCoordProvider) BigUserCoords() (*BigComplex, *BigComplex)
func (*MockBigCoordProvider) Precision ¶
func (mbcp *MockBigCoordProvider) Precision() uint
type MockRenderApplication ¶
type MockRenderApplication struct { base.MockRenderApplication MockBigCoordProvider }
type RenderApplication ¶
type RenderApplication interface { base.RenderApplication BigCoordProvider }
Click to show internal directories.
Click to hide internal directories.