[Numpy-discussion] Constant array

Carlos Pita carlosjosepita at yahoo.com.ar
Mon Aug 28 00:55:56 CDT 2006


Hi all!
Is there a more efficient way of creating a constant K-valued array of size N than:
zeros(N) + K
?
Thank you in advance.
Regards, Carlos

 		
---------------------------------
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
 está en Yahoo! Respuestas (Beta).
 Probalo ya! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060828/83877426/attachment.html 


More information about the Numpy-discussion mailing list