Re: matmul does not work.



Kurda Yon <kurdayon@xxxxxxxxx> wrote:

If the declared sizes of
the arrays are different from your loop indices, then things will be
very different.

Thank you!!! It was the reason of the problem. I made a mistake
because of which my matrices had wrong size.

Oh. I can't say that was a lucky guess because I wasn't even guessing
that. I was just explaining one of the kinds of reasons why I wanted to
see the declarations before spending any time on the problem. Glad your
problem is solved anyway. :-)

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages

  • Re: matmul does not work.
    ... the arrays are different from your loop indices, ... It was the reason of the problem. ... I made a mistake ...
    (comp.lang.fortran)
  • Re: trouble creating array of objects
    ... >1 reason he might not want to use vectors is perhaps because he isn't ready ... >Or perhaps he is simply learning about Arrays. ... there is a learning curve to telling newbie's to ... Comeau C/C++ with Dinkumware's Libraries... ...
    (alt.comp.lang.learn.c-cpp)
  • Re: trouble creating array of objects
    ... >>1 reason he might not want to use vectors is perhaps because he isn't ... >>Or perhaps he is simply learning about Arrays. ... A programmer should at least know and understand templates before they use ...
    (alt.comp.lang.learn.c-cpp)
  • Re: [PATCH 1/2] avoid OPEN_MAX in SCM_MAX_FD
    ... In git, I used PATH_MAX, and the reason ... I want a constant for arrays ... to some paper standard". ... realize that modern distributions don't put the kernel headers in their ...
    (Linux-Kernel)
  • Re: trouble creating array of objects
    ... > about dynamically multidimensinoal arrays is described. ... it's an excellent learning excercise. ... This is called the C++ standard template library and it is an addition to ... >> Another reason might be the overheads incurred. ...
    (alt.comp.lang.learn.c-cpp)