/// <remarks>"This test been excluded from test fixture by Igor Sukhov on 17.10.2007"</remarks> //[TestMethod] public virtual void SparseColumnMatrix() { int n = TesterUtilities.getInt(nmax, _random), m = TesterUtilities.getInt(mmax, _random), nu = GetNu(n, m); IElementalAccessMatrix A = new SparseColumnMatrix(n, m); repeatedAssembly(A, nu); }
[Test] public virtual void SparseColumnMatrix() { Random r = new Random(); int n = Math.Max(TesterUtilities.getInt(nmax, r), 4); IElementalAccessMatrix A = new SparseColumnMatrix(n, n, 3); IElementalAccessVector b = new DenseVector(n), x = new DenseVector(n); Helper1(A, b, x); }
/// <remarks>"This test been excluded from test fixture by Igor Sukhov on 17.10.2007"</remarks> //[TestMethod] public virtual void SparseColumnTranspose() { int n = TesterUtilities.getInt(nmax, _random), m = TesterUtilities.getInt(mmax, _random), nu = GetNu(n, m); for (int i = 0; i < repeat; ++i) { IElementalAccessMatrix A = new SparseColumnMatrix(n, m, nu); double[,] Am = TesterUtilities.SetAssembleRowMatrix(A, nu); TransposeCheck(A, Am); } }
public virtual void SparseColumnMult() { int n = TesterUtilities.getInt(nmax, _random), m = TesterUtilities.getInt(mmax, _random), nu = GetNu(n, m); for (int i = 0; i < repeat; ++i) { IElementalAccessMatrix A = new SparseColumnMatrix(n, m, nu); IElementalAccessVector x = new DenseVector(m), y = new DenseVector(n), z = new DenseVector(n); columnCheck(A, x, y, z, nu); } }