[MATRIX-SIG] newbie question: convert array of floats to integer

Jean-Bernard ADDOR jbaddor@phy.ulaval.ca
Sat, 28 Jun 1997 09:57:43 -0400 (EDT)


try somethink like:

new_array = Numeric.array(old_array, Numeric.Integer)

A bientot,

	Jean-Bernard


On Fri, 27 Jun 1997, Kelvin Lee wrote:

> Hopefully this doesn't sound like too naive a question... What's the
> easiest way to change the typecode of an array?
> 
> Kelvin
> 
> 
> 
> _______________
> MATRIX-SIG  - SIG on Matrix Math for Python
> 
> send messages to: matrix-sig@python.org
> administrivia to: matrix-sig-request@python.org
> _______________
> 


_______________
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________