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

A dynamically sized arithmetic vector. More...

Inheritance diagram for IOLink.VectorXi64:

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

long this[uint index] [get, set]
 

Detailed Description

A dynamically sized arithmetic vector.

Examples
GrayscaleSphere.cs.

Constructor & Destructor Documentation

◆ VectorXi64()

IOLink.VectorXi64.VectorXi64 ( uint  size)
inline

Creates an unitialized vector.

Parameters
sizeThe size of the vector.

Member Function Documentation

◆ CreateUniform()

static VectorXi64 IOLink.VectorXi64.CreateUniform ( uint  size,
long  value 
)
inlinestatic

Creates a vector filled with one value.

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

◆ Cross()

VectorXi64 IOLink.VectorXi64.Cross ( VectorXi64  v)
inline

Cross product of two vectors.

Work only for vectors of size 3.

◆ Length()

double IOLink.VectorXi64.Length ( )
inline

Returns the vector's norm.

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

Examples
GrayscaleSphere.cs.

◆ SquaredLength()

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