(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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice