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

A dynamically sized arithmetic vector. More...

Inheritance diagram for IOLink.VectorXf:

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

float this[uint index] [get, set]
 

Detailed Description

A dynamically sized arithmetic vector.

Constructor & Destructor Documentation

◆ VectorXf()

IOLink.VectorXf.VectorXf ( uint  size)
inline

Creates an unitialized vector.

Parameters
sizeThe size of the vector.

Member Function Documentation

◆ CreateUniform()

static VectorXf IOLink.VectorXf.CreateUniform ( uint  size,
float  value 
)
inlinestatic

Creates a vector filled with one value.

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

◆ Cross()

VectorXf IOLink.VectorXf.Cross ( VectorXf  v)
inline

Cross product of two vectors.

Work only for vectors of size 3.

◆ Length()

double IOLink.VectorXf.Length ( )
inline

Returns the vector's norm.

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

◆ SquaredLength()

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