Click or drag to resize

DSequence Class

Represents any sequence returning double-precision values.
Inheritance Hierarchy
SystemObject
  Austra.LibraryBaseSequenceDouble, DSequence
    Austra.LibrarySequenceDouble, DSequence
      Austra.LibraryDSequence

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntax
C#
public abstract class DSequence : Sequence<double, DSequence>, 
	IFormattable, IEquatable<DSequence>, IEqualityOperators<DSequence, DSequence, bool>, 
	IAdditionOperators<DSequence, DSequence, DSequence>, IAdditionOperators<DSequence, double, DSequence>, 
	ISubtractionOperators<DSequence, DSequence, DSequence>, ISubtractionOperators<DSequence, double, DSequence>, 
	IMultiplyOperators<DSequence, DSequence, double>, IMultiplyOperators<DSequence, double, DSequence>, 
	IDivisionOperators<DSequence, double, DSequence>, IUnaryNegationOperators<DSequence, DSequence>, 
	IPointwiseOperators<DSequence>, IIndexable

The DSequence type exposes the following members.

Properties
 NameDescription
Public propertyItemIndexGets the value at the specified index.
(Overrides BaseSequenceT, TSelfItemIndex)
Public propertyItemInt32Gets the value at the specified index.
(Inherited from BaseSequenceT, TSelf)
Public propertyItemRangeGets a range from the sequence.
(Overrides BaseSequenceT, TSelfItemRange)
Top
Methods
 NameDescription
