CSequence Class |
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
The CSequence type exposes the following members.
| Name | Description | |
|---|---|---|
| ItemIndex | Gets the value at the specified index. (Overrides SequenceT, TSelfItemIndex) | |
| ItemInt32 | Gets the value at the specified index. (Inherited from SequenceT, TSelf) | |
| ItemRange | Gets a range from the sequence. (Overrides SequenceT, TSelfItemRange) |
| Name | Description | |
|---|---|---|
| All | Checks whether the predicate is satisfied by all items. (Inherited from SequenceT, TSelf) | |
| Any | Checks whether the predicate is satisfied by at least one item. (Inherited from SequenceT, TSelf) | |
| Clone | Performs a shallow copy of the sequence and performs a reset. (Inherited from SequenceT, TSelf) | |
| Contains | Checks 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. | |
| Distinct | Gets 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)) | |
| Fft | Computes the complex discrete Fourier transform. | |
| Filter | Transform a sequence acording to the predicate passed as parameter. (Overrides SequenceT, TSelfFilter(FuncT, Boolean)) | |
| First | Gets the first value in the sequence. (Inherited from SequenceT, TSelf) | |
| GetHashCode | Returns the hashcode for this vector. (Overrides ObjectGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Last | Gets the last value in the sequence. (Inherited from SequenceT, TSelf) | |
| Length | Gets the total number of values in the sequence. (Inherited from SequenceT, TSelf) | |
| Map | Transform a sequence acording to the function passed as parameter. (Overrides SequenceT, TSelfMap(FuncT, T)) | |
| MapReal | Transform a sequence acording to the function passed as parameter. | |
| Next | Gets 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. | |
| Plot | Creates a plot for this sequence. | |
| PointwiseDivide | Item by item division of sequences. (Overrides SequenceT, TSelfPointwiseDivide(TSelf)) | |
| PointwiseMultiply | Item by item multiplication of two sequences. (Overrides SequenceT, TSelfPointwiseMultiply(TSelf)) | |
| Product | Gets the product of all the values in the sequence. (Inherited from SequenceT, TSelf) | |
| Random | Creates a sequence from random values. | |
| Reduce | Reduces a sequence to a single number. (Inherited from SequenceT, TSelf) | |
| Repeat | Creates a sequence by repeating a value a given number of times. | |
| Reset | Resets the sequence. (Inherited from SequenceT, TSelf) | |
| Sum | Gets the sum of all the values in the sequence. (Inherited from SequenceT, TSelf) | |
| ToString | Evaluated the sequence and formats it like a CVector. (Overrides ObjectToString) | |
| ToString(String, IFormatProvider) | Gets a textual representation of this sequence. | |
| ToVector | Converts 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)) | |
| While | Get the initial values of a sequence that satisfy a predicate. (Overrides SequenceT, TSelfWhile(FuncT, Boolean)) | |
| Zip | Joins the common part of two sequence with the help of a lambda. (Overrides SequenceT, TSelfZip(TSelf, FuncT, T, T)) |
| Name | Description | |
|---|---|---|
| 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. |