Parameters Vector other

The vector to showroom to this one.

Vector result

The vector lớn store the result of the addition.




Bạn đang xem: Vector

Returns the internal array of this vector if, & only if, this vector is stored by such an array internally.Otherwise returns null. Changes to lớn the returned array and the vector will affect each other.Use ToArray instead if you always need an independent array.
Parameters Vector destination

The vector to copy the elements to.

int sourceIndex

The element to lớn start copying from.

int targetIndex

The element to lớn start copying to.

int count

The number of elements to copy.


Returns an IEnumerable that can be used lớn iterate through all values of the vector. The enumerator will include all values, even if they are zero.
Returns an IEnumerable that can be used to iterate through all values of the vector. The enumerator will include all values, even if they are zero.
Returns an IEnumerable that can be used to iterate through all values of the vector & their index. The enumerator returns a Tuple with the first value being the element indexand the second value being the value of the element at that index.The enumerator will include all values, even if they are zero.
Returns an IEnumerable that can be used khổng lồ iterate through all values of the vector & their index. The enumerator returns a Tuple with the first value being the element indexand the second value being the value of the element at that index.The enumerator will include all values, even if they are zero.
Returns true if at least one element satisfies a predicate.Zero elements may be skipped on sparse data structures if allowed (default).
Returns true if at least one element pairs of two vectors of the same kích cỡ satisfies a predicate.Zero elements may be skipped on sparse data structures if allowed (default).
Returns a tuple with the index và 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).
Returns a tuple with the index & values of the first element pair of two vectors of the same kích thước satisfying a predicate, or null if none is found.Zero elements may be skipped on sparse data structures if allowed (default).
Applies a function khổng lồ update the status with each value pair of two vectors & returns the resulting status.
Returns true if all elements satisfy a predicate.Zero elements may be skipped on sparse data structures if allowed (default).
Returns true if all element pairs of two vectors of the same kích thước satisfy a predicate.Zero elements may be skipped on sparse data structures if allowed (default).
Return int

A hash code for this instance, suitable for use in hashing algorithms và data structures like a hash table.


Applies a function khổng lồ each value of this vector & replaces the value in the result vector.If forceMapZero is not set to lớn true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function lớn each value of this vector và returns the results as a new vector.If forceMapZero is not set to lớn true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function lớn each value of this vector và replaces the value in the result vector.If forceMapZero is not set to true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function to each value of this vector & replaces the value in the result vector.The index of each value (zero-based) is passed as first argument lớn the function.If forceMapZero is not set to true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function lớn each value of this vector và returns the results as a new vector.The index of each value (zero-based) is passed as first argument to lớn the function.If forceMapZero is not set to lớn true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function lớn each value of this vector và replaces the value in the result vector.The index of each value (zero-based) is passed as first argument khổng lồ the function.If forceMapZero is not set lớn true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function to each value of this vector và replaces the value with its result.The index of each value (zero-based) is passed as first argument lớn the function.If forceMapZero is not set khổng lồ true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Applies a function lớn each value of this vector và replaces the value with its result.If forceMapZero is not set to lớn true, zero values may or may not be skipped dependingon the actual data storage implementation (relevant mostly for sparse vectors).
Computes the outer product M = u*v of this and another vector và stores the result in the result matrix.
Parameters Vector other

The other vector

Matrix result

The matrix khổng lồ store the result of the product.


Parameters Vector other

The vector with the values to compare to.

Vector result

The vector to store the result.


Parameters Vector other

The vector with the values to compare to.

Vector result

The vector lớn store the result.


Pointwise applies the atan2 function to lớn each value of the currentvector & a given other vector being the "x" of atan2 & the"this" vector being the "y"
Pointwise applies the atan2 function khổng lồ each value of the currentvector & a given other vector being the "x" of atan2 and the"this" vector being the "y"
Parameters Vector divisor

The pointwise denominator vector khổng lồ use.

Vector result

