Skip to content
Documentation

IArithmeticOperations<TValue> Interface

Provides arithmetic operations (addition, subtraction, multiplication, division) ITimeSeriesData<TValue>“/>.

public interface IArithmeticOperations<TValue> : HAKOM.TSM.Net.Api.Data.TimeSeries.Math.IArithmeticOperations
where TValue : System.IComparable<TValue>, System.IEquatable<TValue>

TValue

The type of the data for ITimeSeriesData<TValue>. The data has to implement System.IComparable<> and System.IEquatable<>

Implements IArithmeticOperations

IArithmeticOperations<TValue>.Zero Property

Section titled “IArithmeticOperations<TValue>.Zero Property”

Returns the equivalent of 0 for the type.

TValue Zero { get; }

TValue

IArithmeticOperations<TValue>.Abs(TValue) Method

Section titled “IArithmeticOperations<TValue>.Abs(TValue) Method”

Computes the absolute value of the value.

TValue Abs(TValue value);

value TValue

The value.

TValue
The absolute of the given value.

System.OverflowException

IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, decimal) Method

Section titled “IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, decimal) Method”

Adds the given terms.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Add(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> term1, decimal term2);

term1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first term of the addition.

term2 System.Decimal

The second term of the addition.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The sum of the given terms.

IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method

Section titled “IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method”

Adds the given term and uses the flag with the highest priority for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Add(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> term1, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> term2);

term1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first term of the addition.

term2 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The second term of the addition.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The sum of the given terms.

IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method

Section titled “IArithmeticOperations<TValue>.Add(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method”

Adds the given terms.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Add(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> term1, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> term2, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling);

term1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first term of the addition.

term2 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The second term of the addition.

flagHandling FlagHandling

Specifies which flag is to be used for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The sum of the given terms.

IArithmeticOperations<TValue>.Add(TValue, decimal) Method

Section titled “IArithmeticOperations<TValue>.Add(TValue, decimal) Method”

Adds the given terms.

TValue Add(TValue term1, decimal term2);

term1 TValue

The first term of the addition.

term2 System.Decimal

The second term of the addition.

TValue
The sum of the given terms.

IArithmeticOperations<TValue>.Add(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Add(TValue, TValue) Method”

Adds the given terms.

TValue Add(TValue term1, TValue term2);

term1 TValue

The first term of the addition.

term2 TValue

The second term of the addition.

TValue
The sum of the given terms.

IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, decimal) Method

Section titled “IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, decimal) Method”

Divides the dividend by the divisor.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Divide(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> dividend, decimal divisor);

dividend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The dividend of the division.

divisor System.Decimal

The divisor of the division.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The quotient of the given params.

IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method

Section titled “IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method”

Divides the dividend by the divisor and uses the flag with the highest priority for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Divide(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> dividend, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> divisor);

dividend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The dividend of the division.

divisor HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The divisor of the division.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The quotient of the given params.

IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method

