idw

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* @Author: lisheng * @Date: 2022-10-24 14:57:04 * @LastEditTime: 2022-10-28 15:38:12 * @LastEditors: lisheng * @Description: 反距离权重计算模块 * @FilePath: /gitee.com/liqiyuworks/jf-go-kit/common/idw.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IwdIstance

func IwdIstance(x float64, y float64, points []IdwPoint) float64

*

  • @description: 反距离权重计算
  • @param {int} x 124.41
  • @param {int} y 32.2
  • @param {[]point} points [[124.416664, 32.25, 0.34], [124.333336, 32.166668, 0.34], [124.416664, 32.166668, 0.34], [124.333336, 32.25, 0.34]]
  • @return {*} 0.34
  • @author: liqiyuWorks

Types

type IdwPoint

type IdwPoint struct {
	X      float64
	Y      float64
	Weight float64
}

Jump to

Keyboard shortcuts

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