Table of Contents

Class DoubleVariable

Namespace
NominalSystems.Maths
Assembly
NominalSystems.Maths.dll

A Vector State that contains a bound double value which updates whenever the original value is updated, and vis versa.

public class DoubleVariable : VectorState
Inheritance
DoubleVariable
Inherited Members

Constructors

DoubleVariable(object, string)

Double Variable constructor

public DoubleVariable(object obj, string name)

Parameters

obj object

The object that the double is attached to

name string

The name of the double property on the object

Properties

this[int]

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

Parameters

i int

Property Value

double

this[uint]

The get/set value accessor

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

Parameters

i uint

value index

Property Value

double

Size

The total size

public override uint Size { get; }

Property Value

uint

Methods

Copy()

A function for creating a value copy of this class.

public override VectorState Copy()

Returns

VectorState

MakeNull()

A method allowing values to be set to null.

public override 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 override void ResetValue()