博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
optimization on macOS
阅读量:4040 次
发布时间:2019-05-24

本文共 1041 字,大约阅读时间需要 3 分钟。

For dense matrix

for sparse matrix

a) matrix factorization

b) iterative methods

For symmetric positive-definite systems, use 

For square, full-rank unsymmetric or indefinite equations, use .

For rectangular or singular systems, use .

objective-c example:

 SparseSolve( SparseConjugateGradient(), A, b, x, SparsePreconditionerDiagonal);

 SparseSolve( SparseGMRES(), A, b, x, SparsePreconditionerDiagonal);
 SparseSolve( SparseLSMR(), A, b, x, SparsePreconditionerDiagScaling);

https://developer.apple.com/videos/play/wwdc2017/711/

https://devstreaming-cdn.apple.com/videos/wwdc/2017/711d9xpgp3203tlq/711/711_accelerate_and_sparse_solvers.pdf

  • Direct methods perform a factorization such as Cholesky (A = LLᵀ) or QR. These methods provide a fast and accurate black-box solution.

  • Iterative methods find an approximate solution requiring only repeated multiplication by Aor Aᵀ. Although they require less memory than direct methods, and can be faster for very large problems, they typically require problem-specific preconditioners to be effective.

你可能感兴趣的文章
yuv420 format
查看>>
YUV420只绘制Y通道
查看>>
yuv420 还原为RGB图像
查看>>
LED恒流驱动芯片
查看>>
驱动TFT要SDRAM做为显示缓存
查看>>
使用file查看可执行文件的平台性,x86 or arm ?
查看>>
qt5 everywhere 编译summary
查看>>
qt5 everywhere编译完成后,找不到qmake
查看>>
交叉编译在x86上调试好的qt程序
查看>>
qt 创建异形窗体
查看>>
可重入函数与不可重入函数
查看>>
简单Linux C线程池
查看>>
内存池
查看>>
输入设备节点自动生成
查看>>
GNU hello代码分析
查看>>
Qt继电器控制板代码
查看>>
wpa_supplicant控制脚本
查看>>
gstreamer相关工具集合
查看>>
RS232 四入四出模块控制代码
查看>>
gstreamer插件之 videotestsrc
查看>>