IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Unit tests for matrix operations. More...
Public Member Functions | |
void | AccessOutOfRangeMatrix1 () |
void | AccessOutOfRangeMatrix2 () |
void | AccessOutOfRangeMatrix3 () |
void | AccessOutOfRangeMatrix4 () |
void | AccessOutOfRangeVector1 () |
void | AccessOutOfRangeVector2 () |
void | ByHand_Transpose () |
Test of matrix transpose - comparison with known result. More... | |
void | ByHand_MultiplyMatrix () |
Test of matrix product - comparison of product with known result. More... | |
void | ByHand_MultiplyMatrixVector () |
Test of matrix - vector product (comparison of product with known result). More... | |
void | ByHand_ScalarProduct () |
Test of scalar product (comparison of product with knnown result). More... | |
void | MultiplyMatMatTransp () |
Tests matrix product A*B*C^T. More... | |
void | MultiplyVectorMatrixVector () |
Tests vector - matrix - vector product a^T*B*c. More... | |
void | AccessOutOfRangeMatrix1 () |
void | AccessOutOfRangeMatrix2 () |
void | AccessOutOfRangeMatrix3 () |
void | AccessOutOfRangeMatrix4 () |
void | AccessOutOfRangeVector1 () |
void | AccessOutOfRangeVector2 () |
void | ByHand_Transpose () |
Test of matrix transpose - comparison with known result. More... | |
void | ByHand_MultiplyMatrix () |
Test of matrix product - comparison of product with known result. More... | |
void | ByHand_MultiplyMatrixVector () |
Test of matrix - vector product (comparison of product with known result). More... | |
void | ByHand_ScalarProduct () |
Test of scalar product (comparison of product with knnown result). More... | |
void | MultiplyMatMatTransp () |
Tests matrix product A*B*C^T. More... | |
void | MultiplyVectorMatrixVector () |
Tests vector - matrix - vector product a^T*B*c. More... | |
Unit tests for matrix operations.
$A Igor May09 Dec14;
|
inline |
References IG.Num.A.
|
inline |
References IG.Num.A.
|
inline |
References IG.Num.A.
|
inline |
References IG.Num.A.
|
inline |
|
inline |
|
inline |
Test of matrix transpose - comparison with known result.
References IG.Num.A, IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), IG.Num.IMatrix.ToStringReadable(), IG.Num.MatrixBase.Transpose(), and IG.Num.MatrixBase.TransposePlain().
|
inline |
Test of matrix product - comparison of product with known result.
References IG.Num.A, IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyPlain(), IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), and IG.Num.IMatrix.ToStringReadable().
|
inline |
Test of matrix - vector product (comparison of product with known result).
References IG.Num.A, IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyPlain(), IG.Num.VectorBase.SetZero(), IG.Num.VectorBase.Subtract(), and IG.Num.IMatrix.ToStringReadable().
|
inline |
Test of scalar product (comparison of product with knnown result).
References IG.Num.VectorBase.ScalarProduct().
|
inline |
Tests matrix product A*B*C^T.
References IG.Num.A, IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyMatMatTransp(), IG.Num.MatrixBase.MultiplyMatMatTranspPlain(), IG.Num.MatrixBase.SetRandom(), IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), and IG.Num.MatrixBase.Transpose().
|
inline |
Tests vector - matrix - vector product a^T*B*c.
References IG.Num.MatrixBase.Multiply(), IG.Num.VectorBase.ScalarProduct(), IG.Num.VectorBase.SetRandom(), and IG.Num.MatrixBase.SetRandom().
|
inline |
References IG.Num.A, and NUnit.Framework.Assert.Throws().
|
inline |
References IG.Num.A, and NUnit.Framework.Assert.Throws().
|
inline |
References IG.Num.A, and NUnit.Framework.Assert.Throws().
|
inline |
References IG.Num.A, and NUnit.Framework.Assert.Throws().
|
inline |
References NUnit.Framework.Assert.Throws().
|
inline |
References NUnit.Framework.Assert.Throws().
|
inline |
Test of matrix transpose - comparison with known result.
References IG.Num.A, NUnit.Framework.Assert.AreEqual(), IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), IG.Num.IMatrix.ToStringReadable(), IG.Num.MatrixBase.Transpose(), and IG.Num.MatrixBase.TransposePlain().
|
inline |
Test of matrix product - comparison of product with known result.
References IG.Num.A, NUnit.Framework.Assert.AreEqual(), IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyPlain(), IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), and IG.Num.IMatrix.ToStringReadable().
|
inline |
Test of matrix - vector product (comparison of product with known result).
References IG.Num.A, NUnit.Framework.Assert.AreEqual(), IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyPlain(), IG.Num.VectorBase.SetZero(), IG.Num.VectorBase.Subtract(), and IG.Num.IMatrix.ToStringReadable().
|
inline |
Test of scalar product (comparison of product with knnown result).
References NUnit.Framework.Assert.AreEqual(), and IG.Num.VectorBase.ScalarProduct().
|
inline |
Tests matrix product A*B*C^T.
References IG.Num.A, NUnit.Framework.Assert.AreEqual(), IG.Num.MatrixBase.Multiply(), IG.Num.MatrixBase.MultiplyMatMatTransp(), IG.Num.MatrixBase.MultiplyMatMatTranspPlain(), IG.Num.MatrixBase.SetRandom(), IG.Num.MatrixBase.SetZero(), IG.Num.MatrixBase.Subtract(), and IG.Num.MatrixBase.Transpose().
|
inline |
Tests vector - matrix - vector product a^T*B*c.
References NUnit.Framework.Assert.AreEqual(), IG.Num.MatrixBase.Multiply(), IG.Num.VectorBase.ScalarProduct(), IG.Num.VectorBase.SetRandom(), and IG.Num.MatrixBase.SetRandom().