math

package
v0.0.0-...-69d094b Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Normalize

func Normalize[T constraints.Float](in []T, min, max T) []T

Normalize 归一化

func SqrtInt

func SqrtInt(x int64) complex128

SqrtUint sqrt(x) but returns integer part only.

func SqrtUint

func SqrtUint(x uint64) uint64

SqrtUint sqrt(x) but returns integer part only.

Types

This section is empty.

Directories

Path Synopsis
Package rand 提供官方 math/rand 的一些小工具封装
Package rand 提供官方 math/rand 的一些小工具封装

Jump to

Keyboard shortcuts

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