需要帮助/建议 [英] Require help/suggestion

查看:77
本文介绍了需要帮助/建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我是这个小组的新手......我从来不知道这个

组中的情况发生了什么......但是被带到这里的是cpp ..我们目前是一个人/>
onw reaserch的一部分...我对所有事情都很陌生..我可以用c编写和

a在cpp中...说...我是一个公平的程序员...那里在我的研究工作中是一个新的问题...如果解决了,给我一个gud工具

以更好的方式开发我的编程.Lemme描述我的概率...


i在我的编程中有例程,目前正在计算一些(NL *

L)矩阵...其中N和L都有变化。 ...所以我有一套

矩阵,它们的尺寸各不相同。 n伙计们,wot the wrost部分

是...我再次计算这些相同的矩阵n ...浪费

时间和记忆...忘记abt存储在记忆中,忘记abt

重新计算它们...我需要将这些尺寸变化的

矩阵写入文件中...并再次读取我的一个特定矩阵bak

我什么时候需要它。你可以想象...... N和L是数百......而且我需要从

文件中的矩阵池中获取bak我所需的矩阵...和一个更多的事情...我不能使用不同的文件用于不同的

矩阵..它们中的一个必须包含在一个文件中..并且每个

矩阵边界必须很好定义..帮我解决这个问题....

如何才能解决这个问题..如果你们能给我们一个解决这个问题的话,我会很感激。 ..而且我也没有太多时间,所以

请快点。谢谢伙计,


Sandeep Chandra

Hey guys, I am new to this group.. i never know wot s going on in this
group.. but wot made be brought here is cpp.. guys am currently a
part of onw reaserch ... am new to everything.. i can prog in c and
a bit in cpp.. to say ..am a fair programmer... there is a new
problem in my research work.. which if solved , gives me a gud tool
to develop my prog in a much better way.. lemme describe my prob...

i have a routine in my prog which is currently calculating some (N-L *
L )matrixes... where both N and L vary.... so i have got a set of
matrixes which are varying in dimensions. n guys , wots the wrost part
is ... i am calculating these same matrixes again n again... waste of
time and memory... forget abt storing in memory, forget abt
recalculating them... i need to write these dimensionally varying
matrixes on to a file.. and read bak my one particular matrix bak again
when ever i need it. u can imagine ..N and L are in hundreds.. and i
need to get bak my required matrix from the pool of matrixes in a
file.. and one more thing... i cant use different files for different
matrixes.. alll of them must be contained in one single file.. and each
matrixes boundries must be well defined.. help me out buddiess....
how can solve this problem.. i will be thankful if u guys can give
me a solution to this problem...and i dont have much time also, so
please make it quick. Thank you buddy,

Sandeep Chandra

推荐答案

sandeep chandra写道:
sandeep chandra wrote:
嘿伙计们,我是这个小组的新手......我从来不知道这个
小组中发生了什么......但是被带到这里的是cpp ..伙计们目前是
onw reaserch的一部分...我对一切都很陌生..我可以用c编写一下并且有点用cpp ...来说...一个公平的程序员...有一个新的

特别是对于非英语母语的人来说,如果你的b
拼写看起来很熟悉,那真的会有所帮助:英语中的声音信件对象是远离双射的
,这使得有时很难猜出你用哪个词来b / b缩写。


