Creates Coordinates from input data.
Use this to create coordinates within an expression.
menu: veeos ==> Data ==> Conversion ==> toCoord
library: dataLib
toCoord((1,2)) creates a scalar coordinate with X=1 and Y=2
toCoord((1,@90)) creates a scalar coordinate with X=0 and Y=1
toCoord(<array 1D of complex>) creates a array of coordinates
toCoord([1,2,3]) creates a scalar 3D coordinate (1,2,3)
toCoord([[1,2,3],[4,5,6]]) creates an array 1D of 2D coordinates
While VEE syntax provides the ability to create and examine Complex and PComplex data within expressions, it lack the ability to do the same with coordinates. Hence one is left with the often-clumsy need to use the Build and Unbuild Coord objects instead. This function allows the user to convert Complex and PComplex data to 2D coordinates and also allows one to build 2D or 3D coordinates from scratch using an array as input.
VEE 7.0+, all platforms