b三次样条算法 [英] b-cubic spline algorithm

查看:119
本文介绍了b三次样条算法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!
我已经在网上搜索了c#中b三次样条的实现.我发现的只是一些数学库,我需要自己实现代码.要计算n个结的样条系数,我需要求解一个n-1个线性方程组,因此:
第一:我不知道如何在C#中求解线性方程.仅在matlab中,因此,如果有人有帮助的信息,那就太好了. 第二:有人熟悉样条系数计算代码吗?

最好的问候,

Hi guys!
I have searched all over the web for an implementation of a b-cubic spline in c#. All I found was some math libraries and I need to implement the code by myself. To compute the spline coefficients for n knots I need to solve a system of n-1 linear equations so:
First: I don''t know how to solve linear equations in C#. Only in matlab so if someone have helpful info it will be great.
Second: Is anyone familiar with spline coefficients calculation code?

Best regards,

推荐答案

为了求解线性方程,您可以实施 ^ ]算法.
In order to solve the linear equations, you may implement the Gaussian Elimination[^] algorithm.


这篇关于b三次样条算法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