code: def loadVectorsFromFile(self, filename, cols = None, everyNrows = 1,
                              delim = ' ', checkEven = 1, patterned = 0):
          
          fp = open(filename, "r")
          line = fp.readline()
          lineno = 0
          lastLength = None
          data = []
          while line:
              if lineno % everyNrows == 0:
                  if patterned:
                      linedata1 = [x for x in line.strip().split(delim)]
                  else:
                      linedata1 = [float(x) for x in line.strip().split(delim)]
              else:
                  lineno += 1
                  line = fp.readline()
                  continue
              if cols == None: # get em all
                  newdata = linedata1
              else: # just get some cols
                  newdata = []
                  for i in cols:
                      newdata.append( linedata1[i] )
              if lastLength == None or (not checkEven) or (checkEven and len(newdata) == lastLength):
                  data.append( newdata )
              else:
                  raise ValueError("Data Format Error: line = %d, data = %s" % (lineno, newdata))
              lastLength = len(newdata)
              lineno += 1
              line = fp.readline()    
          fp.close()
          return data
docs: Deprecated.