脑血管堵塞有什么症状| 属蛇的人适合佩戴什么| 地塞米松是什么药| 冬至节气的含义是什么| 88岁属什么生肖| 红红火火是什么意思| 铅中毒用什么解毒| 16年属什么生肖| 梦见捡钱了是什么预兆| 吃什么养肺| vintage什么意思| absorb什么意思| 小腿怕冷是什么原因| 才高八斗是什么生肖| 野蛮生长是什么意思| 阴道排气是什么原因| ip是什么意思| 柳丁是什么水果| 什么情况下需要安装心脏起搏器| 鲶鱼是什么鱼| 贵气是什么意思| 为什么会血糖高| 印度属于什么亚| 247什么意思| 怀孕做梦梦到蛇是什么意思| 气管炎不能吃什么食物| 二十年婚姻是什么婚| 什么叫物质| 1988年是什么生肖| 斜杠青年什么意思| 曲苑杂坛为什么停播| 卵巢早衰吃什么药调理最好| 苏轼是什么派诗人| 高凝状态是什么意思| 肌肉代偿是什么意思| 夜里睡觉手麻是什么原因| 突然心跳加快是什么原因| 哭夫痣是什么意思| 根的作用是什么| 半夜三更是什么生肖| 经常咳嗽是什么病| 护理假是什么意思| 艾灸起水泡是什么原因| imei是什么意思| 发offer是什么意思| 什么不同成语| 属蛇的和什么属相最配| 腋毛有什么作用| 梦见佛像是什么预兆| 脐动脉2条是什么意思| 心率快吃什么中成药| 保育员是什么| 溜车是什么意思| 蕊五行属什么| 天天吹空调有什么危害| 血色素低是什么原因| 怀孕第一个月最怕什么| tbs是什么意思| 代谢慢的人吃什么有助于新陈代谢| 退行性病变是什么意思| 梦见自己换衣服是什么意思| xanax是什么药| 桃李满天下什么意思| 什么是免疫力| 七月份有什么节日吗| gina是什么意思| 嘴唇裂口是什么原因| 少田宅痣是什么意思| 打鼾是什么原因导致的| 咳嗽喉咙痒吃什么药好得快| 首套房有什么优惠政策| 受凉了吃什么药| 明矾是什么东西| 舌头干涩是什么原因| 小狗起什么名字好听| 牙齿疼吃什么药| 服化道什么意思| 女人嘴唇发紫是什么病| 8月17号是什么日子| 眩晕看什么科| 儿童腮腺炎吃什么药| 幼字五行属什么| 彩虹什么颜色| 上面一个四下面一个正念什么| 真菌感染吃什么药| 什么是溺水| nars是什么牌子| 肝火旺盛吃什么药| 孕妇吃冰的东西对胎儿有什么影响| 为什么同房不怀孕原因| 急性扁桃体炎什么原因导致的| 喜面是什么意思| 什么是安全感| 毒瘾发作有什么症状| 兵马俑什么时候发现的| 替拉依是什么药| 海笋是什么东西| 后位子宫什么意思| 怀孕吃什么宝宝皮肤白| 鼻翼长痘是什么原因| 81年属鸡是什么命| 珙桐是什么植物| 1月11日什么星座| 手麻木是什么引起的| 为什么飞机撞鸟会坠机| 怀孕初期需要注意什么| 什么原因会导致尿路感染| 1206是什么星座| 为什么爱放屁| 饭后打嗝是什么原因| mpe是什么意思| 怀孕不到一个月有什么症状| 什么品牌油烟机好| 平和是什么意思| 二月十六是什么星座| 梳子什么材质的好| 房颤吃什么药| 头晕耳鸣是什么原因引起的| 喉部有异物感是什么病| 粤菜是什么口味| 嘴角烂是什么原因| 1996年五行属什么| 医生为什么叫大夫| 阿胶烊化是什么意思| 割包皮去医院挂什么科| 为什么会上火| 冥想有什么好处| 吃地瓜叶有什么好处和坏处| 八月十五是什么日子| 克罗心是什么档次| 晚上喝什么有助于睡眠| 一颗什么| 喉炎吃什么药效果最好| 嚭是什么意思| 什么的春天| 胃功能四项检查是什么| 公分是什么单位| 什么是内分泌| 一什么不什么的成语| 心电图显示窦性心律是什么意思| 蛇盘疮吃什么药| 喝什么降火| 才高八斗是什么生肖| 枷锁是什么意思| 长期失眠看什么科最好| 根管预备是什么意思| 肌酐高是什么原因| 明矾是什么东西| 容易淤青的体质叫什么| 一九八四年属什么生肖| 什么鲸鱼最大| 吃叶酸有什么副作用| 在什么后面| 血糖高适合喝什么酒| dr和ct有什么区别| 孟字五行属什么| 染色体由什么和什么组成| 萎谢是什么意思| 金玉良缘是什么生肖| 玫瑰花的花语是什么| 夜光杯是什么材质| 亚麻酸是什么东西| 27年属什么生肖| 梦见狗死了是什么预兆| 叶酸基因检测是什么| 腿外侧是什么经络| 慢性浅表性胃炎是什么意思| 献完血应该注意什么| 凌晨三点醒是什么原因| 鼻子干痒是什么原因| 红斑狼疮的症状是什么| 夏至节气吃什么| 氢化油是什么东西| 便秘吃什么益生菌| mask是什么意思| 用什么水和面烙饼最软| crocs是什么牌子的鞋| 服装属于五行什么行业| esr是什么| 什么的什么是什么的伞| 核桃什么时候吃最好| 口腔溃疡白色的是什么| 什么原因引起脑梗| 棕榈油是什么油| 眼白发蓝是什么原因| lr是什么| 霸王别姬是什么生肖| 献血有什么好处| 如果你是什么那快乐就是什么| 什么人需要做心脏造影| 汉族人是什么人种| 梅子什么时候成熟| 卧是什么意思| aj是什么鞋子| 他不懂你的心假装冷静是什么歌| 脓肿是什么病| 内项和外项是什么| 二月二十三日是什么星座| 结节是什么病| 小狗拉稀 吃什么药| 什么东西可以代替阴茎| 康养中心是做什么的| 白菜属于什么科| 去冰和常温有什么区别| 三点水一个希读什么| 蚝油是什么做的| 春天有什么花开| kyocera是什么牌子| 25羟基维生素d是什么| 苦瓜泡水喝有什么功效| 糖耐量是什么| 女人下面有异味是什么原因| 数字7五行属什么| 精子长什么样| 马步鱼为什么是甜的| 什么时候母亲节| 邪祟是什么意思| 什么方法可以快速排便| 什么样的人容易猝死| 舌苔发黄厚是什么原因| 吃什么对眼睛有好处| 烦躁不安的意思是什么| 什么蚂蚁有毒| 早泄吃什么药| 人为什么会近视| 独在异乡为异客异是什么意思| mrr是什么意思| 梦见钓鱼是什么意思周公解梦| 慧眼识珠是什么意思| 屁股长痘是什么原因| 柏拉图之恋是什么意思| 肠澼是什么意思| 宫颈纳氏囊肿是什么意思| 3.19是什么星座| 八月一号什么星座| 早上起来眼睛肿了是什么原因| 晚饭适合吃什么| 刘备和刘表什么关系| 阴虚吃什么中成药| 再接再厉后面接什么好| 痈疡是什么意思| 尿路感染吃什么药效果好| 虾虎鱼吃什么| 什么是马甲线| 开颅手术有什么后遗症| 多指是什么遗传方式| 血糖低吃什么补的最快| 依托考昔片是什么药| 什么不同成语| 火克什么| 龙胆泻肝丸治什么病| 梦见下大雪是什么意思| 受凉咳嗽吃什么药| 氯气是什么颜色| 农历8月13日是什么星座| 三只手是什么意思| 转氨酶高吃什么食物降得快| 鹦鹉吃什么食物最好| 摩登女郎是什么意思| 栖字五行属什么| 开边珠牛皮是什么意思| 乳液是什么| 临床路径是什么意思| 宋威龙什么星座| 百度Jump to content

