MPQC  3.0.0-alpha
mpqc::matrix< T, Order > Struct Template Reference

Matrix class derived from Eigen::Matrix with additional MPQC integration. More...

#include <mpqc/math/matrix.hpp>

Inheritance diagram for mpqc::matrix< T, Order >:

Classes

struct  Assignable
 An interface to enable matrix assignment from other containers. More...
 

Public Types

typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Order > EigenType
 

Public Member Functions

 matrix (size_t m, size_t n)
 Construct unititialized matrix. More...
 
template<class A >
 matrix (const Eigen::EigenBase< A > &a)
 Construct matrix from Eigen type.
 
 matrix (sc::RefSCMatrix a)
 Construct matrix from sc::RefSCMatrix matrix.
 
 matrix (const sc::RefSymmSCMatrix &a)
 Construct full matrix from sc::RefSCMatrix matrix.
 
 matrix (const Assignable &a)
 Constructs matrix from an Assignable container.
 
Type operator() (i, j)
 Operators to access matrix element/block, see here.
 
void reshape (int m, int n)
 

Detailed Description

template<typename T, int Order = Eigen::ColMajor>
struct mpqc::matrix< T, Order >

Matrix class derived from Eigen::Matrix with additional MPQC integration.

Constructor & Destructor Documentation

◆ matrix()

template<typename T, int Order = Eigen::ColMajor>
mpqc::matrix< T, Order >::matrix ( size_t  m,
size_t  n 
)
inline

Construct unititialized matrix.

Parameters
mnumber of rows
nnumber of columns
Warning
NOT initialized to zeroes.

The documentation for this struct was generated from the following file:

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.