maths

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RatioToAB

func RatioToAB(ra, rb, a, b int) (resA, resB int)

RatioToAB 将 ra 比 rb 转换为 a,b 值范围内 resA/resB 损失最小。

Types

This section is empty.

Jump to

Keyboard shortcuts

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