C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
CMatrix.h
Go to the documentation of this file.
1 // Copyright András Vukics 2006–2014. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)
2 // -*- C++ -*-
4 #ifndef CPPQEDCORE_UTILS_CMATRIX_H_INCLUDED
5 #define CPPQEDCORE_UTILS_CMATRIX_H_INCLUDED
6 
7 #include "CVector.h"
8 
9 
11 namespace linalg {
12 
15 
17 
23 CVector& apply(const CVector& a, CVector& b, const CMatrix& m);
24 
26 CMatrix&
28 // NEEDS_WORK
29 
30 
31 } // linalg
32 
33 #endif // CPPQEDCORE_UTILS_CMATRIX_H_INCLUDED
blitz::Array< dcomp,RANK > CArray
A complex array of arbitrary arity.
Definition: BlitzArray.h:16
CArray< 1 > CVector
Complex vector.
Definition: CVector.h:13
CMatrix & calculateTwoTimesRealPartOfSelf(CMatrix &)
Calculates two times the real part of a matrix in place
Contains utilities for linear algebra.
Definition: CMatrix.h:11
CArray< 2 > CMatrix
Complex matrix.
Definition: CMatrix.h:14
CVector & apply(const CVector &a, CVector &b, const CMatrix &m)
Applies matrix m on a and adds the result to b
Defines the typedef linalg::CVector.