Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. usermg

    sparse-sparse matrix product BLAS

    Hello everybody, I have written a code in fortran capable of making the product between a large sparse matrix and another large sparse matrix (quite fast). In order to verify if my results are correct and if the code is enough fast I was wondering if some external subroutine could do the same...
  2. usermg

    Getting the name of an array from a string

    Hello everyone. Excuse me because I have been abroad for three days and was just able to look at the e-mail thorugh the mobile phone. I understand the idea of your codes, and they work. However, I will maybe end by using another time the if statements. My problem is that the arrays 'array1'...
  3. usermg

    Getting the name of an array from a string

    Thanks salgerman for your suggestion. In fact, in my case, I have arrays defined such as 'array1(:,:)', 'array2(:,:)', 'array3(:,:)'.... which I allocate during the program. I have tried to create a short array of pointers pointing to the first element of each of these matrices, but it seems to...
  4. usermg

    Getting the name of an array from a string

    Well, when I said memory consuming I just referred to time consuming (sorry). When 'if statements' are present, there is an evaluation to choose the condition and it makes the caluclations to go slower, this is why I wanted to avoid if statements in this case. However, I have found a way...
  5. usermg

    Getting the name of an array from a string

    Thanks guys. 'Mikrom', what you propose is what I did from the beginning. The problem is that I want to avoid using 'if' statements, as the whole program consumes lot of memory. This is why I want to create the string. For instance, if my arrays are called array1, array2, array3, and array4...
  6. usermg

    Getting the name of an array from a string

    Hello everybody, I have a question related to fortran 90. I have a subroutine named for instance f1 that needs an array 'a' (defined as double precision) and gives some output. That is ----> f1(a,output). Now, imagine that I would like to call the subroutine f1, but giving the name of the...

Part and Inventory Search

Back
Top