![]() |
IOLink C# 1.16.1
|
A dynamically sized arithmetic vector. More...
Public Member Functions | |
| VectorXd (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| VectorXd (params double[] values) | |
| override bool | Equals (object obj) |
| VectorXd () | |
| Creates an empty vector. | |
| VectorXd (uint size) | |
| VectorXd (VectorXd other) | |
| uint | Size () |
| Returns the size of the vector, which also correspond to vector number of dimension. | |
| double | At (uint index) |
| Access vector's value at given index. | |
| void | SetAt (uint index, double value) |
| Set value as given index. | |
| double | SquaredLength () |
| double | Length () |
| void | Normalize () |
| Normalize the vector. | |
| string | ToString () |
| double | Dot (VectorXd v) |
| Dot product. | |
| VectorXd | Cross (VectorXd v) |
Static Public Member Functions | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (VectorXd obj) |
| static global::System.Runtime.InteropServices.HandleRef | swigRelease (VectorXd obj) |
| static bool | operator== (VectorXd v1, VectorXd v2) |
| static bool | operator!= (VectorXd v1, VectorXd v2) |
| static VectorXd | operator+ (VectorXd v1, VectorXd v2) |
| static VectorXd | operator- (VectorXd v1, VectorXd v2) |
| static VectorXd | operator* (VectorXd v, double value) |
| static VectorXd | operator* (double value, VectorXd v) |
| static VectorXd | operator/ (VectorXd v, double value) |
| static VectorXd | operator* (VectorXd v1, VectorXd v2) |
| static VectorXd | operator/ (VectorXd v1, VectorXd v2) |
| static VectorXd | CreateUniform (uint size, double value) |
| static bool | InternalNotEqual (VectorXd v1, VectorXd v2) |
| static VectorXd | InternalDivides (VectorXd v, double value) |
| static VectorXd | InternalDivides (VectorXd v1, VectorXd v2) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Protected Attributes | |
| bool | swigCMemOwn |
Properties | |
| double | this[uint index] [get, set] |
A dynamically sized arithmetic vector.
|
inline |
Creates an unitialized vector.
| size | The size of the vector. |
|
inlinestatic |
Creates a vector filled with one value.
| size | The size of the vector. |
| value | The value used to fill the vector. |
Cross product of two vectors. Work only for vectors of size 3.
|
inline |
Returns the vector's norm. Specifically, it is the L1 norm that's computed here.
|
inline |
Returns the vector's norm, squared. Specifically, it is the L1 norm that's computed here.