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. More...
|
|
| Matrix (Array elements, BuiltInType builtInType, params int[] dimensions) |
| Initializes the matrix with a one dimensional array and a list of dimensions. More...
|
|
override bool | Equals (object obj) |
| Determines whether the specified System.Object is equal to this instance. More...
|
|
override int | GetHashCode () |
| Returns a hash code for this instance. More...
|
|
Array | ToArray () |
| Returns the flattened array as a multi-dimensional array. More...
|
|
string | ToString (string format, IFormatProvider formatProvider) |
| Returns the string representation of the object. More...
|
|
object | Clone () |
| Makes a deep copy of the object. More...
|
|
|
static Array | FlattenArray (Array array) |
| Converts a multidimension array to a flat array. More...
|
|
Wraps a multi-dimensional array for use within a Variant.
UnifiedAutomation.UaBase.Matrix.Matrix |
( |
Array |
value, |
|
|
BuiltInType |
builtInType |
|
) |
| |
|
inline |
Initializes the matrix with a multidimensional array.
UnifiedAutomation.UaBase.Matrix.Matrix |
( |
Array |
elements, |
|
|
BuiltInType |
builtInType, |
|
|
params int[] |
dimensions |
|
) |
| |
|
inline |
Initializes the matrix with a one dimensional array and a list of dimensions.
object UnifiedAutomation.UaBase.Matrix.Clone |
( |
| ) |
|
|
inline |
Makes a deep copy of the object.
- Returns
- A new object that is a copy of this instance.
override bool UnifiedAutomation.UaBase.Matrix.Equals |
( |
object |
obj | ) |
|
|
inline |
Determines whether the specified System.Object is equal to this instance.
- Parameters
-
obj | The System.Object to compare with this instance. |
- Returns
true
if the specified System.Object is equal to this instance; otherwise, false
.
static Array UnifiedAutomation.UaBase.Matrix.FlattenArray |
( |
Array |
array | ) |
|
|
inlinestatic |
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]
override int UnifiedAutomation.UaBase.Matrix.GetHashCode |
( |
| ) |
|
|
inline |
Returns a hash code for this instance.
- Returns
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Array UnifiedAutomation.UaBase.Matrix.ToArray |
( |
| ) |
|
|
inline |
Returns the flattened array as a multi-dimensional array.
string UnifiedAutomation.UaBase.Matrix.ToString |
( |
string |
format, |
|
|
IFormatProvider |
formatProvider |
|
) |
| |
|
inline |
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:
- D:/work/uasdknet_master/src/UaBase/BuiltIn/Matrix.cs