Gets a reference to the underly data that this matrix is viewing.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleDataBlock DataBlock { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property DataBlock As DoubleDataBlock |
| Visual C++ |
|---|
public: property DoubleDataBlock^ DataBlock { DoubleDataBlock^ get (); void set (DoubleDataBlock^ value); } |
Remarks
Other objects may be using this data. Use with caution.
A pointer to the array of doubles may by obtained as follows:
CopyC#
A pointer to the array of doubles may by obtained as follows:
DoubleDataBlock block = matrix.DataBlock.data;
double *pData = &(block.Data[block.Offset]);