JDFTx  1.7.0
ColumnBundleMatrixProduct Struct Reference

ColumnBundle with a pending matrix multiply (on the right side) More...

#include <ColumnBundle.h>

Public Member Functions

int nCols () const
 number of columns accessor
 
size_t colLength () const
 column length accessor
 
ColumnBundleMatrixProductoperator*= (double s)
 
ColumnBundleMatrixProduct operator* (double s) const
 
 operator ColumnBundle () const
 
void scaleAccumulate (double alpha, double beta, ColumnBundle &YM) const
 apply pending operation and convert to a ColumnBundle More...
 

Public Attributes

const ColumnBundleY
 the ColumnBundle in the product
 
const matrixScaledTransOpMst
 the matrix in the product (along with scale and transpose operations, if any)
 
double scale
 additional scale factor
 

Friends

ColumnBundleMatrixProduct operator* (double s, const ColumnBundleMatrixProduct &A)
 
ColumnBundleMatrixProduct operator* (const scaled< ColumnBundle > &sY, const matrixScaledTransOp &Mst)
 

Detailed Description

ColumnBundle with a pending matrix multiply (on the right side)

Member Function Documentation

◆ scaleAccumulate()

void ColumnBundleMatrixProduct::scaleAccumulate ( double  alpha,
double  beta,
ColumnBundle YM 
) const

apply pending operation and convert to a ColumnBundle

Perform YM = alpha*this + beta*YM. If empty, YM will be initialized only if beta=0.


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