Wraps a multi-dimensional array for use within a Variant.
More...
Inherits IFormattable, and ICloneable.
|
| Matrix (Array value, BuiltInType builtInType) |
| Initializes the matrix with a multidimensional array.
|
|
| Matrix (Array elements, BuiltInType builtInType, params int[] dimensions) |
| Initializes the matrix with a one dimensional array and a list of dimensions.
|
|
Array | ToArray () |
| Returns the flattened array as a multi-dimensional array.
|
|
string | ToString (string format, IFormatProvider formatProvider) |
| Returns the string representation of the object.
|
|
object | Clone () |
| Makes a deep copy of the object.
|
|
|
static Array | FlattenArray (Array array) |
| Converts a multidimension array to a flat array.
|
|
Wraps a multi-dimensional array for use within a Variant.
UnifiedAutomation.UaBase.Matrix.Matrix |
( |
Array |
value, |
|
|
BuiltInType |
builtInType |
|
) |
| |
Initializes the matrix with a multidimensional array.
UnifiedAutomation.UaBase.Matrix.Matrix |
( |
Array |
elements, |
|
|
BuiltInType |
builtInType, |
|
|
params int[] |
dimensions |
|
) |
| |
Initializes the matrix with a one dimensional array and a list of dimensions.
object UnifiedAutomation.UaBase.Matrix.Clone |
( |
| ) |
|
Makes a deep copy of the object.
- Returns
- A new object that is a copy of this instance.
static Array UnifiedAutomation.UaBase.Matrix.FlattenArray |
( |
Array |
array | ) |
|
|
static |
Converts a multidimension array to a flat array.
The higher rank dimensions are written first. e.g. a array with dimensions [2,2,2] is written in this order: [0,0,0], [0,0,1], [0,1,0], [0,1,1], [1,0,0], [1,0,1], [1,1,0], [1,1,1]
Array UnifiedAutomation.UaBase.Matrix.ToArray |
( |
| ) |
|
Returns the flattened array as a multi-dimensional array.
string UnifiedAutomation.UaBase.Matrix.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
Returns the string representation of the object.
- Parameters
-
format | (Unused) Always pass a NULL value |
formatProvider | The format-provider to use. If unsure, pass an empty string or null |
- Returns
- A T:System.String containing the value of the current instance in the specified format.
Returns the string representation of the object.
- Exceptions
-
FormatException | Thrown when the 'format' argument is NOT null. |
int [] UnifiedAutomation.UaBase.Matrix.Dimensions |
|
get |
The dimensions of the matrix.
The dimensions of the array.
Array UnifiedAutomation.UaBase.Matrix.Elements |
|
get |
The elements of the matrix.
An array of elements.
TypeInfo UnifiedAutomation.UaBase.Matrix.TypeInfo |
|
get |
The type information for the matrix.
The type information.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/BuiltIn/Matrix.cs