CBA新疆队在“魔鬼主场”输了 主帅这么说

From Wikipedia, the free encyclopedia
百度 他指着客厅正墙上的照片大声地说:“当年见过白求恩大夫并在一起工作过的人,目前健在的大概还有四、五位,我是其中之一。

In the mathematical subfield of numerical analysis, de Boor's algorithm[1] is a polynomial-time and numerically stable algorithm for evaluating spline curves in B-spline form. It is a generalization of de Casteljau's algorithm for Bézier curves. The algorithm was devised by German-American mathematician Carl R. de Boor. Simplified, potentially faster variants of the de Boor algorithm have been created but they suffer from comparatively lower stability.[2][3]

Introduction

[edit]

A general introduction to B-splines is given in the main article. Here we discuss de Boor's algorithm, an efficient and numerically stable scheme to evaluate a spline curve at position . The curve is built from a sum of B-spline functions multiplied with potentially vector-valued constants , called control points, B-splines of order are connected piece-wise polynomial functions of degree defined over a grid of knots (we always use zero-based indices in the following). De Boor's algorithm uses O(p2) + O(p) operations to evaluate the spline curve. Note: the main article about B-splines and the classic publications[1] use a different notation: the B-spline is indexed as with .

Local support

[edit]

B-splines have local support, meaning that the polynomials are positive only in a compact domain and zero elsewhere. The Cox-de Boor recursion formula[4] shows this:

Let the index define the knot interval that contains the position, . We can see in the recursion formula that only B-splines with are non-zero for this knot interval. Thus, the sum is reduced to:

It follows from that . Similarly, we see in the recursion that the highest queried knot location is at index . This means that any knot interval which is actually used must have at least additional knots before and after. In a computer program, this is typically achieved by repeating the first and last used knot location times. For example, for and real knot locations , one would pad the knot vector to .

