Dense |
[SerializableAttribute] public class DenseVector : Vector
The DenseVector type exposes the following members.
Name | Description | |
---|---|---|
DenseVector(DenseVectorStorageDouble) | Create a new dense vector straight from an initialized vector storage instance. The storage is used directly without copying. Intended for advanced scenarios where you're working directly with storage for performance or interop reasons. | |
DenseVector(Double) | Create a new dense vector directly binding to a raw array. The array is used directly without copying. Very efficient, but changes to the array and the vector will affect each other. | |
DenseVector(Int32) | Create a new dense vector with the given length. All cells of the vector will be initialized to zero. |
Name | Description | |
---|---|---|
Count |
Gets the length or number of dimensions of this vector.
(Inherited from VectorT) | |
Item | Gets or sets the value at the given index. (Inherited from VectorT) | |
Storage |
Gets the raw vector data storage.
(Inherited from VectorT) | |
Values | Gets the vector's data. |
Name | Description | |
---|---|---|
AbsoluteMaximum |
Returns the value of the absolute maximum element.
(Inherited from Vector) | |
AbsoluteMaximumIndex |
Returns the index of the absolute maximum element.
(Overrides VectorAbsoluteMaximumIndex) | |
AbsoluteMinimum |
Returns the value of the absolute minimum element.
(Inherited from Vector) | |
AbsoluteMinimumIndex |
Returns the index of the absolute minimum element.
(Overrides VectorAbsoluteMinimumIndex) | |
Add(T) |
Adds a scalar to each element of the vector.
(Inherited from VectorT) | |
Add(VectorT) |
Adds another vector to this vector.
(Inherited from VectorT) | |
Add(T, VectorT) |
Adds a scalar to each element of the vector and stores the result in the result vector.
(Inherited from VectorT) | |
Add(VectorT, VectorT) |
Adds another vector to this vector and stores the result into the result vector.
(Inherited from VectorT) | |
AsArray |
Returns the internal array of this vector if, and only if, this vector is stored by such an array internally.
Otherwise returns null. Changes to the returned array and the vector will affect each other.
Use ToArray instead if you always need an independent array.
(Inherited from VectorT) | |
At(Int32) | Gets the value at the given index without range checking.. (Inherited from VectorT) | |
At(Int32, T) | Sets the value at the given index without range checking.. (Inherited from VectorT) | |
Clear |
Resets all values to zero.
(Inherited from VectorT) | |
ClearSubVector |
Sets all values of a subvector to zero.
(Inherited from VectorT) | |
Clone |
Returns a deep-copy clone of the vector.
(Inherited from VectorT) | |
CoerceZero(Double) |
Set all values whose absolute value is smaller than the threshold to zero.
(Inherited from Vector) | |
CoerceZero(FuncT, Boolean) |
Set all values that meet the predicate to zero, in-place.
(Inherited from VectorT) | |
Conjugate |
Return vector with complex conjugate values of the source vector
(Inherited from VectorT) | |
Conjugate(VectorT) |
Complex conjugates vector and save result to result (Inherited from VectorT) | |
ConjugateDotProduct |
Computes the dot product between the conjugate of this vector and another vector.
(Inherited from VectorT) | |
CopySubVectorTo |
Copies the requested elements from this vector to another.
(Inherited from VectorT) | |
CopyTo |
Copies the values of this vector into the target vector.
(Inherited from VectorT) | |
Create(Int32, Double) | Create a new dense vector and initialize each value using the provided value. | |
Create(Int32, FuncInt32, Double) | Create a new dense vector and initialize each value using the provided init function. | |
CreateRandom | Create a new dense vector with values sampled from the provided random distribution. | |
Divide(T) |
Divides each element of the vector by a scalar.
(Inherited from VectorT) | |
Divide(T, VectorT) |
Divides each element of the vector by a scalar and stores the result in the result vector.
(Inherited from VectorT) | |
DivideByThis(T) |
Divides a scalar by each element of the vector.
(Inherited from VectorT) | |
DivideByThis(T, VectorT) |
Divides a scalar by each element of the vector and stores the result in the result vector.
(Inherited from VectorT) | |
DoAdd(Double, VectorDouble) |
Adds a scalar to each element of the vector and stores the result in the result vector.
(Overrides VectorDoAdd(Double, VectorDouble)) | |
DoAdd(VectorDouble, VectorDouble) |
Adds another vector to this vector and stores the result into the result vector.
(Overrides VectorDoAdd(VectorDouble, VectorDouble)) | |
DoConjugate |
Conjugates vector and save result to result (Inherited from Vector) | |
DoConjugateDotProduct |
Computes the dot product between the conjugate of this vector and another vector.
(Inherited from Vector) | |
DoDivide |
Divides each element of the vector by a scalar and stores the result in the result vector.
(Inherited from Vector) | |
DoDivideByThis |
Divides a scalar by each element of the vector and stores the result in the result vector.
(Inherited from Vector) | |
DoDotProduct |
Computes the dot product between this vector and another vector.
(Overrides VectorDoDotProduct(VectorDouble)) | |
DoModulus |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the vector for the given divisor.
(Overrides VectorDoModulus(Double, VectorDouble)) | |
DoModulusByThis |
Computes the canonical modulus, where the result has the sign of the divisor,
for the given dividend for each element of the vector.
(Inherited from Vector) | |
DoMultiply |
Multiplies a scalar to each element of the vector and stores the result in the result vector.
(Overrides VectorDoMultiply(Double, VectorDouble)) | |
DoNegate |
Negates vector and saves result to result (Overrides VectorDoNegate(VectorDouble)) | |
DoOuterProduct |
Computes the outer product M[i,j] = u[i]*v[j] of this and another vector and stores the result in the result matrix.
(Inherited from VectorT) | |
DoPointwiseAbs | (Inherited from Vector) | |
DoPointwiseAbsoluteMaximum(Double, VectorDouble) | (Inherited from Vector) | |
DoPointwiseAbsoluteMaximum(VectorDouble, VectorDouble) | (Inherited from Vector) | |
DoPointwiseAbsoluteMinimum(Double, VectorDouble) | (Inherited from Vector) | |
DoPointwiseAbsoluteMinimum(VectorDouble, VectorDouble) | (Inherited from Vector) | |
DoPointwiseAcos | (Inherited from Vector) | |
DoPointwiseAsin | (Inherited from Vector) | |
DoPointwiseAtan | (Inherited from Vector) | |
DoPointwiseAtan2(Double, VectorDouble) | (Inherited from Vector) | |
DoPointwiseAtan2(VectorDouble, VectorDouble) | (Inherited from Vector) | |
DoPointwiseCeiling | (Inherited from Vector) | |
DoPointwiseCos | (Inherited from Vector) | |
DoPointwiseCosh | (Inherited from Vector) | |
DoPointwiseDivide |
Pointwise divide this vector with another vector and stores the result into the result vector.
(Overrides VectorDoPointwiseDivide(VectorDouble, VectorDouble)) | |
DoPointwiseExp |
Pointwise applies the exponential function to each value and stores the result into the result vector.
(Inherited from Vector) | |
DoPointwiseFloor | (Inherited from Vector) | |
DoPointwiseLog |
Pointwise applies the natural logarithm function to each value and stores the result into the result vector.
(Inherited from Vector) | |
DoPointwiseLog10 | (Inherited from Vector) | |
DoPointwiseMaximum(Double, VectorDouble) | (Inherited from Vector) | |
DoPointwiseMaximum(VectorDouble, VectorDouble) | (Inherited from Vector) | |
DoPointwiseMinimum(Double, VectorDouble) | (Inherited from Vector) | |
DoPointwiseMinimum(VectorDouble, VectorDouble) | (Inherited from Vector) | |
DoPointwiseModulus |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this vector with another vector and stores the result into the result vector.
(Inherited from Vector) | |
DoPointwiseMultiply |
Pointwise divide this vector with another vector and stores the result into the result vector.
(Overrides VectorDoPointwiseMultiply(VectorDouble, VectorDouble)) | |
DoPointwisePower(Double, VectorDouble) |
Pointwise raise this vector to an exponent and store the result into the result vector.
(Inherited from Vector) | |
DoPointwisePower(VectorDouble, VectorDouble) |
Pointwise raise this vector to an exponent vector and store the result into the result vector.
(Overrides VectorDoPointwisePower(VectorDouble, VectorDouble)) | |
DoPointwiseRemainder |
Pointwise remainder (% operator), where the result has the sign of the dividend,
of this vector with another vector and stores the result into the result vector.
(Inherited from Vector) | |
DoPointwiseRound | (Inherited from Vector) | |
DoPointwiseSign | (Inherited from Vector) | |
DoPointwiseSin | (Inherited from Vector) | |
DoPointwiseSinh | (Inherited from Vector) | |
DoPointwiseSqrt | (Inherited from Vector) | |
DoPointwiseTan | (Inherited from Vector) | |
DoPointwiseTanh | (Inherited from Vector) | |
DoRemainder |
Computes the remainder (% operator), where the result has the sign of the dividend,
for each element of the vector for the given divisor.
(Overrides VectorDoRemainder(Double, VectorDouble)) | |
DoRemainderByThis |
Computes the remainder (% operator), where the result has the sign of the dividend,
for the given dividend for each element of the vector.
(Inherited from Vector) | |
DoSubtract(Double, VectorDouble) |
Subtracts a scalar from each element of the vector and stores the result in the result vector.
(Overrides VectorDoSubtract(Double, VectorDouble)) | |
DoSubtract(VectorDouble, VectorDouble) |
Subtracts another vector to this vector and stores the result into the result vector.
(Overrides VectorDoSubtract(VectorDouble, VectorDouble)) | |
DoSubtractFrom |
Subtracts each element of the vector from a scalar and stores the result in the result vector.
(Inherited from VectorT) | |
DotProduct |
Computes the dot product between this vector and another vector.
(Inherited from VectorT) | |
Enumerate |
Returns an IEnumerable that can be used to iterate through all values of the vector.
(Inherited from VectorT) | |
Enumerate(Zeros) |
Returns an IEnumerable that can be used to iterate through all values of the vector.
(Inherited from VectorT) | |
EnumerateIndexed |
Returns an IEnumerable that can be used to iterate through all values of the vector and their index.
(Inherited from VectorT) | |
EnumerateIndexed(Zeros) |
Returns an IEnumerable that can be used to iterate through all values of the vector and their index.
(Inherited from VectorT) | |
Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Inherited from VectorT) | |
Equals(VectorT) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from VectorT) | |
Exists |
Returns true if at least one element satisfies a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
Exists2TOther |
Returns true if at least one element pairs of two vectors of the same size satisfies a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
Find |
Returns a tuple with the index and value of the first element satisfying a predicate, or null if none is found.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
Find2TOther |
Returns a tuple with the index and values of the first element pair of two vectors of the same size satisfying a predicate, or null if none is found.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
Fold2TOther, TState |
Applies a function to update the status with each value pair of two vectors and returns the resulting status.
(Inherited from VectorT) | |
ForAll |
Returns true if all elements satisfy a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
ForAll2TOther |
Returns true if all element pairs of two vectors of the same size satisfy a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from VectorT) | |
GetHashCode |
Returns a hash code for this instance.
(Inherited from VectorT) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
InfinityNorm |
Calculates the infinity norm of the vector.
(Overrides VectorInfinityNorm) | |
L1Norm |
Calculates the L1 norm of the vector, also known as Manhattan norm.
(Overrides VectorL1Norm) | |
L2Norm |
Calculates the L2 norm of the vector, also known as Euclidean norm.
(Overrides VectorL2Norm) | |
Map(FuncT, T, VectorT, Zeros) |
Applies a function to each value of this vector and replaces the value in the result vector.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapTU(FuncT, TU, Zeros) |
Applies a function to each value of this vector and returns the results as a new vector.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
Map2(FuncT, T, T, VectorT, Zeros) |
Applies a function to each value pair of two vectors and returns the results as a new vector.
(Inherited from VectorT) | |
Map2(FuncT, T, T, VectorT, VectorT, Zeros) |
Applies a function to each value pair of two vectors and replaces the value in the result vector.
(Inherited from VectorT) | |
MapConvertTU |
Applies a function to each value of this vector and replaces the value in the result vector.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapIndexed(FuncInt32, T, T, VectorT, Zeros) |
Applies a function to each value of this vector and replaces the value in the result vector.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapIndexedTU(FuncInt32, T, TU, Zeros) |
Applies a function to each value of this vector and returns the results as a new vector.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapIndexedConvertTU |
Applies a function to each value of this vector and replaces the value in the result vector.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapIndexedInplace |
Applies a function to each value of this vector and replaces the value with its result.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
MapInplace |
Applies a function to each value of this vector and replaces the value with its result.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse vectors).
(Inherited from VectorT) | |
Maximum |
Returns the value of maximum element.
(Inherited from VectorT) | |
MaximumIndex |
Returns the index of the maximum element.
(Overrides VectorMaximumIndex) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Minimum |
Returns the value of the minimum element.
(Inherited from VectorT) | |
MinimumIndex |
Returns the index of the minimum element.
(Overrides VectorMinimumIndex) | |
Modulus(T) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the vector for the given divisor.
(Inherited from VectorT) | |
Modulus(T, VectorT) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the vector for the given divisor.
(Inherited from VectorT) | |
ModulusByThis(T) |
Computes the canonical modulus, where the result has the sign of the divisor,
for the given dividend for each element of the vector.
(Inherited from VectorT) | |
ModulusByThis(T, VectorT) |
Computes the canonical modulus, where the result has the sign of the divisor,
for the given dividend for each element of the vector.
(Inherited from VectorT) | |
Multiply(T) |
Multiplies a scalar to each element of the vector.
(Inherited from VectorT) | |
Multiply(T, VectorT) |
Multiplies a scalar to each element of the vector and stores the result in the result vector.
(Inherited from VectorT) | |
Negate |
Returns a negated vector.
(Inherited from VectorT) | |
Negate(VectorT) |
Negates vector and save result to result (Inherited from VectorT) | |
Norm |
Computes the p-Norm.
(Overrides VectorNorm(Double)) | |
Normalize |
Normalizes this vector to a unit vector with respect to the p-norm.
(Inherited from Vector) | |
OfArray | Create a new dense vector as a copy of the given array. This new vector will be independent from the array. A new memory block will be allocated for storing the vector. | |
OfEnumerable | Create a new dense vector as a copy of the given enumerable. This new vector will be independent from the enumerable. A new memory block will be allocated for storing the vector. | |
OfIndexedEnumerable(Int32, IEnumerableTupleInt32, Double) | Create a new dense vector as a copy of the given indexed enumerable. Keys must be provided at most once, zero is assumed if a key is omitted. This new vector will be independent from the enumerable. A new memory block will be allocated for storing the vector. | |
OfIndexedEnumerable(Int32, IEnumerableValueTupleInt32, Double) | Create a new dense vector as a copy of the given indexed enumerable. Keys must be provided at most once, zero is assumed if a key is omitted. This new vector will be independent from the enumerable. A new memory block will be allocated for storing the vector. | |
OfVector | Create a new dense vector as a copy of the given other vector. This new vector will be independent from the other vector. A new memory block will be allocated for storing the vector. | |
OuterProduct(VectorT) |
Computes the outer product M[i,j] = u[i]*v[j] of this and another vector.
(Inherited from VectorT) | |
OuterProduct(VectorT, MatrixT) |
Computes the outer product M[i,j] = u[i]*v[j] of this and another vector and stores the result in the result matrix.
(Inherited from VectorT) | |
Parse | Creates a double dense vector based on a string. The string can be in the following formats (without the quotes): 'n', 'n,n,..', '(n,n,..)', '[n,n,...]', where n is a double. | |
PointwiseAbs |
Pointwise applies the abs function to each value
(Inherited from VectorT) | |
PointwiseAbs(VectorT) |
Pointwise applies the abs function to each value
(Inherited from VectorT) | |
PointwiseAbsoluteMaximum(T) |
Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMaximum(VectorT) |
Pointwise applies the absolute maximum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMaximum(T, VectorT) |
Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMaximum(VectorT, VectorT) |
Pointwise applies the absolute maximum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMinimum(T) |
Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMinimum(VectorT) |
Pointwise applies the absolute minimum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMinimum(T, VectorT) |
Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseAbsoluteMinimum(VectorT, VectorT) |
Pointwise applies the absolute minimum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseAcos |
Pointwise applies the acos function to each value
(Inherited from VectorT) | |
PointwiseAcos(VectorT) |
Pointwise applies the acos function to each value
(Inherited from VectorT) | |
PointwiseAsin |
Pointwise applies the asin function to each value
(Inherited from VectorT) | |
PointwiseAsin(VectorT) |
Pointwise applies the asin function to each value
(Inherited from VectorT) | |
PointwiseAtan |
Pointwise applies the atan function to each value
(Inherited from VectorT) | |
PointwiseAtan(VectorT) |
Pointwise applies the atan function to each value
(Inherited from VectorT) | |
PointwiseAtan2(VectorT) |
Pointwise applies the atan2 function to each value of the current
vector and a given other vector being the 'x' of atan2 and the
'this' vector being the 'y'
(Inherited from VectorT) | |
PointwiseAtan2(VectorT, VectorT) |
Pointwise applies the atan2 function to each value of the current
vector and a given other vector being the 'x' of atan2 and the
'this' vector being the 'y'
(Inherited from VectorT) | |
PointwiseBinary(ActionT, VectorT, T) |
Helper function to apply a binary function which takes a scalar and
a vector and modifies the latter in place. A copy of the "this"
vector is therefore first made and then passed to f together with
the scalar argument. The copy is then returned as the result
(Inherited from VectorT) | |
PointwiseBinary(ActionVectorT, VectorT, VectorT) |
Helper function to apply a binary function which takes two vectors
and modifies the latter in place. A copy of the "this" vector is
first made and then passed to f together with the other vector. The
copy is then returned as the result
(Inherited from VectorT) | |
PointwiseBinary(ActionT, VectorT, T, VectorT) |
Helper function to apply a binary function which takes a scalar and
a vector, modifies the latter in place and returns void.
(Inherited from VectorT) | |
PointwiseBinary(ActionVectorT, VectorT, VectorT, VectorT) |
Helper function to apply a binary function which takes two vectors
and modifies the second one in place
(Inherited from VectorT) | |
PointwiseCeiling |
Pointwise applies the ceiling function to each value
(Inherited from VectorT) | |
PointwiseCeiling(VectorT) |
Pointwise applies the ceiling function to each value
(Inherited from VectorT) | |
PointwiseCos |
Pointwise applies the cos function to each value
(Inherited from VectorT) | |
PointwiseCos(VectorT) |
Pointwise applies the cos function to each value
(Inherited from VectorT) | |
PointwiseCosh |
Pointwise applies the cosh function to each value
(Inherited from VectorT) | |
PointwiseCosh(VectorT) |
Pointwise applies the cosh function to each value
(Inherited from VectorT) | |
PointwiseDivide(VectorT) |
Pointwise divide this vector with another vector.
(Inherited from VectorT) | |
PointwiseDivide(VectorT, VectorT) |
Pointwise divide this vector with another vector and stores the result into the result vector.
(Inherited from VectorT) | |
PointwiseExp |
Pointwise applies the exponent function to each value.
(Inherited from VectorT) | |
PointwiseExp(VectorT) |
Pointwise applies the exponent function to each value.
(Inherited from VectorT) | |
PointwiseFloor |
Pointwise applies the floor function to each value
(Inherited from VectorT) | |
PointwiseFloor(VectorT) |
Pointwise applies the floor function to each value
(Inherited from VectorT) | |
PointwiseLog |
Pointwise applies the natural logarithm function to each value.
(Inherited from VectorT) | |
PointwiseLog(VectorT) |
Pointwise applies the natural logarithm function to each value.
(Inherited from VectorT) | |
PointwiseLog10 |
Pointwise applies the log10 function to each value
(Inherited from VectorT) | |
PointwiseLog10(VectorT) |
Pointwise applies the log10 function to each value
(Inherited from VectorT) | |
PointwiseMaximum(T) |
Pointwise applies the maximum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseMaximum(VectorT) |
Pointwise applies the maximum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseMaximum(T, VectorT) |
Pointwise applies the maximum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseMaximum(VectorT, VectorT) |
Pointwise applies the maximum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseMinimum(T) |
Pointwise applies the minimum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseMinimum(VectorT) |
Pointwise applies the minimum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseMinimum(T, VectorT) |
Pointwise applies the minimum with a scalar to each value.
(Inherited from VectorT) | |
PointwiseMinimum(VectorT, VectorT) |
Pointwise applies the minimum with the values of another vector to each value.
(Inherited from VectorT) | |
PointwiseModulus(VectorT) |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this vector with another vector.
(Inherited from VectorT) | |
PointwiseModulus(VectorT, VectorT) |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this vector with another vector and stores the result into the result vector.
(Inherited from VectorT) | |
PointwiseMultiply(VectorT) |
Pointwise multiplies this vector with another vector.
(Inherited from VectorT) | |
PointwiseMultiply(VectorT, VectorT) |
Pointwise multiplies this vector with another vector and stores the result into the result vector.
(Inherited from VectorT) | |
PointwisePower(T) |
Pointwise raise this vector to an exponent.
(Inherited from VectorT) | |
PointwisePower(VectorT) |
Pointwise raise this vector to an exponent and store the result into the result vector.
(Inherited from VectorT) | |
PointwisePower(T, VectorT) |
Pointwise raise this vector to an exponent and store the result into the result vector.
(Inherited from VectorT) | |
PointwisePower(VectorT, VectorT) |
Pointwise raise this vector to an exponent.
(Inherited from VectorT) | |
PointwiseRemainder(VectorT) |
Pointwise remainder (% operator), where the result has the sign of the dividend,
of this vector with another vector.
(Inherited from VectorT) | |
PointwiseRemainder(VectorT, VectorT) |
Pointwise remainder (% operator), where the result has the sign of the dividend,
this vector with another vector and stores the result into the result vector.
(Inherited from VectorT) | |
PointwiseRound |
Pointwise applies the round function to each value
(Inherited from VectorT) | |
PointwiseRound(VectorT) |
Pointwise applies the round function to each value
(Inherited from VectorT) | |
PointwiseSign |
Pointwise applies the sign function to each value
(Inherited from VectorT) | |
PointwiseSign(VectorT) |
Pointwise applies the sign function to each value
(Inherited from VectorT) | |
PointwiseSin |
Pointwise applies the sin function to each value
(Inherited from VectorT) | |
PointwiseSin(VectorT) |
Pointwise applies the sin function to each value
(Inherited from VectorT) | |
PointwiseSinh |
Pointwise applies the sinh function to each value
(Inherited from VectorT) | |
PointwiseSinh(VectorT) |
Pointwise applies the sinh function to each value
(Inherited from VectorT) | |
PointwiseSqrt |
Pointwise applies the sqrt function to each value
(Inherited from VectorT) | |
PointwiseSqrt(VectorT) |
Pointwise applies the sqrt function to each value
(Inherited from VectorT) | |
PointwiseTan |
Pointwise applies the tan function to each value
(Inherited from VectorT) | |
PointwiseTan(VectorT) |
Pointwise applies the tan function to each value
(Inherited from VectorT) | |
PointwiseTanh |
Pointwise applies the tanh function to each value
(Inherited from VectorT) | |
PointwiseTanh(VectorT) |
Pointwise applies the tanh function to each value
(Inherited from VectorT) | |
PointwiseUnary(ActionVectorT) |
Helper function to apply a unary function to a vector. The function
f modifies the vector given to it in place. Before its
called, a copy of the 'this' vector with the same dimension is
first created, then passed to f. The copy is returned as the result
(Inherited from VectorT) | |
PointwiseUnary(ActionVectorT, VectorT) |
Helper function to apply a unary function which modifies a vector
in place.
(Inherited from VectorT) | |
Remainder(T) |
Computes the remainder (vector % divisor), where the result has the sign of the dividend,
for each element of the vector for the given divisor.
(Inherited from VectorT) | |
Remainder(T, VectorT) |
Computes the remainder (vector % divisor), where the result has the sign of the dividend,
for each element of the vector for the given divisor.
(Inherited from VectorT) | |
RemainderByThis(T) |
Computes the remainder (dividend % vector), where the result has the sign of the dividend,
for the given dividend for each element of the vector.
(Inherited from VectorT) | |
RemainderByThis(T, VectorT) |
Computes the remainder (dividend % vector), where the result has the sign of the dividend,
for the given dividend for each element of the vector.
(Inherited from VectorT) | |
SetSubVector |
Copies the values of a given vector into a region in this vector.
(Inherited from VectorT) | |
SetValues |
Set the values of this vector to the given values.
(Inherited from VectorT) | |
Subtract(T) |
Subtracts a scalar from each element of the vector.
(Inherited from VectorT) | |
Subtract(VectorT) |
Subtracts another vector from this vector.
(Inherited from VectorT) | |
Subtract(T, VectorT) |
Subtracts a scalar from each element of the vector and stores the result in the result vector.
(Inherited from VectorT) | |
Subtract(VectorT, VectorT) |
Subtracts another vector to this vector and stores the result into the result vector.
(Inherited from VectorT) | |
SubtractFrom(T) |
Subtracts each element of the vector from a scalar.
(Inherited from VectorT) | |
SubtractFrom(T, VectorT) |
Subtracts each element of the vector from a scalar and stores the result in the result vector.
(Inherited from VectorT) | |
SubVector |
Creates a vector containing specified elements.
(Inherited from VectorT) | |
Sum |
Computes the sum of the vector's elements.
(Overrides VectorSum) | |
SumMagnitudes |
Computes the sum of the absolute value of the vector's elements.
(Inherited from VectorT) | |
ToArray |
Returns the data contained in the vector as an array.
The returned array will be independent from this vector.
A new memory block will be allocated for the array.
(Inherited from VectorT) | |
ToColumnMatrix |
Create a matrix based on this vector in column form (one single column).
(Inherited from VectorT) | |
ToRowMatrix |
Create a matrix based on this vector in row form (one single row).
(Inherited from VectorT) | |
ToString |
Returns a string that summarizes this vector.
The maximum number of cells can be configured in the Control class.
(Inherited from VectorT) | |
ToString(String, IFormatProvider) |
Returns a string that summarizes this vector.
The maximum number of cells can be configured in the Control class.
The format string is ignored.
(Inherited from VectorT) | |
ToString(Int32, Int32, String, IFormatProvider) |
Returns a string that summarizes this vector, column by column and with a type header.
(Inherited from VectorT) | |
ToTypeString |
Returns a string that describes the type, dimensions and shape of this vector.
(Inherited from VectorT) | |
ToVectorString(String, IFormatProvider) |
Returns a string that represents the content of this vector, column by column.
(Inherited from VectorT) | |
ToVectorString(Int32, Int32, String, IFormatProvider) |
Returns a string that represents the content of this vector, column by column.
(Inherited from VectorT) | |
ToVectorString(Int32, Int32, String, String, String, FuncT, String) |
Returns a string that represents the content of this vector, column by column.
(Inherited from VectorT) | |
ToVectorStringArray | (Inherited from VectorT) | |
TryParse(String, DenseVector) | Converts the string representation of a real dense vector to double-precision dense vector equivalent. A return value indicates whether the conversion succeeded or failed. | |
TryParse(String, IFormatProvider, DenseVector) | Converts the string representation of a real dense vector to double-precision dense vector equivalent. A return value indicates whether the conversion succeeded or failed. |
Name | Description | |
---|---|---|
Addition(DenseVector, DenseVector) | Adds two Vectors together and returns the results. | |
Division(DenseVector, Double) | Divides a vector with a scalar. | |
(DenseVector to Double) | Returns a reference to the internal data structure. | |
(Double to DenseVector) | Returns a vector bound directly to a reference of the provided array. | |
Modulus(DenseVector, Double) | Computes the remainder (% operator), where the result has the sign of the dividend, of each element of the vector of the given divisor. | |
Multiply(DenseVector, DenseVector) | Computes the dot product between two Vectors. | |
Multiply(DenseVector, Double) | Multiplies a vector with a scalar. | |
Multiply(Double, DenseVector) | Multiplies a vector with a scalar. | |
Subtraction(DenseVector, DenseVector) | Subtracts two Vectors and returns the results. | |
UnaryNegation(DenseVector) | Returns a Vector containing the negated values of rightSide. |
Name | Description | |
---|---|---|
ToComplex |
Gets a double precision complex vector with the real parts from the given vector.
(Defined by VectorExtensions) | |
ToSingle |
Converts a vector to single precision.
(Defined by VectorExtensions) |