Static Public Member Functions | List of all members
Seldon::TinyMatrixDoubleLoop< p, q > Class Template Reference

class for double loop in matrix functions More...

#include <TinyMatrix.hxx>

Static Public Member Functions

template<int m, int n, class T0 , class T1 >
static void Init (const TinyVector< T0, m > &x, TinyMatrix< T1, General, m, n > &A)
 Conversion from vector of vectors to matrix.
 
template<int m, int n, class T , class E >
static void WriteText (ostream &out, const TinyMatrixExpression< T, m, n, E > &A)
 writes matrix A in ascii format
 
template<int m, int n, class T , class Prop >
static void Write (ostream &out, const TinyMatrix< T, Prop, m, n > &A)
 writes matrix A in binary format
 
template<int m, int n, class T , class E1 , class E2 >
static bool IsEqual (const TinyMatrixExpression< T, m, n, E1 > &A, const TinyMatrixExpression< T, m, n, E2 > &B)
 
template<int m, int n, class T0 , class E0 , class T1 , class E1 , class T2 >
static void Mlt (const TinyMatrixExpression< T0, m, n, E0 > &A, const TinyVectorExpression< T1, n, E1 > &x, T2 &y)
 y = A*x
 
template<int m, int n, int k, class T0 , class E0 , class T1 , class E1 , class T2 , class Prop2 >
static void Mlt (const TinyMatrixExpression< T0, m, n, E0 > &A, const TinyMatrixExpression< T1, n, k, E1 > &B, TinyMatrix< T2, Prop2, m, k > &C)
 C = A*B.
 
template<int m, int n, class T0 , class T1 , class E1 , class T2 , class E2 , class T3 >
static void Rank1Update (const T0 &alpha, const TinyVectorExpression< T1, m, E1 > &x, const TinyVectorExpression< T2, n, E2 > &y, TinyMatrix< T3, General, m, n > &A)
 A = A + alpha * x y^T.
 
template<int m, int n, class T1 , class E1 , class T2 , class E2 , class T3 >
static void Rank1Matrix (const TinyVectorExpression< T1, m, E1 > &x, const TinyVectorExpression< T2, n, E2 > &y, TinyMatrix< T3, General, m, n > &A)
 A = x y^T.
 
template<int m, class T0 , class T1 , class E1 , class T3 >
static void Rank1Update (const T0 &alpha, const TinyVectorExpression< T1, m, E1 > &x, TinyMatrix< T3, Symmetric, m, m > &A)
 A = A + alpha * x x^T.
 
template<int m, class T1 , class E1 , class T3 >
static void Rank1Matrix (const TinyVectorExpression< T1, m, E1 > &x, TinyMatrix< T3, Symmetric, m, m > &A)
 A = x x^T.
 
template<class T , int m>
static void GetMaximumColumn (TinyMatrix< T, General, m, m > &A, int &jmax, T &val)
 returns index jmax for which |A(i, j)| is maximal
 
template<class T , int m>
static void SwapRow (TinyMatrix< T, General, m, m > &A, int i2, T &val)
 swapping rows i and i2 (for pivoting)
 
template<class T , int m>
static void SwapColumn (TinyMatrix< T, General, m, m > &A, int i2, T &val)
 swapping columns i and i2 (for pivoting)
 
template<class T , int m>
static void MltRow (TinyMatrix< T, General, m, m > &A, const T &coef)
 A(i, :) = A(i, :)*coef.
 
template<class T , int m>
static void PerformElimination (TinyMatrix< T, General, m, m > &A, const T &coef, T &val)
 performs Lj = Lj - a_ji/aii Li to eliminate element a_ij
 
template<class T , int m>
static void PerformSolve (TinyMatrix< T, General, m, m > &A, T &val)
 solving by upper matrix
 
template<class T , int m>
static void GetDiagonalCholesky (TinyMatrix< T, Symmetric, m, m > &A, T &val)
 Loop val -= A(k, j)*A(k, j) with k between 0 and j-1.
 
template<class T , int m>
static void ModifyUpperCholesky (TinyMatrix< T, Symmetric, m, m > &A, T &invVal, T &vloc)
 Loop with k between j+1 and n-1.
 
template<class T , class T2 , int m>
static void SolveCholesky (const class_SeldonNoTrans &trans, const TinyMatrix< T, Symmetric, m, m > &A, TinyVector< T2, m > &x)
 double loop for Cholesky resolution and NoTranspose
 
template<class T , class T2 , int m>
static void SolveCholesky (const class_SeldonTrans &trans, const TinyMatrix< T, Symmetric, m, m > &A, TinyVector< T2, m > &x, T2 &val)
 double loop for Cholesky resolution and Transpose
 
template<class T , class T2 , int m>
static void MltCholesky (const class_SeldonTrans &trans, const TinyMatrix< T, Symmetric, m, m > &A, TinyVector< T2, m > &x, T2 &val)
 double loop for Cholesky multiplication and Transpose
 
template<class T , class T2 , int m>
static void MltCholesky (const class_SeldonNoTrans &trans, const TinyMatrix< T, Symmetric, m, m > &A, TinyVector< T2, m > &x)
 double loop for Cholesky multiplication and NoTranspose
 

Detailed Description

template<int p, int q>
class Seldon::TinyMatrixDoubleLoop< p, q >

class for double loop in matrix functions

Definition at line 25 of file TinyMatrix.hxx.


The documentation for this class was generated from the following files: