#NEWLINE# def PlusConst( self , const ) : #NEWLINE# #INDENT# 'Add a constant to all values of this Solution.' #NEWLINE# return self . __class__ ( self . knots , self . spans , [ ( a + const ) for a in self . intercepts ] , self . gradients , self . layouts )