IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.VectorXu32 Class Reference

A dynamically sized arithmetic vector. More...

Inheritance diagram for IOLink.VectorXu32:

Public Member Functions

 VectorXu32 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 VectorXu32 (params uint[] values)
 
override bool Equals (object obj)
 
 VectorXu32 ()
 Creates an empty vector.
 
 VectorXu32 (uint size)
 Creates an unitialized vector.
 
 VectorXu32 (VectorXu32 other)
 
uint Size ()
 Returns the size of the vector, which also correspond to vector number of dimension.
 
uint At (uint index)
 Access vector's value at given index.
 
void SetAt (uint index, uint value)
 Set value as given index.
 
double SquaredLength ()
 Returns the vector's norm, squared.
 
double Length ()
 Returns the vector's norm.
 
void Normalize ()
 Normalize the vector.
 
string ToString ()
 
uint Dot (VectorXu32 v)
 Dot product.
 
VectorXu32 Cross (VectorXu32 v)
 Cross product of two vectors.
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (VectorXu32 obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (VectorXu32 obj)
 
static bool operator== (VectorXu32 v1, VectorXu32 v2)
 
static bool operator!= (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 operator+ (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 operator- (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 operator* (VectorXu32 v, uint value)
 
static VectorXu32 operator* (uint value, VectorXu32 v)
 
static VectorXu32 operator/ (VectorXu32 v, uint value)
 
static VectorXu32 operator* (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 operator/ (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 CreateUniform (uint size, uint value)
 Creates a vector filled with one value.
 
static bool InternalNotEqual (VectorXu32 v1, VectorXu32 v2)
 
static VectorXu32 InternalDivides (VectorXu32 v, uint value)
 
static VectorXu32 InternalDivides (VectorXu32 v1, VectorXu32 v2)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

uint this[uint index] [get, set]
 

Detailed Description

A dynamically sized arithmetic vector.

Constructor & Destructor Documentation

◆ VectorXu32()

IOLink.VectorXu32.VectorXu32 ( uint  size)
inline

Creates an unitialized vector.

Parameters
sizeThe size of the vector.

Member Function Documentation

◆ CreateUniform()

static VectorXu32 IOLink.VectorXu32.CreateUniform ( uint  size,
uint  value 
)
inlinestatic

Creates a vector filled with one value.

Parameters
sizeThe size of the vector.
valueThe value used to fill the vector.

◆ Cross()

VectorXu32 IOLink.VectorXu32.Cross ( VectorXu32  v)
inline

Cross product of two vectors.

Work only for vectors of size 3.

◆ Length()

double IOLink.VectorXu32.Length ( )
inline

Returns the vector's norm.

Specifically, it is the L1 norm that's computed here.

◆ SquaredLength()

double IOLink.VectorXu32.SquaredLength ( )
inline

Returns the vector's norm, squared.

Specifically, it is the L1 norm that's computed here.


The documentation for this class was generated from the following file: