RowVector Class

A row vector of real numbers.

Definition

Namespace: Meta.Numerics.Matrices
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public sealed class RowVector : AnyVector
Inheritance
Object    AnyMatrixDouble    AnyRectangularMatrix    AnyVector    RowVector

Remarks

An N-dimensional row vector is an 1 X N dimensional matrix.

Constructors

RowVector(Double) Initializes a new row vector with the given components.
RowVector(Int32) Initializes a new row vector with the given dimension.
RowVector(IReadOnlyListDouble) Initializes a new row vector from the given component list.

Properties

ColumnCount Gets the number of matrix columns.
(Overrides AnyMatrixTColumnCount)
Dimension Gets the dimension of the vector.
(Inherited from AnyVector)
IsReadOnly Gets a flag indicating whether the matrix is read-only.
(Inherited from AnyMatrixT)
ItemInt32 Gets or sets the specified vector component.
(Inherited from AnyVector)
ItemInt32, Int32 Gets or sets the value of a matrix entry.
(Overrides AnyMatrixTItemInt32, Int32)
RowCount Gets the number of matrix rows.
(Overrides AnyMatrixTRowCount)
Transpose Returns the transpose of the row vector.

Methods

Column Gets the specified column.
(Inherited from AnyRectangularMatrix)
Copy Returns a copy of the row vector.
Equals(AnyMatrixT) Determines whether the given matrix equals the current matrix.
(Inherited from AnyMatrixT)
Equals(Object) Determines whether the given object is an equal matrix.
(Inherited from AnyMatrixT)
Fill Sets all matrix entries according to a supplied fill function.
(Inherited from AnyMatrixT)
FrobeniusNorm Computes the Frobenius-norm of the matrix.
(Inherited from AnyRectangularMatrix)
GetEnumerator Gets an enumerator of the vector components.
(Inherited from AnyVector)
GetHashCode Not a valid operation.
(Inherited from AnyMatrixT)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InfinityNorm Computes the ∞-norm of the matrix.
(Inherited from AnyRectangularMatrix)
MaxNorm Computes the max-norm of the matrix.
(Inherited from AnyRectangularMatrix)
MultiplySelfByTranspose Computes the product of the matrix and its transpose.
(Inherited from AnyRectangularMatrix)
MultiplyTransposeBySelf Computes the product of the matrix's transpose and itself.
(Inherited from AnyRectangularMatrix)
Norm Computes the magnitude of the vector.
(Inherited from AnyVector)
OneNorm Computes the 1-norm of the matrix.
(Inherited from AnyRectangularMatrix)
Row Gets a copy of the specified row.
(Inherited from AnyRectangularMatrix)
ToArray Returns the vector elements in an independent array.
(Inherited from AnyVector)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Operators

Addition(RowVector, RowVector) Computes the sum of two row vectors.
Division(RowVector, Double) Divides a row vector by a real, scalar constant.
Multiply(Double, RowVector) Multiplies a row vector by a real, scalar constant.
Multiply(RowVector, AnyRectangularMatrix) Multiplies any real, rectangular matrix by a row vector.
Multiply(RowVector, ColumnVector) Computes the inner (scalar or dot) product of a row and a column vector.
Subtraction(RowVector, RowVector) Computes the difference of two column vectors.
UnaryNegation(RowVector) Negates a row vector.

See Also