Table of Contents

Class SiteData<T>

Namespace
NationalInstruments.SemiconductorTestLibrary.DataAbstraction
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

Defines an object containing values for one or more sites, where T can be passed as any data type.

public class SiteData<T>

Type Parameters

T

The data type of the element data.

Inheritance
SiteData<T>
Inherited Members

Constructors

SiteData(IDictionary<int, T>)

Initializes a SiteData object with site unique data.

SiteData(int[], T)

Initializes a SiteData object with the same data value across all sites. Each element in the siteNumbers array represents a unique site number/value.

SiteData(int[], T[])

Initializes a SiteData object with site unique data. Each element in the siteNumbers array represents a unique site number/value. Each element in the perSiteData array represents the data for the specific site located at the same index within the siteNumbers array.

SiteData(T[])

Initializes a SiteData object with multiple sites data array. The array index represents site number.

Properties

SiteNumbers

Returns an array of sites associated with current SiteData object.

Methods

Abs()

Performs Math.Abs operation on every element in current SiteData object.

Add<TOther>(SiteData<TOther>)

Performs add operation between every element in current SiteData object and the given SiteData object.

Add<TOther>(TOther)

Performs add operation between every element in current SiteData object and the given value.

BitwiseAnd<TOther>(SiteData<TOther>)

Performs a bitwise AND operation with another SiteData object, for each element across each site.

BitwiseAnd<TOther>(TOther)

Performs a bitwise AND operation with a scalar, for each element across each site.

BitwiseComplement()

Gets the bitwise complement (~) of the original SiteData object.

BitwiseOr<TOther>(SiteData<TOther>)

Performs a bitwise OR operation with another SiteData object, for each element across each site.

BitwiseOr<TOther>(TOther)

Performs a bitwise OR operation with a scalar, for each element across each site.

BitwiseXor<TOther>(SiteData<TOther>)

Performs a bitwise XOR operation with another SiteData object, for each element across each site.

BitwiseXor<TOther>(TOther)

Performs a bitwise XOR operation with a scalar, for each element across each site.

Combine(SiteData<T>, bool)

Combines the current SiteData object with another SiteData object and produces a new SiteData object.

Compare(ComparisonType, SiteData<T>)

Performs compare operation between every element in current SiteData object and the given SiteData object.

Compare(ComparisonType, T)

Performs compare operation between every element in current SiteData object and the given value.

Compare<TOther, TResult>(ComparisonType, SiteData<TOther>)

Performs compare operation between every element in current SiteData object and the given SiteData object.

Compare<TOther, TResult>(ComparisonType, TOther)

Performs compare operation between every element in current SiteData object and the given value.

Divide(SiteData<T>)

Performs divide operation between every element in current SiteData object and the given SiteData object.

Divide(T)

Performs divide operation between every element in current SiteData object and the given value.

Divide<TOther, TResult>(SiteData<TOther>)

Performs divide operation between every element in current SiteData object and the given SiteData object.

Divide<TOther, TResult>(TOther)

Performs divide operation between every element in current SiteData object and the given value.

ExtractSites(int[])

Gets a new SiteData<T> object with the data for the given sites.

GetValue(int)

Gets the data for a given site number.

Invert()

Performs invert operation on every element in current SiteData object.

Invert<TResult>()

Performs invert operation on every element in current SiteData object.

Log10()

Performs Math.Log10 operation on every element in current SiteData object.

Log10<TResult>()

Performs Math.Log10 operation on every element in current SiteData object.

Max()

Calculates the maximum value across sites.

Max(out int[])

Gets the maximum value across sites and additionally passes out an array of which site(s) the maximum value was found.

Maximum<TOther>(SiteData<TOther>)

Returns the larger of the element in current SiteData object and the given SiteData object.

Maximum<TOther>(TOther)

Returns the larger of the element in current SiteData object and the given value.

Mean()

Calculates the mean value across sites.

Min()

Calculates the minimum value across sites.

Min(out int[])

Gets the minimum value across sites and additionally passes out an array of which site(s) the minimum value was found.

Minimum<TOther>(SiteData<TOther>)

Returns the smaller of the element in current SiteData object and the given SiteData object.

Minimum<TOther>(TOther)

Returns the smaller of the element in current SiteData object and the given value.

Multiply<TOther>(SiteData<TOther>)

Performs multiply operation on every element in current SiteData object and the given SiteData object.

Multiply<TOther>(TOther)

Performs multiply operation on every element in current SiteData object and the given value.

Negate()

Returns the negative value of every element in current SiteData object.

Power<TOther>(SiteData<TOther>)

Raises every element in current SiteData to the power of every element in given SiteData object.

Power<TOther>(TOther)

Raises every element in current SiteData to the power of the given value.

Select<TResult>(Func<T, TResult>)

Selects each element of the SiteData object to perform an operation on that element.

ShiftLeft(int)

Shifts the value to the left by the specified bit count, for each element, per site. The count must be positive.

ShiftRight(int)

Shifts the value to the right by the specified bit count, for each element, per site. The count must be positive.

SquareRoot()

Returns the square root of every element in current SiteData object.

SquareRoot<TResult>()

Returns the square root of every element in current SiteData object.

Subtract<TOther>(SiteData<TOther>)

Subtracts every element in given SiteData from every element in current SiteData object.

Subtract<TOther>(TOther)

Subtracts the given value from every element in current SiteData object.

Truncate()

Returns integer portion of every element in current SiteData object.

TryGetValue(int, out T)

Attempts to get the data for a given site number.

Operators

operator +(SiteData<T>, SiteData<T>)

Performs add operation between two SiteData objects, for each element across each site.

operator +(SiteData<T>, T)

Performs add operation between a SiteData object and a given value, for each element across each site.

operator &(SiteData<T>, SiteData<T>)

Performs a bitwise AND operation with another SiteData object, for each element across each site.

operator &(SiteData<T>, T)

Performs a bitwise AND operation with a scalar, for each element across each site.

operator |(SiteData<T>, SiteData<T>)

Performs a bitwise OR operation with another SiteData object, for each element across each site.

operator |(SiteData<T>, T)

Performs a bitwise OR operation with a scalar, for each element across each site.

operator /(SiteData<T>, SiteData<T>)

Performs divide operation between two SiteData objects, for each element across each site.

operator /(SiteData<T>, T)

Performs divide operation between a SiteData object and a given value, for each element across each site.

operator ^(SiteData<T>, SiteData<T>)

Performs a bitwise XOR operation with another SiteData object, for each element across each site.

operator ^(SiteData<T>, T)

Performs a bitwise XOR operation with a scalar, for each element across each site.

operator <<(SiteData<T>, int)

Shifts the value to the left by the specified bit count, for each element, per site. The count must be positive.

operator *(SiteData<T>, SiteData<T>)

Performs multiply operation between two SiteData objects, for each element across each site.

operator *(SiteData<T>, T)

Performs multiply operation between a SiteData object and a given value, for each element across each site.

operator ~(SiteData<T>)

Gets the bitwise complement (~) of the original SiteData object.

operator >>(SiteData<T>, int)

Shifts the value to the right by the specified bit count, for each element, per site. The count must be positive.

operator -(SiteData<T>, SiteData<T>)

Subtracts one SiteData object from another SiteData object, for each element across each site.

operator -(SiteData<T>, T)

Subtracts the given value from a SiteData object, for each element across each site.