CSequence Class

Represents any sequence returning complex values.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public abstract class CSequence : Sequence<Complex, CSequence>, 
	IFormattable, IEquatable<CSequence>, IEqualityOperators<CSequence, CSequence, bool>, 
	IAdditionOperators<CSequence, CSequence, CSequence>, IAdditionOperators<CSequence, Complex, CSequence>, 
	ISubtractionOperators<CSequence, CSequence, CSequence>, ISubtractionOperators<CSequence, Complex, CSequence>, 
	IMultiplyOperators<CSequence, CSequence, Complex>, IMultiplyOperators<CSequence, Complex, CSequence>, 
	IDivisionOperators<CSequence, Complex, CSequence>, IUnaryNegationOperators<CSequence, CSequence>, 
	IPointwiseOperators<CSequence>, IIndexable
Inheritance
Object    SequenceComplex, CSequence    CSequence
Implements
IIndexable, IPointwiseOperatorsCSequence, IEquatableCSequence, IFormattable, IAdditionOperatorsCSequence, CSequence, CSequence, IAdditionOperatorsCSequence, Complex, CSequence, IDivisionOperatorsCSequence, Complex, CSequence, IEqualityOperatorsCSequence, CSequence, Boolean, IMultiplyOperatorsCSequence, CSequence, Complex, IMultiplyOperatorsCSequence, Complex, CSequence, ISubtractionOperatorsCSequence, CSequence, CSequence, ISubtractionOperatorsCSequence, Complex, CSequence, IUnaryNegationOperatorsCSequence, CSequence

Properties

ItemIndexGets the value at the specified index.
(Overrides SequenceT, TSelfItemIndex)
ItemInt32Gets the value at the specified index.
(Inherited from SequenceT, TSelf)
ItemRangeGets a range from the sequence.
(Overrides SequenceT, TSelfItemRange)

Methods

AllChecks whether the predicate is satisfied by all items.
(Inherited from SequenceT, TSelf)
AnyChecks whether the predicate is satisfied by at least one item.
(Inherited from SequenceT, TSelf)
ClonePerforms a shallow copy of the sequence and performs a reset.
(Inherited from SequenceT, TSelf)
ContainsChecks if the sequence contains the given value.
(Inherited from SequenceT, TSelf)
Create(CVector)Creates a sequence from a complex vector.
Create(Complex, Complex, Int32)Creates a sequence from a uniform grid.
DistinctGets only the unique values in this sequence.
(Overrides SequenceT, TSelfDistinct)
Equals(CSequence)Checks if two sequence has the same length and arguments.
Equals(Object)Checks if the provided argument is a sequence with the same values.
(Overrides ObjectEquals(Object))
FftComputes the complex discrete Fourier transform.
FilterTransform a sequence acording to the predicate passed as parameter.
(Overrides SequenceT, TSelfFilter(FuncT, Boolean))
FirstGets the first value in the sequence.
(Inherited from SequenceT, TSelf)
GetHashCodeReturns the hashcode for this vector.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LastGets the last value in the sequence.
(Inherited from SequenceT, TSelf)
LengthGets the total number of values in the sequence.
(Inherited from SequenceT, TSelf)
MapTransform a sequence acording to the function passed as parameter.
(Overrides SequenceT, TSelfMap(FuncT, T))
MapRealTransform a sequence acording to the function passed as parameter.
NextGets the next item in the sequence.
(Inherited from SequenceT, TSelf)
NormalRandom(Int32)Creates a sequence from normal random values.
NormalRandom(Int32, Double)Creates a sequence from normal random values.
PlotCreates a plot for this sequence.
PointwiseDivideItem by item division of sequences.
(Overrides SequenceT, TSelfPointwiseDivide(TSelf))
PointwiseMultiplyItem by item multiplication of two sequences.
(Overrides SequenceT, TSelfPointwiseMultiply(TSelf))
ProductGets the product of all the values in the sequence.
(Inherited from SequenceT, TSelf)
RandomCreates a sequence from random values.
ReduceReduces a sequence to a single number.
(Inherited from SequenceT, TSelf)
RepeatCreates a sequence by repeating a value a given number of times.
ResetResets the sequence.
(Inherited from SequenceT, TSelf)
SumGets the sum of all the values in the sequence.
(Inherited from SequenceT, TSelf)
ToStringEvaluated the sequence and formats it like a CVector.
(Overrides ObjectToString)
ToString(String, IFormatProvider)Gets a textual representation of this sequence.
ToVectorConverts this sequence into a complex vector.
ToVector(Int32)Converts this sequence into a complex vector.
Unfold(Int32, Complex, FuncInt32, Complex, Complex)Creates a sequence by unfolding an initial state by a function.
Unfold(Int32, Complex, FuncComplex, Complex)Creates a sequence by unfolding an initial state by a function.
Unfold(Int32, Complex, Complex, FuncComplex, Complex, Complex)Creates a sequence by unfolding an initial state by a function.
Until(Complex)Get the initial values of a sequence until a value is found.
(Overrides SequenceT, TSelfUntil(T))
Until(FuncComplex, Boolean)Get the initial values of a sequence until a predicate is satisfied.
(Overrides SequenceT, TSelfUntil(FuncT, Boolean))
WhileGet the initial values of a sequence that satisfy a predicate.
(Overrides SequenceT, TSelfWhile(FuncT, Boolean))
ZipJoins the common part of two sequence with the help of a lambda.
(Overrides SequenceT, TSelfZip(TSelf, FuncT, T, T))

Operators

Addition(Complex, CSequence)Adds a sequence to a scalar value.
Addition(CSequence, CSequence)Adds the common part of two sequences.
Addition(CSequence, Complex)Adds a scalar value to a sequence.
Division(CSequence, Complex)Divides a sequence by a scalar value.
Equality(CSequence, CSequence)Compares two vectors for equality.
Inequality(CSequence, CSequence)Compares two vectors for inequality.
Multiply(Complex, CSequence)Multiplies a scalar value by a sequence.
Multiply(CSequence, CSequence)Calculates the scalar product of the common part of two sequences.
Multiply(CSequence, Complex)Multiplies a sequence by a scalar value.
Subtraction(Complex, CSequence)Subtracts a scalar from a sequence.
Subtraction(CSequence, CSequence)Subtracts a scalar common part of two sequences.
Subtraction(CSequence, Complex)Subtracts a scalar from a sequence.
UnaryNegation(CSequence)Negates a sequence.

See Also