i在我的编程中有例程正在计算一些(N L *
L)矩阵...其中N和L都变化....所以我有一组尺寸不同的
矩阵。 n伙计们,wot the wrost部分
是...我再次计算这些相同的矩阵n ...浪费时间和记忆...忘记abt存储在记忆中,忘记abt
重新计算它们......我需要将这些尺寸变化的矩阵写入文件中...并且当我需要它时再次读取我的一个特定矩阵bak。你可以想象..N和L是数百......而且我需要从
文件中的矩阵池中获取所需的矩阵...还有一件事...我不能使用不同的文件用于不同的
矩阵..它们的元素必须包含在一个单独的文件中..并且每个
矩阵边界必须很好地定义..帮助我淘汰佛教....
如何可以解决这个问题..如果你们能给我一个解决这个问题的解决方案我会很感激...我也没有太多时间,所以
请快点。谢谢伙计,
Hey guys, I am new to this group.. i never know wot s going on in this
group.. but wot made be brought here is cpp.. guys am currently a
part of onw reaserch ... am new to everything.. i can prog in c and
a bit in cpp.. to say ..am a fair programmer... there is a new
problem in my research work.. which if solved , gives me a gud tool
to develop my prog in a much better way.. lemme describe my prob...
Especially for non-native speakers of English, it really would help if your
spellings looked familiar: the sound-letter correspondence in English is
far from a bijection, which makes it sometimes hard to guess which word you
abbreviate.

i have a routine in my prog which is currently calculating some (N-L *
L )matrixes... where both N and L vary.... so i have got a set of
matrixes which are varying in dimensions. n guys , wots the wrost part
is ... i am calculating these same matrixes again n again... waste of
time and memory... forget abt storing in memory, forget abt
recalculating them... i need to write these dimensionally varying
matrixes on to a file.. and read bak my one particular matrix bak again
when ever i need it. u can imagine ..N and L are in hundreds.. and i
need to get bak my required matrix from the pool of matrixes in a
file.. and one more thing... i cant use different files for different
matrixes.. alll of them must be contained in one single file.. and each
matrixes boundries must be well defined.. help me out buddiess....
how can solve this problem.. i will be thankful if u guys can give
me a solution to this problem...and i dont have much time also, so
please make it quick. Thank you buddy,




只是要求澄清:


a)这是一个计算和写一次 - 经常阅读事物的类型,或者你需要写回存储在文件中的矩阵的变化吗?


b)如果需要更新文件中的矩阵,矩阵的大小

是否仍然相同或者可能会改变? (这将排除一些简单的

头脑的想法。)


c)为什么你不能使用不同的文件来获得不同的尺寸

矩阵?由于OS

约束,您是否只有最大数量的文件,或者是否有未提及的设计约束表明您

可能只使用一个文件?如果是这样,为什么。


d)你是否需要文件中的数据是持久的,即保持存在

并且在程序结束后有意义?< br $> b $ b最好


Kai-Uwe Bux



Just a request for clarifications:

a) Is this a "compute and write once -- read often" type of thing, or will
you need to write back changes to the matrices stored in the file?

b) If you need to update matrices in the file, will the size of the matrix
still be the same or might it change, too? (This would rule out some simple
minded ideas.)

c) Why is it that you cannot use different files for different dimensions of
the matrix? Do you just have a maximum number of files due to OS
constraints or is there is an unmentioned design constraint that says you
may use only one file? If so, why.

d) Do you need the data in the file to be persistent, i.e., remain existent
and meaningful after the program finished?
Best

Kai-Uwe Bux


sandeep chandra写道:
sandeep chandra wrote:
嘿伙计们,我是这个小组的新手..我从来不知道在这个小组中发生了什么......但是被带到这里的是cpp ..伙计们目前是
onw reaserch的一部分...我对一切都很陌生..我可以在c中编程和
在cpp ... ...说...一个公平的程序员......有一个新的
问题我的研究工作......如果解决的话,给我一个gud工具,以更好的方式开发我的编程... lemme描述我的概念...

我有一个例程在我的正在计算一些(NL *
L)矩阵的编程...其中N和L都变化....所以我有一组尺寸不同的
矩阵。 n伙计们,wot the wrost部分
是...我再次计算这些相同的矩阵n ...浪费时间和记忆...忘记abt存储在记忆中,忘记abt
重新计算它们......我需要将这些尺寸变化的矩阵写入文件中...并且当我需要它时再次读取我的一个特定矩阵bak。你可以想象..N和L是数百......而且我需要从
文件中的矩阵池中获取所需的矩阵...还有一件事...我不能使用不同的文件用于不同的
矩阵..它们的元素必须包含在一个单独的文件中..并且每个
矩阵边界必须很好地定义..帮助我淘汰佛教....
如何可以解决这个问题..如果你们能给我一个解决这个问题的解决方案我会很感激...我也没有太多时间,所以
请快点。谢谢伙计,