Public methodACFComputes autocorrelation for all lags.
Public methodAllChecks whether the predicate is satisfied by all items.
(Inherited from BaseSequenceT, TSelf)
Public methodAnyChecks whether the predicate is satisfied by at least one item.
(Inherited from BaseSequenceT, TSelf)
Public methodStatic memberARCreates an autoregressive (AR) sequence.
Public methodARModelCreates an AR model from a sequence and a degree.
Public methodAutoRegressionCalculate coefficients for an autoregressive model.
Public methodClonePerforms a shallow copy of the sequence and performs a reset.
(Inherited from BaseSequenceT, TSelf)
Public methodContainsChecks if the sequence contains the given value.
(Inherited from BaseSequenceT, TSelf)
Public methodStatic memberCreate(DVector)Creates a sequence from a vector.
Public methodStatic memberCreate(Matrix)Creates a sequence from a matrix.
Public methodStatic memberCreate(Series)Creates a sequence from a time series.
Public methodStatic memberCreate(Double, Double)Creates a sequence from a range.
Public methodStatic memberCreate(Int32, Int32)Creates a sequence from a range.
Public methodStatic memberCreate(Double, Int32, Double)Creates a sequence from a uniform grid.
Public methodDistinctGets only the unique values in this sequence.
(Overrides BaseSequenceT, TSelfDistinct)
Public methodEquals(DSequence)Checks if two sequence has the same length and arguments.
Public methodEquals(Object)Checks if the provided argument is a sequence with the same values.
(Overrides ObjectEquals(Object))
Public methodFftComputes the real discrete Fourier transform.
Public methodFilterTransform a sequence acording to the predicate passed as parameter.
(Overrides BaseSequenceT, TSelfFilter(FuncT, Boolean))
Public methodFirstGets the first value in the sequence.
(Inherited from BaseSequenceT, TSelf)
Public methodGetHashCodeReturns the hashcode for this vector.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLastGets the last value in the sequence.
(Inherited from BaseSequenceT, TSelf)
Public methodLengthGets the total number of values in the sequence.
(Inherited from BaseSequenceT, TSelf)
Public methodStatic memberMACreates a moving average (MA) sequence.
Public methodMAModelCreates a MV model from a sequence and a degree.
Public methodMapTransform a sequence acording to the function passed as parameter.
(Overrides BaseSequenceT, TSelfMap(FuncT, T))
Public methodMaxGets the maximum value from the sequence.
Public methodMinGets the minimum value from the sequence.
Public methodMovingAverageCalculate coefficients for a moving average model.
Public methodNextGets the next item in the sequence.
(Inherited from BaseSequenceT, TSelf)
Public methodStatic memberNormalRandom(Int32)Creates a sequence from normal random values.
Public methodStatic memberNormalRandom(Int32, Double)Creates a sequence from normal random values.
Public methodPACFComputes the partial autocorrelation for all lags.
Public methodPlotCreates a plot for this sequence.
Public methodPointwiseDivideItem by item division of sequences.
(Overrides SequenceT, TSelfPointwiseDivide(TSelf))
Public methodPointwiseMultiplyItem by item multiplication of two sequences.
(Overrides SequenceT, TSelfPointwiseMultiply(TSelf))
Public methodProductGets the product of all the values in the sequence.
(Inherited from SequenceT, TSelf)
Public methodStatic memberRandomCreates a sequence from random values.
Public methodReduceReduces a sequence to a single number.
(Inherited from BaseSequenceT, TSelf)
Public methodStatic memberRepeatCreates a sequence by repeating a value a given number of times.
Public methodResetResets the sequence.
(Inherited from BaseSequenceT, TSelf)
Public methodSortSorts the content of this sequence.
Public methodSortDescendingSorts the content of this sequence in descending order.
Public methodStatsGets all statistics from the values in the secuence.
Public methodSumGets the sum of all the values in the sequence.
(Overrides SequenceT, TSelfSum)
Public methodToStringEvaluated the sequence and formats it like a DVector.
(Overrides ObjectToString)
Public methodToString(String, IFormatProvider)Gets a textual representation of this sequence.
Public methodToVectorConverts this sequence into a vector.
Public methodStatic memberUnfold(Int32, Double, FuncDouble, Double)Creates a sequence by unfolding an initial state by a function.
Public methodStatic memberUnfold(Int32, Double, FuncInt32, Double, Double)Creates a sequence by unfolding an initial state by a function.
Public methodStatic memberUnfold(Int32, Double, Double, FuncDouble, Double, Double)Creates a sequence by unfolding an initial state by a function.
Public methodUntil(Double)Get the initial values of a sequence until a value is found.
(Overrides BaseSequenceT, TSelfUntil(T))
Public methodUntil(FuncDouble, Boolean)Get the initial values of a sequence until a predicate is satisfied.
(Overrides BaseSequenceT, TSelfUntil(FuncT, Boolean))
Public methodWhileGet the initial values of a sequence that satisfy a predicate.
(Overrides BaseSequenceT, TSelfWhile(FuncT, Boolean))
Public methodZipJoins the common part of two sequence with the help of a lambda.
(Overrides BaseSequenceT, TSelfZip(TSelf, FuncT, T, T))
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Double, DSequence)Adds a sequence to a scalar value.
Public operatorStatic memberAddition(DSequence, DSequence)Adds the common part of two sequences.
Public operatorStatic memberAddition(DSequence, Double)Adds a scalar value to a sequence.
Public operatorStatic memberDivision(DSequence, Double)Divides a sequence by a scalar value.
Public operatorStatic memberEquality(DSequence, DSequence)Compares two vectors for equality.
Public operatorStatic member(DVector to DSequence)Implicit conversion from vector to sequence.
Public operatorStatic memberInequality(DSequence, DSequence)Compares two vectors for inequality.
Public operatorStatic memberMultiply(Double, DSequence)Multiplies a scalar value by a sequence.
Public operatorStatic memberMultiply(DSequence, DSequence)Calculates the scalar product of the common part of two sequences.
Public operatorStatic memberMultiply(DSequence, Double)Multiplies a sequence by a scalar value.
Public operatorStatic memberSubtraction(Double, DSequence)Subtracts a sequence from a scalar.
Public operatorStatic memberSubtraction(DSequence, DSequence)Subtracts the common part of two sequences.
Public operatorStatic memberSubtraction(DSequence, Double)Subtracts a scalar from a sequence.
Public operatorStatic memberUnaryNegation(DSequence)Negates a sequence.
Top
See Also