C++ : Math library that solve system of equations using back substitution algorithm

标签 c++ math matrix

如果我有这个:

A * f = g;
A: upper triangular matrix (n x n)
f: (n x 1)
g: (n x 1)

需要使用反向替换算法求解f。我会说自己写一个并没有那么难,但是哦,如果那里有图书馆,那为什么不呢。

最佳答案

提升 uBlas应该管用。至少如果我正确理解你的问题,你可能想从查看 lu_substitute()inplace_solve() 开始。

关于C++ : Math library that solve system of equations using back substitution algorithm,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2489833/

相关文章:

algorithm - 给定单词的可能回文字谜数

算法二维引用翻译

arrays - Openscad 位于数组或等效数组中

c# - 4x4矩阵分解算法

c++ - DirectX/C++ 如何取消引用 vector 数据数组以初始化 D3D11 子资源数据

c++ - 在 C++ 中遍历 vector 数组

java - 尝试使 while 循环正常工作

无法使用 c 将值存储在矩阵中

c++ - STL map Custom Key Class [默认构造函数]

c++ - Qt 项目中的前向声明