math

package
v0.0.0-...-7253c86 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

func DetectSquaresAbs

func DetectSquaresAbs(x int) int

func HappyNumber

func HappyNumber(n int) bool

func MissingNumber

func MissingNumber(nums []int) int

func MultiplyStrings

func MultiplyStrings(num1 string, num2 string) string

func PlusOne

func PlusOne(digits []int) []int

func PowXN

func PowXN(x float64, n int) float64

func ReverseInteger

func ReverseInteger(x int) int

func RotateImage

func RotateImage(matrix [][]int) [][]int

Types

type DetectSquares

type DetectSquares struct {
	Coordinates [][]int
	Frequencies map[string]int
}

func DetectSquaresConstructor

func DetectSquaresConstructor() DetectSquares

func (*DetectSquares) Add

func (this *DetectSquares) Add(point []int)

func (*DetectSquares) Count

func (this *DetectSquares) Count(point []int) int

Jump to

Keyboard shortcuts

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