17 template<
typename dtype=
double>
53 char const *
name=NULL,
89 char const * name=NULL,
133 char const * name=NULL,
191 char const * name=NULL,
211 char const * name=NULL,
243 void get_desc(
int & ictxt,
int *& desc);
void write_mat(int mb, int nb, int pr, int pc, int rsrc, int csrc, int lda, dtype const *data)
writes a nonsymmetric matrix from a block-cyclic initial distribution this is `cheap' if mb=nb=1...
void qr(Matrix< dtype > &Q, Matrix< dtype > &R)
Ring class defined by a datatype and addition and multiplicaton functions addition must have an ident...
Matrix class which encapsulates a 2D tensor.
Vector class which encapsulates a 1D tensor.
an instance of the CTF library (world) on a MPI communicator
void read_mat(int mb, int nb, int pr, int pc, int rsrc, int csrc, int lda, dtype *data)
reads a nonsymmetric matrix into a block-cyclic initial distribution this is `cheap' if mb=nb=1...
CTF::World * wrld
distributed processor context on which tensor is defined
void svd(Matrix< dtype > &U, Vector< dtype > &S, Matrix< dtype > &VT, int rank=0)
void get_desc(int &ictxt, int *&desc)
get a ScaLAPACK descriptor for this Matrix, will always be in pure cyclic layout
algstrct * sr
algstrct on which tensor elements and operations are defined
bool profile
whether profiling should be done for contractions/sums involving this tensor
algstrct (algebraic structure) defines the elementwise operations computed in each tensor contraction...
char * data
tensor data, either the data or the key-value pairs should exist at any given time ...
an instance of a tensor within a CTF world
Matrix()
default constructor for a matrix
char * name
name given to tensor