The algorithm

[edit]

With these definitions, we can now describe de Boor's algorithm. The algorithm does not compute the B-spline functions directly. Instead it evaluates through an equivalent recursion formula.

Let be new control points with for . For the following recursion is applied:

Once the iterations are complete, we have , meaning that is the desired result.

De Boor's algorithm is more efficient than an explicit calculation of B-splines with the Cox-de Boor recursion formula, because it does not compute terms which are guaranteed to be multiplied by zero.

Optimizations

[edit]

The algorithm above is not optimized for the implementation in a computer. It requires memory for temporary control points . Each temporary control point is written exactly once and read twice. By reversing the iteration over (counting down instead of up), we can run the algorithm with memory for only temporary control points, by letting reuse the memory for . Similarly, there is only one value of used in each step, so we can reuse the memory as well.

Furthermore, it is more convenient to use a zero-based index for the temporary control points. The relation to the previous index is . Thus we obtain the improved algorithm:

Let for . Iterate for : Note that j must be counted down. After the iterations are complete, the result is .

Example implementation

[edit]

The following code in the Python programming language is a naive implementation of the optimized algorithm.

def deBoor(k: int, x: int, t, c, p: int):
    """Evaluates S(x).

    Arguments
    ---------
    k: Index of knot interval that contains x.
    x: Position.
    t: Array of knot positions, needs to be padded as described above.
    c: Array of control points.
    p: Degree of B-spline.
    """
    d = [c[j + k - p] for j in range(0, p + 1)] 

    for r in range(1, p + 1):
        for j in range(p, r - 1, -1):
            alpha = (x - t[j + k - p]) / (t[j + 1 + k - r] - t[j + k - p]) 
            d[j] = (1.0 - alpha) * d[j - 1] + alpha * d[j]

    return d[p]

See also

[edit]
[edit]

Computer code

[edit]
  • PPPACK: contains many spline algorithms in Fortran
  • GNU Scientific Library: C-library, contains a sub-library for splines ported from PPPACK
  • SciPy: Python-library, contains a sub-library scipy.interpolate with spline functions based on FITPACK
  • TinySpline: C-library for splines with a C++ wrapper and bindings for C#, Java, Lua, PHP, Python, and Ruby
  • Einspline: C-library for splines in 1, 2, and 3 dimensions with Fortran wrappers

References

[edit]
  1. ^ a b C. de Boor [1971], "Subroutine package for calculating with B-splines", Techn.Rep. LA-4728-MS, Los Alamos Sci.Lab, Los Alamos NM; p. 109, 121.
  2. ^ Lee, E. T. Y. (December 1982). "A Simplified B-Spline Computation Routine". Computing. 29 (4). Springer-Verlag: 365–371. doi:10.1007/BF02246763. S2CID 2407104.
  3. ^ Lee, E. T. Y. (1986). "Comments on some B-spline algorithms". Computing. 36 (3). Springer-Verlag: 229–238. doi:10.1007/BF02240069. S2CID 7003455.
  4. ^ C. de Boor, p. 90

Works cited

  • Carl de Boor (2003). A Practical Guide to Splines, Revised Edition. Springer-Verlag. ISBN 0-387-95366-3.
宫颈切片检查是什么 梦见鬼是什么意思 什么是包皮手术 小孩补铁吃什么 疱疹是什么
brown什么意思 拉肚子吃什么益生菌 贤上腺瘤是什么意思 直肠腺瘤是什么 买什么化妆品好
什么的山顶 杨梅泡酒有什么功效和作用 颇丰是什么意思 贫血应该吃什么 96年属什么命
窝里横是什么意思 上面一个日下面一个立是什么字 算五行缺什么免费测试 减肥有什么方法 梦到活人死了是什么预兆
三杯鸡为什么叫三杯鸡hcv7jop5ns0r.cn nb是什么牌子hcv9jop6ns7r.cn 2019是什么生肖hcv8jop6ns2r.cn 香蕉和什么不能一起吃hcv8jop8ns7r.cn 脸部爱出油是什么原因jiuxinfghf.com
月老叫什么名字hcv8jop9ns6r.cn 什么食物对肝有好处wuhaiwuya.com 人生什么最重要hcv8jop9ns7r.cn 鸾凤和鸣什么意思hcv8jop9ns1r.cn 好五行属什么hcv9jop3ns4r.cn
人为什么会死亡hcv9jop0ns7r.cn 草头是什么菜hcv9jop3ns3r.cn 细胞学说揭示了什么hcv9jop8ns1r.cn 小便带血是什么原因hcv9jop6ns2r.cn 姨妈期不能吃什么hcv8jop9ns8r.cn
一般手脚慢进什么工厂weuuu.com 墨菲定律是什么意思hcv7jop6ns9r.cn 狗消化不良吃什么药bfb118.com 彩超挂什么科hcv8jop1ns6r.cn 梦见鳄鱼是什么预兆hcv9jop2ns5r.cn
百度