Click or drag to resize

CSequence Class

Represents any sequence returning complex values.
Inheritance Hierarchy
SystemObject
  Austra.LibrarySequenceComplex, CSequence
    Austra.LibraryCSequence

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
Syntax
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

The CSequence type exposes the following members.

Properties
 NameDescription
Public propertyItemIndexGets the value at the specified index.
(Overrides SequenceT, TSelfItemIndex)
Public propertyItemInt32Gets the value at the specified index.
(Inherited from SequenceT, TSelf)
Public propertyItemRangeGets a range from the sequence.
(Overrides SequenceT, TSelfItemRange)
Top
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
Operators
 NameDescription
Public operatorStatic memberAddition(Complex, CSequence)Adds a sequence to a scalar value.
Public operatorStatic memberAddition(CSequence, CSequence)Adds the common part of two sequences.
Public operatorStatic memberAddition(CSequence, Complex)Adds a scalar value to a sequence.
Public operatorStatic memberDivision(CSequence, Complex)Divides a sequence by a scalar value.
Public operatorStatic memberEquality(CSequence, CSequence)Compares two vectors for equality.
Public operatorStatic memberInequality(CSequence, CSequence)Compares two vectors for inequality.
Public operatorStatic memberMultiply(Complex, CSequence)Multiplies a scalar value by a sequence.
Public operatorStatic memberMultiply(CSequence, CSequence)Calculates the scalar product of the common part of two sequences.
Public operatorStatic memberMultiply(CSequence, Complex)Multiplies a sequence by a scalar value.
Public operatorStatic memberSubtraction(Complex, CSequence)Subtracts a scalar from a sequence.
Public operatorStatic memberSubtraction(CSequence, CSequence)Subtracts a scalar common part of two sequences.
Public operatorStatic memberSubtraction(CSequence, Complex)Subtracts a scalar from a sequence.
Public operatorStatic memberUnaryNegation(CSequence)Negates a sequence.
Top
See Also