You are here: Symbol Reference > Dew.Math Namespace > GridServices Class > GridServices Methods > GridToValues Method > GridToValues Method (DataGrid, TVec, bool, bool, bool)
Dew Math for .NET
Contents
PreviousUpNext
GridServices.GridToValues Method (DataGrid, TVec, bool, bool, bool)

Copies DataGrid elements to vector.

C#
public static TVec GridToValues(DataGrid grid, TVec dst, bool iscomplex, bool vertical, bool headers);
Parameters
Parameters 
Description 
grid 
Source DataGrid 
dst 
Destination vector holding values. 
iscomplex 
If true, two consecutive columns in grid will be treated as single complex number. If false, cells will be treated as real separate values. 
vertical 
If true, each column will be treated as separate number. 
headers 
If false, he acquisition starts at first cell [0,0]. If true, the first column and first row are ignored and submatrix starts at [1,1]. 
Returns

Vector with values from grid.

ValuesToGrid(TVec, DataGrid, int, int)

What do you think about this topic? Send feedback!
Copyright (c) 1999-2010 by Dew Research. All rights reserved.