[Numpy-discussion] Constant array

Carlos Pita carlosjosepita at yahoo.com.ar
Mon Aug 28 01:55:56 EDT 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://mail.python.org/pipermail/numpy-discussion/attachments/20060828/83877426/attachment.html>


More information about the NumPy-Discussion mailing list