#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . X = R . standard_normal ( ( 40 , 10 ) ) #NEWLINE# self . namespace = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . terms = [ ] #NEWLINE# for i in range ( 10 ) : #NEWLINE# #INDENT# name = ( '%s' % string . uppercase [ i ] ) #NEWLINE# self . namespace [ name ] = self . X [ : , i ] #NEWLINE# self . terms . append ( formula . Term ( name ) ) #NEWLINE# #UNINDENT# self . formula = self . terms [ 0 ] #NEWLINE# for i in range ( 1 , 10 ) : #NEWLINE# #INDENT# self . formula += self . terms [ name ] #NEWLINE# #UNINDENT# self . formula . namespace = self . namespace