pub fn write_array<W>(writer: &mut W, array: &Array<f64>) -> Result<()>where W: Write,
Writes an array in npy format to a writer.