Click or drag to resize

CSequence Methods

The CSequence type exposes the following members.

Methods
 NameDescription
Public methodAllChecks whether the predicate is satisfied by all items.
(Inherited from SequenceT, TSelf)
Public methodAnyChecks whether the predicate is satisfied by at least one item.
(Inherited from SequenceT, TSelf)
Public methodClonePerforms a shallow copy of the sequence and performs a reset.
(Inherited from SequenceT, TSelf)
Public methodContainsChecks if the sequence contains the given value.
(Inherited from SequenceT, TSelf)
Public methodStatic memberCreate(CVector)Creates a sequence from a complex vector.
Public methodStatic memberCreate(Complex, Complex, Int32)Creates a sequence from a uniform grid.
Public methodDistinctGets only the unique values in this sequence.
(Overrides SequenceT, TSelfDistinct)
Public methodEquals(CSequence)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 complex discrete Fourier transform.
Public methodFilterTransform a sequence acording to the predicate passed as parameter.
(Overrides SequenceT, TSelfFilter(FuncT, Boolean))
Public methodFirstGets the first value in the sequence.
(Inherited from SequenceT, 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 SequenceT, TSelf)
Public methodLengthGets the total number of values in the sequence.
(Inherited from SequenceT, TSelf)
Public methodMapTransform a sequence acording to the function passed as parameter.
(Overrides SequenceT, TSelfMap(FuncT, T))
Public methodMapRealTransform a sequence acording to the function passed as parameter.
Public methodNextGets the next item in the sequence.
(Inherited from SequenceT, 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 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 SequenceT, TSelf)
Public methodStatic memberRepeatCreates a sequence by repeating a value a given number of times.
Public methodResetResets the sequence.
(Inherited from SequenceT, TSelf)
Public methodSumGets the sum of all the values in the sequence.
(Inherited from SequenceT, TSelf)
Public methodToStringEvaluated the sequence and formats it like a CVector.
(Overrides ObjectToString)
Public methodToString(String, IFormatProvider)Gets a textual representation of this sequence.
Public methodToVectorConverts this sequence into a complex vector.
Public methodToVector(Int32)Converts this sequence into a complex vector.
Public methodStatic memberUnfold(Int32, Complex, FuncInt32, Complex, Complex)Creates a sequence by unfolding an initial state by a function.
Public methodStatic memberUnfold(Int32, Complex, FuncComplex, Complex)Creates a sequence by unfolding an initial state by a function.
Public methodStatic memberUnfold(Int32, Complex, Complex, FuncComplex, Complex, Complex)Creates a sequence by unfolding an initial state by a function.
Public methodUntil(Complex)Get the initial values of a sequence until a value is found.
(Overrides SequenceT, TSelfUntil(T))
Public methodUntil(FuncComplex, Boolean)Get the initial values of a sequence until a predicate is satisfied.
(Overrides SequenceT, TSelfUntil(FuncT, Boolean))
Public methodWhileGet the initial values of a sequence that satisfy a predicate.
(Overrides SequenceT, TSelfWhile(FuncT, Boolean))
Public methodZipJoins the common part of two sequence with the help of a lambda.
(Overrides SequenceT, TSelfZip(TSelf, FuncT, T, T))
Top
See Also