|
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 ComplexField.
More...
Public Member Functions | |
| void | AddRange (ComplexFieldArray arrayToAdd) |
| Adds a range of complex fields, provided by another ComplexFieldArray, to this. More... | |
| ComplexFieldArray () | |
| Default constructor. Creates an empty array of length 1. | |
| ComplexFieldArray (ComplexField[] array) | |
| Constructor that gets an array of equally sized ComplexField objects More... | |
| ComplexFieldArray (ComplexFieldArray array) | |
| Copy constructor More... | |
| ComplexFieldArray (long length) | |
| Constructor that creates an empty array of a given length More... | |
| ComplexFieldArray (long length, Vector sampling, bool isComplex, PrecisionMode precision=PrecisionMode.Double) | |
| Constructor that creates an empty array of a given length where all member fields have the given sampling. More... | |
| ComplexField[] | ToArray () |
| Returns this class as array of ComplexField. More... | |
Properties | |
| int | Length [get] |
| Gets the length of the array. | |
| Vector | SamplingPoints [get] |
| Gets the number of SamplingPoints in x and y. Returns (0,0) for an empty array. | |
| ComplexField | this[long index] [get, set] |
| Indexer to get or set a contained ComplexField 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 ComplexField.
| ComplexFieldArray | ( | ComplexField[] | array | ) |
Constructor that gets an array of equally sized ComplexField objects
| array | One or more ComplexField objects or an array of ComplexField objects. |
| ComplexFieldArray | ( | ComplexFieldArray | array | ) |
Copy constructor
| array | ComplexFieldArray to copy |
| ComplexFieldArray | ( | long | length | ) |
Constructor that creates an empty array of a given length
| length | Length of the array to create. |
| ComplexFieldArray | ( | long | length, |
| Vector | sampling, | ||
| bool | isComplex, | ||
| PrecisionMode | precision = PrecisionMode.Double |
||
| ) |
Constructor that creates an empty array of a given length where all member fields have the given sampling.
| length | Length of the array |
| sampling | The sampling of the member fields. |
| isComplex | Are the member fields complex or not? |
| precision | Optional precision of the new complex fields. (Double precision by default.) |
| void AddRange | ( | ComplexFieldArray | arrayToAdd | ) |
Adds a range of complex fields, provided by another ComplexFieldArray, to this.
| arrayToAdd | ComplexFieldArray to get the complex fields to add from |
| ComplexField[] ToArray | ( | ) |
Returns this class as array of ComplexField.
|
getset |
Indexer to get or set a contained ComplexField object.
| index | Index to access |