Section titled “IArithmeticOperations<TValue>.Divide(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method”

Divides the dividend by the divisor.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Divide(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> dividend, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> divisor, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling);

dividend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The dividend of the division.

divisor HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The divisor of the division.

flagHandling FlagHandling

Specifies which flag is to be used for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The quotient of the given params.

IArithmeticOperations<TValue>.Divide(TValue, decimal) Method

Section titled “IArithmeticOperations<TValue>.Divide(TValue, decimal) Method”

Divides the dividend by the divisor.

TValue Divide(TValue dividend, decimal divisor);

dividend TValue

The dividend of the division.

divisor System.Decimal

The divisor of the division.

TValue
The quotient of the given params.

IArithmeticOperations<TValue>.Divide(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Divide(TValue, TValue) Method”

Divides the dividend by the divisor.

TValue Divide(TValue dividend, TValue divisor);

dividend TValue

The dividend of the division.

divisor TValue

The divisor of the division.

TValue
The quotient of the given params.

IArithmeticOperations<TValue>.GreaterThan(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.GreaterThan(TValue, TValue) Method”

Compares two values to determine which is greater.

bool GreaterThan(TValue left, TValue right);

left TValue

The value to compare with right.

right TValue

The value to compare with left.

System.Boolean
true if left is greater than right; otherwise, false.

IArithmeticOperations<TValue>.GreaterThanOrEqual(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.GreaterThanOrEqual(TValue, TValue) Method”

Compares two values to determine which is greater or equal.

bool GreaterThanOrEqual(TValue left, TValue right);

left TValue

The value to compare with right.

right TValue

The value to compare with left.

System.Boolean
true if left is greater than or equal to right; otherwise, false.

IArithmeticOperations<TValue>.LessThan(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.LessThan(TValue, TValue) Method”

Compares two values to determine which is less.

bool LessThan(TValue left, TValue right);

left TValue

The value to compare with right.

right TValue

The value to compare with left.

System.Boolean
true if left is less than right; otherwise, false.

IArithmeticOperations<TValue>.LessThanOrEqual(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.LessThanOrEqual(TValue, TValue) Method”

Compares two values to determine which is less or equal.

bool LessThanOrEqual(TValue left, TValue right);

left TValue

The value to compare with right.

right TValue

The value to compare with left.

System.Boolean
true if left is less than or equal to right; otherwise, false.

IArithmeticOperations<TValue>.Max(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Max(TValue, TValue) Method”

Finds the greater value of two values.

TValue Max(TValue value1, TValue value2);

value1 TValue

The first value to be checked.

value2 TValue

The second value to be checked.

TValue
The greatest of the given params.

IArithmeticOperations<TValue>.Min(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Min(TValue, TValue) Method”

Finds the lower value of two values.

TValue Min(TValue value1, TValue value2);

value1 TValue

The first value to be checked.

value2 TValue

The second value to be checked.

TValue
The lower of the given params.

IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, decimal) Method

Section titled “IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, decimal) Method”

Multiplies the given factors.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Multiply(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> factor1, decimal factor2);

factor1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first factor of the multiplication.

factor2 System.Decimal

The second factor of the multiplication.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The product of the given factors.

IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method

Section titled “IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method”

Multiplies the given factors and uses the flag with the highest priority for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Multiply(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> factor1, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> factor2);

factor1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first factor of the multiplication.

factor2 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The second factor of the multiplication.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The product of the given factors.

IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method

Section titled “IArithmeticOperations<TValue>.Multiply(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method”

Multiplies the given factors.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Multiply(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> factor1, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> factor2, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling);

factor1 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The first factor of the multiplication.

factor2 HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The second factor of the multiplication.

flagHandling FlagHandling

Specifies which flag is to be used for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The product of the given factors.

IArithmeticOperations<TValue>.Multiply(TValue, decimal) Method

Section titled “IArithmeticOperations<TValue>.Multiply(TValue, decimal) Method”

Multiplies the given factors.

TValue Multiply(TValue factor1, decimal factor2);

factor1 TValue

The first factor of the multiplication.

factor2 System.Decimal

The second factor of the multiplication.

TValue
The product of the given factors.

IArithmeticOperations<TValue>.Multiply(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Multiply(TValue, TValue) Method”

Multiplies the given factors.

TValue Multiply(TValue factor1, TValue factor2);

factor1 TValue

The first factor of the multiplication.

factor2 TValue

The second factor of the multiplication.

TValue
The product of the given factors.

IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, decimal) Method

Section titled “IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, decimal) Method”

Subtracts the subtrahend from the minuend.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Subtract(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> minuend, decimal subtrahend);

minuend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The minuend of the subtraction.

subtrahend System.Decimal

The subtrahend of the subtraction.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The difference of the given params.

IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method

Section titled “IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>) Method”

Subtracts the subtrahend from the minuend and uses the flag with the highest priority for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Subtract(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> minuend, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> subtrahend);

minuend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The minuend of the subtraction.

subtrahend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The subtrahend of the subtraction.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The difference of the given params.

IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method

Section titled “IArithmeticOperations<TValue>.Subtract(ITimeSeriesData<TValue>, ITimeSeriesData<TValue>, FlagHandling) Method”

Subtracts the subtrahend from the minuend.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> Subtract(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> minuend, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> subtrahend, HAKOM.TSM.Net.Api.Flags.FlagHandling flagHandling);

minuend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The minuend of the subtraction.

subtrahend HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The subtrahend of the subtraction.

flagHandling FlagHandling

Specifies which flag is to be used for the result.

HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>
The difference of the given params.

IArithmeticOperations<TValue>.Subtract(TValue, decimal) Method

Section titled “IArithmeticOperations<TValue>.Subtract(TValue, decimal) Method”

Subtracts the subtrahend from the minuend.

TValue Subtract(TValue minuend, decimal subtrahend);

minuend TValue

The minuend of the subtraction.

subtrahend System.Decimal

The subtrahend of the subtraction.

TValue
The difference of the given params.

IArithmeticOperations<TValue>.Subtract(TValue, TValue) Method

Section titled “IArithmeticOperations<TValue>.Subtract(TValue, TValue) Method”

Subtracts the subtrahend from the minuend.

TValue Subtract(TValue minuend, TValue subtrahend);

minuend TValue

The minuend of the subtraction.

subtrahend TValue

The subtrahend of the subtraction.

TValue
The difference of the given params.

© 2026 Volue.Version v0.6.38017 November 2026