【源码】inpaint_nans函数:对二维数组中的NaN元素插值(或外推)

在这里插入图片描述

使用非NaN数据对二维数组中的NaN元素进行插值。

Interpolate NaN elements in a 2-d array using non-NaN elements.

也可以进行外推,因为该函数不使用数据的三角测量。

Can also extrapolate, as it does not use a triangulation of the data.

Inpaint_nans提供了几种不同的插值方法,这些方法在精度、速度以及所需内存方面进行折中平衡。

Inpaint_nans offers several different approaches to the interpolation, which give tradeoffs in accuracy versus speed and memory required.

inpaint_nans中使用的所有方法都基于稀疏线性代数和PDE离散化。

All the methods currently found in inpaint_nans are based on sparse linear algebra and PDE discretizations.

从本质上讲,PDE是为了与所提供的信息保持一致而实现的解决方案。

In essence, a PDE is solved to be consistent with the information supplied.

源码下载地址:

http://page2.dfpan.com/fs/4ldc2je29231f209166/

更多精彩文章请关注微信号:在这里插入图片描述

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值