C语言中的并行共轭梯度 [英] Parallel-conjugate-gradient in C language

查看:92
本文介绍了C语言中的并行共轭梯度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要用c语言编写代码,我不知道cpp语言的说明可以帮助我将Parallel-Conjugate-Gradient转换为c



我尝试了什么:



----

解决方案

< blockquote class =quote>

引用:

我不知道cpp语言的说明

是时候学习了。你很幸运:那是非常 C 的代码。你基本上要取代新/删除 [ ^ ]使用 malloc / free 调用一些输出流语句与相应的 C 标准 printf 调用,其他很少。


I need this code in c language, I don't know the instructions of cpp language can anyone help me to convert Parallel-Conjugate-Gradient to c

What I have tried:

----

解决方案

Quote:

I don't know the instructions of cpp language

It's time to learn, then. You are lucky: that's very C-like code. You have basically to replace new/delete[^] calls with malloc/free ones, some output streams statements with corresponding C standard printf calls and very little else.


这篇关于C语言中的并行共轭梯度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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