![]() | Double |
The DoubleVector type exposes the following members.
Name | Description | |
---|---|---|
![]() | DoubleVector | Undefined vector. Must be resized before using. |
![]() | DoubleVector(DataRow) | Constructs a DoubleVector instance whose values are derived from the first column of each of the rows in the double row array. |
![]() | DoubleVector(DataRowCollection) | Constructs a DoubleVector instance whose values are derived from the first column of each of the rows in the data row collection. |
![]() | DoubleVector(DataTable) | Constructs a DoubleVector instance whose values are derived from the first column of the given data table. |
![]() | DoubleVector(DataView) | Constructs a DoubleVector instance whose values are derived from the first column of the given data view. |
![]() | DoubleVector(Double) | Constructs a DoubleVector instance from the contents of the given array. |
![]() | DoubleVector(DoubleVector) | Constructs a deep copy of a DoubleVector. |
![]() | DoubleVector(Int32) | Constructs a DoubleVector instance with the given length. |
![]() | DoubleVector(String) | Constructs a DoubleVector instance from a given string representation. |
![]() | DoubleVector(TextReader) | Constructs a DoubleVector instance from the given text reader. |
![]() | DoubleVector(Int32, RandomNumberGenerator) | Constructs a DoubleVector instance from a random number generator. |
![]() | DoubleVector(Int32, Double) | Constructs a DoubleVector instance with the given length, and all values initialized to the given value. |
![]() | DoubleVector(Int32, Single) | Constructs a DoubleVector instance with the given length, and all values initialized to the given value. |
![]() | DoubleVector(String, NumberStyles) | Returns a new DoubleVector instance from a given string representation using the specified style. |
![]() | DoubleVector(TextReader, NumberStyles) | Constructs a DoubleVector instance from a given text reader using the specified style. |
![]() | DoubleVector(DoubleDataBlock, Int32, Int32) | Constructs a DoubleVector instance with the specifed length, stride and referenced data. |
![]() | DoubleVector(Int32, RandomNumberStream, IRandomNumberDistributionDouble) | Constructs a DoubleVector instance from a random number generator. |
![]() | DoubleVector(Int32, Double, Double) | Constructs a DoubleVector instance with the given length. Values are initialized starting with the given initial value, incremented by the specified amount for each element in the vector. |
Name | Description | |
---|---|---|
![]() | DataBlock | Gets a reference to the underlying data that this vector is viewing. |
![]() | ItemInt32 | Gets and sets the data element at the given position. |
![]() ![]() | ItemSlice | Returns a new DoubleVector instance pointing to the subset of this vector's data indicated by the given Slice. |
![]() | Length | Gets the number of data elements in this vector. |
![]() | Stride | Gets the step between successive elements in the data that this vector is viewing. |
Name | Description | |
---|---|---|
![]() ![]() | Add(Double, DoubleVector) | Adds a scalar and a vector. |
![]() ![]() | Add(DoubleVector, DoubleVector) | Adds two vectors. |
![]() ![]() | Add(DoubleVector, Double) | Adds a vector and a scalar. |
![]() ![]() | Add(Double, DoubleVector, DoubleVector) | Adds a scalar and a vector and puts the result into another vector. |
![]() ![]() | Add(DoubleVector, DoubleVector, DoubleVector) | Adds two vectors and puts the result into a third vector. |
![]() ![]() | Add(DoubleVector, Double, DoubleVector) | Adds a vector and a scalar and puts the result into another vector. |
![]() | Append(Double) | Appends the given element to this vector. |
![]() | Append(DoubleVector) | Appends the given vector to this vector. |
![]() | Apply(FuncDouble, Double) | Returns a new vector with the same size as this vector, whose values are the result of applying the given unary function to each element of this vector. |
![]() | Apply(FuncDouble, Double, Double, DoubleVector) | Returns a new vector with the same size as this vector, whose values are the result of applying the given binary function to each element of this vector. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed vector. |
![]() | Apply(FuncDouble, Double, Double, Double) | Returns a new vector with the same size as this vector, whose values are the result of applying the given binary function to each element of this vector. The first parameter to the binary function is the vector element; the second parameter is the passed double-precision value. |
![]() | Apply(FuncDouble, Int32, Double, Int32) | Returns a new vector with the same size as this vector, whose values are the result of applying the given binary function to each element of this vector. The first parameter to the binary function is the vector element; the second parameter is the passed integer value. |
![]() | Clear | Sets the data elements of this vector to zero. |
![]() | Clear(Slice) | Sets the data elements of this vector indicated by the given Slice to zero. |
![]() | Clone | Creates a deep copy of this vector. |
![]() ![]() | Decrement | Decrements the elements in a vector. |
![]() | DeepenThisCopy | Guarantees that there is only one reference to the underlying data and that this data is in contiguous storage. |
![]() ![]() | Divide(Double, DoubleVector) | Divides a scalar by a vector. |
![]() ![]() | Divide(DoubleVector, DoubleVector) | Divides a vector by another vector. |
![]() ![]() | Divide(DoubleVector, Double) | Divides a vector by a scalar. |
![]() ![]() | Divide(Double, DoubleVector, DoubleVector) | Divides a scalar by a vector and puts the result into another vector. |
![]() ![]() | Divide(DoubleVector, DoubleVector, DoubleVector) | Divides one vector by another vector and puts the result into a third vector. |
![]() ![]() | Divide(DoubleVector, Double, DoubleVector) | Divides a vector by a scalar and puts the result into another vector. |
![]() | Equals |
Tests for equality of this vector and another vector. Two vectors are equal
if they have the same dimensions and all values are equal.
(Overrides ObjectEquals(Object)) |
![]() | GetDoubleEnumerator | Creates an IDoubleEnumerator out of the data elements in this vector. |
![]() | GetEnumerator | Creates an IEnumerator{double} out of the data elements in this vector. |
![]() | GetHashCode |
Returns an integer hash code for this vector.
(Overrides ObjectGetHashCode) |
![]() | GetSchema | The method is reserved and should not be used. |
![]() | Increment(Double) | Adds the specified value to each element in the vector. |
![]() ![]() | Increment(DoubleVector) | Increments the elements in a vector. |
![]() | InfinityNorm | Computes the infinity-norm of this vector. |
![]() ![]() | Multiply(Double, DoubleVector) | Multiplies a scalar with a vector. |
![]() ![]() | Multiply(DoubleComplex, DoubleVector) | Multiplies a complex scalar by a vector. |
![]() ![]() | Multiply(DoubleVector, DoubleComplex) | Multiplies a vector by a complex scalar. |
![]() ![]() | Multiply(DoubleVector, DoubleVector) | Multiplies two vectors. |
![]() ![]() | Multiply(DoubleVector, Double) | Multiplies a vector with a scalar. |
![]() ![]() | Multiply(Double, DoubleVector, DoubleVector) | Multiplies a scalar and a vector and puts the result into another vector. |
![]() ![]() | Multiply(DoubleVector, DoubleVector, DoubleVector) | Multiplies two vectors and puts the result into a third vector. |
![]() ![]() | Multiply(DoubleVector, Double, DoubleVector) | Multiplies a vector and a scalar and puts the result into another vector. |
![]() | NaNEquals | Tests for equality of this vector and another vector. Two vectors are equal if they have the same dimensions and all values are equal. |
![]() ![]() | Negate | Negates a vector. |
![]() | OneNorm | Computes the 1-norm of this vector. |
![]() ![]() | Parse(String) | Returns a new DoubleVector instance from a given string representation. |
![]() ![]() | Parse(TextReader) | Constructs a DoubleVector instance from the given text reader. |
![]() ![]() | Parse(String, NumberStyles) | Returns a new DoubleVector instance from a given string representation using the specified style. |
![]() ![]() | Parse(TextReader, NumberStyles) | Constructs a DoubleVector instance from a given text reader using the specified style. |
![]() ![]() | ReadXml |
Generates a DoubleVector instance form its XML representation.
![]()
The vector:
[ 1 2 3 ]
would be serialized as:
|
![]() | Resize | Changes the size of this vector to the specified length, adding zeros or truncating as necessary. |
![]() | ResizeAndClear | Changes the size of this vector to the specified length, and resets the value of all data elements to zero. |
![]() | Reverse | Returns a new vector view of the data in reverse order. |
![]() | Scale | Scales each element in the vector by the specified value. |
![]() | Set(Double) | Sets the data elements of this vector to the specified value. |
![]() | Set(Slice, Double) | Sets the data elements of this vector indicated by the given Slice to the specified value. |
![]() | ShallowCopy | Creates a shallow copy of this vector. |
![]() ![]() | Subtract(Double, DoubleVector) | Subtracts a vector from a scalar. |
![]() ![]() | Subtract(DoubleVector, DoubleVector) | Subtracts a vector from a vector. |
![]() ![]() | Subtract(DoubleVector, Double) | Subtracts a scalar from a vector. |
![]() ![]() | Subtract(Double, DoubleVector, DoubleVector) | Subtracts a vector from a scalar and puts the result into another vector. |
![]() ![]() | Subtract(DoubleVector, DoubleVector, DoubleVector) | Subtracts a vector from a second vector and puts the result into a third vector. |
![]() ![]() | Subtract(DoubleVector, Double, DoubleVector) | Subtracts a scalar from a vector and puts the result into another vector. |
![]() | ToArray | Copies data into a new array and returns it. |
![]() | ToDataTable | Creates a data table of one column that contains the values in this vector. |
![]() | ToDataTable(String) | Creates a data table of one column that contains the values in this vector. |
![]() | ToString |
Returns a formatted string representation of this vector.
(Overrides ObjectToString) |
![]() | ToString(String) | Returns a formatted string representation of this vector. |
![]() | Transform(FuncDouble) | Modifies the elements of this vector by applying the given no-argument function to each element. |
![]() | Transform(FuncDouble, Double) | Modifies the elements of this vector by applying the given unary function to each element. |
![]() | Transform(FuncDouble, Double, Double, DoubleVector) | Modifies the contents of this vector by applying the given binary function to each element. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed vector. |
![]() | Transform(FuncDouble, Double, Double, Double) | Modifies the contents of this vector by applying the given binary function to each element. The first parameter to the binary function is the vector element; the second parameter is the passed double-precision value. |
![]() | Transform(FuncDouble, Int32, Double, Int32) | Modifies the contents of this vector by applying the given function to each element. The first parameter to the function is the vector element; the second parameter is the passed integer value. |
![]() | TwoNorm | Computes the 2-norm of this vector. |
![]() | TwoNormSquared | Computes the 2-norm squared of this vector. |
![]() | Write(TextWriter) | Writes a text representation of this vector to the given writer. |
![]() | Write(TextWriter, String) | Writes a formatted text representation of this vector. |
![]() ![]() | WriteXml |
Converts an object into its XML representation.
![]()
The vector:
[ 1 2 3 ]
would be serialized as:
|
Name | Description | |
---|---|---|
![]() ![]() | Addition(Double, DoubleVector) | Adds a scalar and a vector. |
![]() ![]() | Addition(DoubleVector, DoubleVector) | Adds two vectors. |
![]() ![]() | Addition(DoubleVector, Double) | Adds a vector and a scalar. |
![]() ![]() | Decrement(DoubleVector) | Decrements the elements in this vector. |
![]() ![]() | Division(Double, DoubleVector) | Divides a scalar by a vector. |
![]() ![]() | Division(DoubleVector, DoubleVector) | Divides a vector by another vector. |
![]() ![]() | Division(DoubleVector, Double) | Divides a vector by a scalar. |
![]() ![]() | Equality(DoubleVector, DoubleVector) | Tests for equality of two vectors. Two vectors are equal if they have the same dimensions and all values are equal. |
![]() ![]() | (FloatVector to DoubleVector) | Implicitly converts a FloatVector instance into a DoubleVector instance. |
![]() ![]() | Increment(DoubleVector) | Increments the elements in this vector. |
![]() ![]() | Inequality(DoubleVector, DoubleVector) | Tests for inequality of two vectors. Two vectors are unequal if they have different dimensions or their values are not all equal. |
![]() ![]() | Multiply(Double, DoubleVector) | Multiplies a scalar by a vector. |
![]() ![]() | Multiply(DoubleComplex, DoubleVector) | Multiplies a DoubleComplex scalar by a vector. |
![]() ![]() | Multiply(DoubleVector, DoubleComplex) | Multiplies a DoubleComplex scalar by a vector. |
![]() ![]() | Multiply(DoubleVector, DoubleVector) | Multiplies two vectors. |
![]() ![]() | Multiply(DoubleVector, Double) | Multiplies a vector by a scalar. |
![]() ![]() | Subtraction(Double, DoubleVector) | Subtracts a vector from a scalar. |
![]() ![]() | Subtraction(DoubleVector, DoubleVector) | Subtracts a vector from another vector. |
![]() ![]() | Subtraction(DoubleVector, Double) | Subtracts a scalar from a vector. |
![]() ![]() | UnaryNegation(DoubleVector) | Negates the elements in this vector. |
![]() ![]() | UnaryPlus(DoubleVector) | Returns a vector. |
Name | Description | |
---|---|---|
![]() ![]() | XmlDataElement | XML data element name. |
![]() ![]() | XmlDatumElement | XML datum element name. |
![]() ![]() | XmlLengthAttribute | XML length attribute name. |