1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

(C++)advice needed on reading and writting vectors

Discussion in 'C++' started by lnname, Jan 21, 2010.

  1. lnname

    lnname New Member

    Joined:
    Jan 20, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    york uk
    I am currently writting programs that deall with time series annalysis (like the Tisean package for c).

    I have got to a stage where i have converted the time series into a big list of vectors which need to be output and processessed.

    I am not sure how i should output them;
    either prescenting each vector as a row and the next vector on the next line

    like
    "1 2 3
    2 3 4
    4 5 6"

    or putting each vector as a column and putting in a gap or symbol in between
    "1
    2
    3

    2
    3
    4

    4
    5
    6"

    My main concern is how is how i should read them. Frankly i have only dealt with programs that dealt with lists of numbers before, so have little idea how eiither would work.
     

Share This Page