26 #include <tests/myratest.h>    38   REQUIRE( frobenius(x-y) < tolerance);
    47   REQUIRE( frobenius(A-B) < tolerance);
    56   REQUIRE( frobenius(A-B) < tolerance);
    61 ADD_TEST(
"alias_Vector",
"[dense]")
    63   test1<NumberS>(1.0e-4f);
    64   test1<NumberD>(1.0e-8);
    65   test1<NumberC>(1.0e-4f);
    66   test1<NumberZ>(1.0e-8);
    69 ADD_TEST(
"alias_Matrix",
"[dense]")
    71   test2<NumberS>(1.0e-4f);
    72   test2<NumberD>(1.0e-8);
    73   test2<NumberC>(1.0e-4f);
    74   test2<NumberZ>(1.0e-8);
    77 ADD_TEST(
"alias_DiagonalMatrix",
"[dense]")
    79   test2<NumberS>(1.0e-4f);
    80   test2<NumberD>(1.0e-8);
    81   test2<NumberC>(1.0e-4f);
    82   test2<NumberZ>(1.0e-8);
 Interface class for representing subranges of DiagonalMatrix's. 
Tabulates the values of a square NxN diagonal matrix. Allows random access, but only on the diagonal...
Definition: conjugate.h:23
Interface class for representing subranges of dense Matrix's. 
Interface class for representing subranges of dense Vector's. 
Tabulates an IxJ matrix. Allows random access, has column major layout to be compatible with BLAS/LAP...
Definition: bdsqr.h:20
Routines for computing Frobenius norms of various algebraic containers. 
static Matrix< Number > random(int I, int J)
Generates a random Matrix of specified size. 
Definition: Matrix.cpp:353
static Vector< Number > random(int N)
Generates a random Vector of specified size. 
Definition: Vector.cpp:276
CVectorRange< Number > first(int n) const
Returns a VectorRange over the first n entries, this(0:n) 
Definition: Vector.cpp:192
Various utility functions/classes related to scalar Number types. 
static DiagonalMatrix< Number > random(int N)
Generates a random DiagonalMatrix of specified size. 
Definition: DiagonalMatrix.cpp:217
General purpose dense matrix container, O(i*j) storage. 
Tabulates a vector of length N, allows random access. 
Definition: conjugate.h:21
Container for either a column vector or row vector (depends upon the usage context) ...
Reflects Precision trait for a Number, scalar Number types should specialize it. 
Definition: Number.h:33
const CDiagonalMatrixRange< Number > first(int n) const
Returns a DiagonalMatrixRange over the first n entries, this(0:n,0:n) 
Definition: DiagonalMatrix.cpp:153
Container for a diagonal matrix, O(n) storage. Used by SVD, row/column scaling, etc. 
CMatrixRange< Number > top(int i) const
Returns a MatrixRange over the i topmost rows, this(0:i,:) 
Definition: Matrix.cpp:207