The vector to store the result of the pointwise division.


Parameters Vector other

The vector with the values to compare to.

Vector result

The vector khổng lồ store the result.


Parameters Vector other

The vector with the values lớn compare to.

Vector result

The vector lớn store the result.


Pointwise canonical modulus, where the result has the sign of the divisor,of this vector with another vector và stores the result into the result vector.
Parameters Vector divisor

The pointwise denominator vector lớn use.

Vector result

The vector lớn store the result of the pointwise modulus.


Pointwise canonical modulus, where the result has the sign of the divisor,of this vector with another vector.
Parameters Vector other

The vector khổng lồ pointwise multiply with this one.

Vector result

The vector to store the result of the pointwise multiplication.


Parameters Vector exponent

The exponent to lớn raise this vector values to.

Vector result

The vector lớn store the result into.


Pointwise remainder (% operator), where the result has the sign of the dividend,of this vector with another vector.
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.
Parameters Vector divisor

The pointwise denominator vector lớn use.

Vector result

The vector to store the result of the pointwise remainder.


Parameters int index

The field lớn start copying khổng lồ

int count

The number of fields to copy. Must be positive.

Vector subVector

The sub-vector to lớn copy from.


Parameters Vector other

The vector lớn subtract from this one.

Vector result

The vector to lớn store the result of the subtraction.


Parameters int index

The first element khổng lồ begin copying from.

int count

The number of elements to copy.


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.
Returns a string that summarizes this vector.The maximum number of cells can be configured in the Control class.
Parameters int maxPerColumn

Maximum number of entries and thus lines per column. Typical value: 12; Minimum: 3.

int maxCharactersWidth

Maximum number of characters per line over all columns. Typical value: 80; Minimum: 16.

string format

Floating point format string. Can be null. Mặc định value: G6.

IFormatProvider provider

Format provider or culture. Can be null.


Returns a string that summarizes this vector.The maximum number of cells can be configured in the Control class.The format string is ignored.
Parameters string format

Floating point format string. Can be null. Mặc định value: G6.

IFormatProvider provider

Format provider or culture. Can be null.


string ToVectorString(int maxPerColumn, int maxCharactersWidth, string ellipsis, string columnSeparator, string rowSeparator, ">Func formatValue)
Parameters int maxPerColumn

Maximum number of entries & thus lines per column. Typical value: 12; Minimum: 3.

int maxCharactersWidth

Maximum number of characters per line over all columns. Typical value: 80; Minimum: 16.

string ellipsis

Character lớn use khổng lồ print if there is not enough space to print all entries. Typical value: "..".

string columnSeparator

Character to use lớn separate two columns on a line. Typical value: " " (2 spaces).

string rowSeparator

Character lớn use khổng lồ separate two rows/lines. Typical value: Environment.NewLine.

">Func formatValue

Function khổng lồ provide a string for any given entry value.


string ToVectorString(int maxPerColumn, int maxCharactersWidth, string format, IFormatProvider provider)
Returns a string that represents the content of this vector, column by column.
Parameters int maxPerColumn

Maximum number of entries và thus lines per column. Typical value: 12; Minimum: 3.

int maxCharactersWidth

Maximum number of characters per line over all columns. Typical value: 80; Minimum: 16.

string format

Floating point format string. Can be null. Mặc định value: G6.

IFormatProvider provider

Format provider or culture. Can be null.


String<,> ToVectorStringArray(int maxPerColumn, int maxCharactersWidth, int padding, string ellipsis, ">Func formatValue)

Public Properties


int Count get;
double Item get; set;


Xem thêm: Phát Biểu Cảm Nghĩ Về Bài Thơ Hồi Hương Ngẫu Thư, Phát Biểu Cảm Nghĩ Về Hồi Hương Ngẫu Thư Hay Nhất

VectorStorage Storage get;

Based on v5.0.0.0 of MathNet.pragamisiones.com (Math.NET pragamisiones.com)