LinAlg
01 Syntax
Microsoft.VisualBasic.Math.LinearAlgebra.LinearProgramming.IPMCrossover.LinAlg
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Cholesky | 2 | 带对角正则化的 Cholesky 分解(A + reg·I = L·Lᵀ);失败返回 Nothing |
| CholSolve | 1 | Cholesky 两段回代:解 L·Lᵀ·x = rhs |
| SolveSpd | 1 | (M + reg·I) Cholesky 求解 + 一次迭代精化 [readme §2.2] |
| LuFactor | 1 | 部分主元 LU 分解;矩阵奇异(主元 < 1e-13)返回 Nothing |
| LuSolve | 1 | 解 A·x = rhs |
| LuSolveT | 1 | 解 Aᵀ·x = rhs(影子价 y = B⁻ᵀc_B 等)[镜像对拍覆盖] |
| EchelonRank | 1 | 阶梯消元秩(支持非方阵)——crossover 基构造的线性无关检测 |
| TakeCols | 1 | 矩阵取列子集(新矩阵 m×cols.Count) |
| AppendCol | 1 | 追加一列(返回新矩阵) |
| Dot | 1 | |
| Norm2 | 1 |
03 Members
Cholesky(
Double[0:,0:])Cholesky 分解 A = L·Lᵀ(A 须对称正定);失败返回 Nothing
Cholesky(
Double[0:,0:], Double)带对角正则化的 Cholesky 分解(A + reg·I = L·Lᵀ);失败返回 Nothing
CholSolve(
Double[0:,0:], Double())Cholesky 两段回代:解 L·Lᵀ·x = rhs
SolveSpd(
Double[0:,0:], Double(), Double)(M + reg·I) Cholesky 求解 + 一次迭代精化 [readme §2.2]
LuFactor(
Double[0:,0:])部分主元 LU 分解;矩阵奇异(主元 < 1e-13)返回 Nothing
LuSolve(LuFactorization,
Double())解 A·x = rhs
LuSolveT(LuFactorization,
Double())解 Aᵀ·x = rhs(影子价 y = B⁻ᵀc_B 等)[镜像对拍覆盖]
EchelonRank(
Double[0:,0:], Double)阶梯消元秩(支持非方阵)——crossover 基构造的线性无关检测
TakeCols(
Double[0:,0:], List(Of Int32))矩阵取列子集(新矩阵 m×cols.Count)
AppendCol(
Double[0:,0:], Double())追加一列(返回新矩阵)
Dot(
Double(), Double())Norm2(
Double())