IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Implements functionality shared between row and column vectors. More...
Public Member Functions | |
virtual double | Norm () |
Computes the magnitude of the vector. More... | |
virtual new double[] | ToArray () |
Returns the vector elements in an independent array. More... | |
IEnumerator< double > | GetEnumerator () |
Gets an enumerator of the vector components. More... | |
![]() | |
virtual double | OneNorm () |
Computes the 1-norm of the matrix. More... | |
virtual double | InfinityNorm () |
Computes the ∞-norm of the matrix. More... | |
virtual double | FrobeniusNorm () |
Computes the Frobenius-norm of the matrix. More... | |
virtual ColumnVector | Column (int c) |
Gets a copy of the specified column. More... | |
virtual RowVector | Row (int r) |
Gets a copy of the specified row. More... | |
virtual SymmetricMatrix | MultiplySelfByTranspose () |
Computes the product of the matrix and its transpose. More... | |
virtual SymmetricMatrix | MultiplyTransposeBySelf () |
Computes the product of the matrix's transpose and itself. More... | |
bool | Equals (AnyRectangularMatrix other) |
Determines whether the given matrix equals the current matrix. More... | |
override bool | Equals (object obj) |
Determines whether the given object is an equal matrix. More... | |
override int | GetHashCode () |
Not a valid operation. More... | |
![]() | |
virtual void | Fill (Func< int, int, T > f) |
Sets all matrix entries according to a supplied fill function. More... | |
Properties | |
virtual double | this[int index] [get, set] |
Gets or sets the specified vector component. More... | |
virtual int | Dimension [get] |
Gets the dimension of the vector. More... | |
int ICollection< double >. | Count [get] |
bool ICollection< double >. | IsReadOnly [get] |
![]() | |
abstract int | RowCount [get] |
Gets the number of matrix rows. More... | |
abstract int | ColumnCount [get] |
Gets the number of matrix columns. More... | |
abstract T | this[int r, int c] [get, set] |
Gets or sets the value of a matrix entry. More... | |
bool | IsReadOnly [get, set] |
Gets a flag indicating whether the matrix is read-only. More... | |
Private Member Functions | |
IEnumerator IEnumerable. | GetEnumerator () |
void ICollection< double >. | Add (double item) |
void ICollection< double >. | Clear () |
bool ICollection< double >. | Contains (double item) |
void ICollection< double >. | CopyTo (double[] array, int arrayIndex) |
bool ICollection< double >. | Remove (double item) |
int IList< double >. | IndexOf (double item) |
void IList< double >. | Insert (int index, double item) |
void IList< double >. | RemoveAt (int index) |
Private Attributes | |
int | stride |
Additional Inherited Members | |
![]() | |
static RectangularMatrix | operator+ (AnyRectangularMatrix A, AnyRectangularMatrix B) |
Adds any two real, rectangular matrices. More... | |
static RectangularMatrix | operator- (AnyRectangularMatrix A, AnyRectangularMatrix B) |
Subtracts any two real, rectangular matrices. More... | |
static RectangularMatrix | operator* (AnyRectangularMatrix A, AnyRectangularMatrix B) |
Multiplies any two real, rectangular matrices. More... | |
static RectangularMatrix | operator* (double alpha, AnyRectangularMatrix A) |
Multiplies any real, rectangular matrix by a real constant. More... | |
static ColumnVector | operator* (AnyRectangularMatrix A, ColumnVector v) |
Multiplies any real, rectangular matrix with a real column vector. More... | |
static bool | operator== (AnyRectangularMatrix A, AnyRectangularMatrix B) |
Determines whether two matrices are equal. More... | |
static bool | operator!= (AnyRectangularMatrix A, AnyRectangularMatrix B) |
Determines whether two matrices are not equal. More... | |
![]() | |
AnyRectangularMatrix () | |
![]() | |
AnyMatrix () | |
Implements functionality shared between row and column vectors.
|
inlinevirtual |
Computes the magnitude of the vector.
Referenced by Test.VectorTest.ExtendedVectorNorm(), Meta.Numerics.Analysis.FunctionMath.FindZero(), and Test.VectorTest.VectorNorm().
|
inlinevirtual |
Returns the vector elements in an independent array.
Reimplemented from Meta.Numerics.Matrices.AnyMatrix< T >.
Referenced by Meta.Numerics.Analysis.FunctionMath.FindZero().
|
inline |
Gets an enumerator of the vector components.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
|
getset |
Gets or sets the specified vector component.
index | The (zero-based) component index. |
|
get |
Gets the dimension of the vector.
Referenced by Test.VectorTest.ColumnVectorArithmetic(), Test.MultivariateSampleTest.CreateMultivariateNormalSample(), Meta.Numerics.Analysis.FunctionMath.FindZero(), Test.VectorTest.MixedVectorArithmetic(), Meta.Numerics.Matrices.RowVector.operator*(), Meta.Numerics.Matrices.AnyRectangularMatrix.operator*(), Meta.Numerics.Matrices.SparseSquareMatrix.operator*(), Test.RectangularMatrixTest.RectangularMatrixAccess(), Test.MultiExtremumTest.Rosenbrock(), Test.VectorTest.RowVectorArithmetic(), Meta.Numerics.Matrices.SparseSquareMatrix.Solve(), Test.SquareMatrixTest.SquareMatrixAccess(), Test.SymmetricMatrixTest.SymmetricMatrixAccess(), and Test.VectorTest.VectorAsCollection().
|
getprivate |
|
getprivate |