Sandeep Chandra
Hey guys, I am new to this group.. i never know wot s going on in this
group.. but wot made be brought here is cpp.. guys am currently a
part of onw reaserch ... am new to everything.. i can prog in c and
a bit in cpp.. to say ..am a fair programmer... there is a new
problem in my research work.. which if solved , gives me a gud tool
to develop my prog in a much better way.. lemme describe my prob...

i have a routine in my prog which is currently calculating some (N-L *
L )matrixes... where both N and L vary.... so i have got a set of
matrixes which are varying in dimensions. n guys , wots the wrost part
is ... i am calculating these same matrixes again n again... waste of
time and memory... forget abt storing in memory, forget abt
recalculating them... i need to write these dimensionally varying
matrixes on to a file.. and read bak my one particular matrix bak again
when ever i need it. u can imagine ..N and L are in hundreds.. and i
need to get bak my required matrix from the pool of matrixes in a
file.. and one more thing... i cant use different files for different
matrixes.. alll of them must be contained in one single file.. and each
matrixes boundries must be well defined.. help me out buddiess....
how can solve this problem.. i will be thankful if u guys can give
me a solution to this problem...and i dont have much time also, so
please make it quick. Thank you buddy,

Sandeep Chandra




对于'公平的程序员'来说问题似乎并不困难,什么<你有没有挣扎?
你要解决这个问题吗?

要解决这个问题,但是需要更多的信息,比如说有什么限制吗?您将存储在此文件中的矩阵数量?

您说您只需要一个文件,使用两个文件是否合理?

一个文件将充当索引到另一个文件。


john



The problem doesn''t seem very difficult for a ''fair programmer'', what
part are you struggling with?

To solve it however more information is needed, for instance are there
any limits on the number of matrices that you will store in this file?
You say you need only one file, would it be reasonable to use two files?
One file would act as an index into the other file.

john




" sandeep chandra" < SA *************** @ gmail.com>在消息中写道

news:11 ********************** @ g44g2000cwa.googlegr oups.com ...

"sandeep chandra" <sa***************@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
嘿伙计们,我是这个小组的新手......我从来不知道在这个
小组中发生了什么......但是被带到这里的是cpp ..我们目前是一个
部分onw reaserch ...对所有事情都很陌生..我可以在c中编程和
在cpp中说... ...说...一个公平的程序员...我的问题有新的问题研究工作..如果解决了,给我一个gud工具
以更好的方式开发我的编程... lemme描述我的概率......
Hey guys, I am new to this group.. i never know wot s going on in this
group.. but wot made be brought here is cpp.. guys am currently a
part of onw reaserch ... am new to everything.. i can prog in c and
a bit in cpp.. to say ..am a fair programmer... there is a new
problem in my research work.. which if solved , gives me a gud tool
to develop my prog in a much better way.. lemme describe my prob...




由于你是小组的新手,让我就你在这里发布的帖子提出建议:


请使用完整的句子。就此而言,完整的话语。这个

不是Instant Messenger或手机。阅读上面的段落就像阅读第二次世界大战时代的旧电报一样。如果你需要帮助,请花点时间写清楚,我们更有可能花时间阅读

并回复,好吗?


-Howard



Since you''re new to the group, let me make a suggestion regarding posts you
make here:

Please use complete sentences. And complete words, for that matter. This
is not Instant Messenger, or a cell phone. Reading the above paragraph is
like reading old telegrams from the World War 2 era. If you want help, take
the time to write legibly, and we''re more likely to take the time to read
and respond, ok?

-Howard


这篇关于需要帮助/建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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