Table of Contents

Class VectorState

Namespace
NominalSystems.Maths
Assembly
NominalSystems.Maths.dll

A base class for vector value and variable classes.

public abstract class VectorState
Inheritance
VectorState
Derived

Constructors

VectorState()

protected VectorState()

Properties

this[int]

public abstract double this[int i] { get; set; }

Parameters

i int

Property Value

double

this[uint]

The get/set value accessor

public abstract double this[uint i] { get; set; }

Parameters

i uint

value index

Property Value

double

Size

The total size

public abstract uint Size { get; }

Property Value

uint

Methods

Copy()

A function for creating a value copy of this class.

public abstract VectorState Copy()

Returns

VectorState

MakeNull()

A method allowing values to be set to null.

public abstract bool MakeNull()

Returns

bool

A boolean indicating if the value was successfully set to null.

ResetValue()

Reset the value of the VectorState to it's default value.

public abstract void ResetValue()

Resize(int)

Change the size of the Vector State, if able. Will return false if the vector class cannot be resized.

public bool Resize(int size)

Parameters

size int

The new size of the Vector State

Returns

bool

A boolean indicating if the vector resize was successful.

Resize(uint)

Change the size of the Vector State, if able. Will return false if the vector class cannot be resized.

public virtual bool Resize(uint size)

Parameters

size uint

The new size of the Vector State

Returns

bool

A boolean indicating if the vector resize was successful.

Operators

operator +(VectorState, Vector)

Returns the addition of a VectorState and a Vector

public static Vector operator +(VectorState a, Vector b)

Parameters

a VectorState
b Vector

Returns

Vector

operator +(VectorState, VectorState)

Returns the addition of a 'Vector' with a 'Vector'

public static Vector operator +(VectorState a, VectorState b)

Parameters

a VectorState
b VectorState

Returns

Vector

operator +(VectorState, double)

Returns the addition of a 'Vector' with a 'double'

public static Vector operator +(VectorState a, double b)

Parameters

a VectorState
b double

Returns

Vector

operator +(double, VectorState)

Returns the addition of a 'double' with a 'Vector'

public static Vector operator +(double a, VectorState b)

Parameters

a double
b VectorState

Returns

Vector

operator /(VectorState, VectorState)

Returns the division of a 'Vector' with a 'Vector'

public static Vector operator /(VectorState a, VectorState b)

Parameters

a VectorState
b VectorState

Returns

Vector

operator /(VectorState, double)

Returns the division of a 'Vector' with a 'double'

public static Vector operator /(VectorState a, double b)

Parameters

a VectorState
b double

Returns

Vector

operator /(double, VectorState)

Returns the division of a 'double' with a 'Vector'

public static Vector operator /(double a, VectorState b)

Parameters

a double
b VectorState

Returns

Vector

operator ==(VectorState, VectorState)

Returns true if 'Vector' is equal to 'Vector'

public static bool operator ==(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator ==(VectorState, double)

Returns true if 'Vector' is equal to 'double'

public static bool operator ==(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator ==(double, VectorState)

Returns true if 'double' is equal to 'Vector'

public static bool operator ==(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

explicit operator Matrix3(VectorState)

public static explicit operator Matrix3(VectorState a)

Parameters

a VectorState

Returns

Matrix3

explicit operator Vector3(VectorState)

public static explicit operator Vector3(VectorState a)

Parameters

a VectorState

Returns

Vector3

explicit operator double(VectorState)

public static explicit operator double(VectorState a)

Parameters

a VectorState

Returns

double

operator >(VectorState, VectorState)

Returns true if 'Vector' is greater than 'Vector'

public static bool operator >(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator >(VectorState, double)

Returns true if 'Vector' is greater than 'double'

public static bool operator >(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator >(double, VectorState)

Returns true if 'double' is greater than 'Vector'

public static bool operator >(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

operator >=(VectorState, VectorState)

Returns true if 'Vector' is greater than or equal to 'Vector'

public static bool operator >=(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator >=(VectorState, double)

Returns true if 'Vector' is greater than or equal to 'double'

public static bool operator >=(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator >=(double, VectorState)

Returns true if 'double' is greater than or equal to 'Vector'

public static bool operator >=(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

implicit operator Vector(VectorState)

public static implicit operator Vector(VectorState a)

Parameters

a VectorState

Returns

Vector

operator !=(VectorState, VectorState)

Returns true if 'Vector' is not equal to 'Vector'

public static bool operator !=(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator !=(VectorState, double)

Returns true if 'Vector' is not equal to 'double'

public static bool operator !=(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator !=(double, VectorState)

Returns true if 'double' is not equal to 'Vector'

public static bool operator !=(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

operator <(VectorState, VectorState)

Returns true if 'Vector' is less than 'Vector'

public static bool operator <(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator <(VectorState, double)

Returns true if 'Vector' is less than 'double'

public static bool operator <(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator <(double, VectorState)

Returns true if 'double' is less than 'Vector'

public static bool operator <(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

operator <=(VectorState, VectorState)

Returns true if 'Vector' is less than or equal to 'Vector'

public static bool operator <=(VectorState a, VectorState b)

Parameters

a VectorState

The 1st 'Vector'

b VectorState

The 2nd 'Vector'

Returns

bool

operator <=(VectorState, double)

Returns true if 'Vector' is less than or equal to 'double'

public static bool operator <=(VectorState a, double b)

Parameters

a VectorState

The 1st 'Vector'

b double

The 2nd 'double'

Returns

bool

operator <=(double, VectorState)

Returns true if 'double' is less than or equal to 'Vector'

public static bool operator <=(double a, VectorState b)

Parameters

a double

The 1st 'double'

b VectorState

The 2nd 'Vector'

Returns

bool

operator *(VectorState, VectorState)

Returns the multiplication of a 'Vector' with a 'Vector'

public static Vector operator *(VectorState a, VectorState b)

Parameters

a VectorState
b VectorState

Returns

Vector

operator *(VectorState, double)

Returns the multiplication of a 'Vector' with a 'double'

public static Vector operator *(VectorState a, double b)

Parameters

a VectorState
b double

Returns

Vector

operator *(double, VectorState)

Returns the multiplication of a 'double' with a 'Vector'

public static Vector operator *(double a, VectorState b)

Parameters

a double
b VectorState

Returns

Vector

operator -(VectorState, VectorState)

Returns the subtraction of a 'Vector' with a 'Vector'

public static Vector operator -(VectorState a, VectorState b)

Parameters

a VectorState
b VectorState

Returns

Vector

operator -(VectorState, double)

Returns the subtraction of a 'Vector' with a 'double'

public static Vector operator -(VectorState a, double b)

Parameters

a VectorState
b double

Returns

Vector

operator -(double, VectorState)

Returns the subtraction of a 'double' with a 'Vector'

public static Vector operator -(double a, VectorState b)

Parameters

a double
b VectorState

Returns

Vector