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

A dynamically sized arithmetic vector. More...

Inheritance diagram for IOLink.VectorXu8:

Public Member Functions

 VectorXu8 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 VectorXu8 (params byte[] values)
 
override bool Equals (object obj)
 
 VectorXu8 ()
 Creates an empty vector.
 
 VectorXu8 (uint size)
 Creates an unitialized vector.
 
 VectorXu8 (VectorXu8 other)
 
uint Size ()
 Returns the size of the vector, which also correspond to vector number of dimension.
 
byte At (uint index)
 Access vector's value at given index.
 
void SetAt (uint index, byte 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 ()
 
byte Dot (VectorXu8 v)
 Dot product.
 
VectorXu8 Cross (VectorXu8 v)
 Cross product of two vectors.
 

Static Public Member Functions

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

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

byte this[uint index] [get, set]
 

Detailed Description

A dynamically sized arithmetic vector.

Constructor & Destructor Documentation

◆ VectorXu8()

IOLink.VectorXu8.VectorXu8 ( uint  size)
inline

Creates an unitialized vector.

Parameters
sizeThe size of the vector.

Member Function Documentation

◆ CreateUniform()

static VectorXu8 IOLink.VectorXu8.CreateUniform ( uint  size,
byte  value 
)
inlinestatic

Creates a vector filled with one value.

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

◆ Cross()

VectorXu8 IOLink.VectorXu8.Cross ( VectorXu8  v)
inline

Cross product of two vectors.

Work only for vectors of size 3.

◆ Length()

double IOLink.VectorXu8.Length ( )
inline

Returns the vector's norm.

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

◆ SquaredLength()

double IOLink.VectorXu8.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: