|
Programming Reference for VirtualLab Fusion
2022.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class to encapsulate an array of objects of type ComplexFieldDerivative1D. It also ensures that all entries are either complex or real valued.
More...
Public Member Functions | |
| void | AddRange (ComplexField1DArray arrayToAdd) |
| Adds a range of complex fields, provided by another ComplexField1DArray, to this. More... | |
| object | Clone () |
| Creates a deep copy of this ComplexField1DArray object. More... | |
| ComplexField1DArray () | |
| Default constructor. Creates an empty array of length 1. | |
| ComplexField1DArray (ComplexField1DArray array) | |
| Copy constructor More... | |
| ComplexField1DArray (ComplexField[] array) | |
| Constructor that gets an array of equally sized ComplexFieldDerivative1D objects More... | |
| ComplexField1DArray (ComplexFieldDerivative1D[] array) | |
| Constructor that gets an array of equally sized ComplexFieldDerivative1D objects More... | |
| ComplexField1DArray (long length) | |
| Constructor that creates an empty array of a given length. More... | |
| ComplexField1DArray (long length, long lengthOfComplexFields, bool isComplex, PrecisionMode precision) | |
| Initializes a new instance of the ComplexField1DArray class. More... | |
| void | Dispose () |
| Frees all memory that is used to store the data. | |
| ComplexFieldDerivative1D[] | ToArray () |
| Returns this class as array of ComplexFieldDerivative1D. More... | |
Static Public Member Functions | |
| static bool | operator!= (ComplexField1DArray cf1, ComplexField1DArray cf2) |
| Checks whether two ComplexField1DArray objects are unequal. More... | |
| static bool | operator== (ComplexField1DArray cf1, ComplexField1DArray cf2) |
| Checks whether two ComplexField1DArray objects are equal. More... | |
Properties | |
| int | Length [get] |
| Gets the length of the array | |
| int | SamplingPoints [get] |
| Gets the number of SamplingPoints. Returns (0) for an empty array. | |
| ComplexFieldDerivative1D | this[long index] [get, set] |
| Indexer to get or set a contained ComplexFieldDerivative1D object. More... | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class to encapsulate an array of objects of type ComplexFieldDerivative1D. It also ensures that all entries are either complex or real valued.
| ComplexField1DArray | ( | ComplexFieldDerivative1D[] | array | ) |
Constructor that gets an array of equally sized ComplexFieldDerivative1D objects
| array | One or more ComplexFieldDerivative1D objects or an array of ComplexFieldDerivative1D objects. |
| ComplexField1DArray | ( | ComplexField[] | array | ) |
Constructor that gets an array of equally sized ComplexFieldDerivative1D objects
| array | One or more ComplexField objects or an array of ComplexField objects. |
| ComplexField1DArray | ( | ComplexField1DArray | array | ) |
Copy constructor
| array | ComplexField1DArray to copy |
| ComplexField1DArray | ( | long | length | ) |
Constructor that creates an empty array of a given length.
| length | Length of the array to create. |
| ComplexField1DArray | ( | long | length, |
| long | lengthOfComplexFields, | ||
| bool | isComplex, | ||
| PrecisionMode | precision | ||
| ) |
Initializes a new instance of the ComplexField1DArray class.
| length | The number of entries in the array. |
| lengthOfComplexFields | The number of sampling points in one member field. |
| isComplex | if set to true the member fields are used to store complex numbers. |
| precision | Precision of the new complexFields |
| void AddRange | ( | ComplexField1DArray | arrayToAdd | ) |
Adds a range of complex fields, provided by another ComplexField1DArray, to this.
| arrayToAdd | ComplexField1DArray to get the complex fields to add from. |
| object Clone | ( | ) |
Creates a deep copy of this ComplexField1DArray object.
|
static |
Checks whether two ComplexField1DArray objects are unequal.
| cf1 | The first ComplexField1DArray. |
| cf2 | The second ComplexField1DArray. |
|
static |
Checks whether two ComplexField1DArray objects are equal.
| cf1 | The first ComplexField1DArray. |
| cf2 | The second ComplexField1DArray. |
| ComplexFieldDerivative1D[] ToArray | ( | ) |
Returns this class as array of ComplexFieldDerivative1D.
|
getset |
Indexer to get or set a contained ComplexFieldDerivative1D object.
| index | Index to access |