comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: transforming a row vector into a column vector (continued)

transforming a row vector into a column vector (continued)
type: item
description: Hello, I want to transform the row vector (1-D array) into a column vector. Having a row vector a: IDL> a = [1,2,3,4] If I use the transpose command: IDL> b = transpose(a) I get the following: IDL> print, size(a) 1 4 2 4 IDL> print, size(b) 2 1 4 2 4 With the transpose command b becomes a 2-D array. How to preserve to one dimension aspect ? By the way, is there a possibility for knowing what type (row or colum) is a vector ? Thanks, Francois.
creator: Francois L.
date: 2005-10-25T14:01:20-00:00