cp3.h File Reference
#include "mpqc/math/external/tiledarray/util.h"
#include "mpqc/math/tensor/cp/fwd.h"
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <numeric>
#include <random>
#include <vector>
#include <TiledArray/config.h>
#include <TiledArray/tiled_range.h>
#include "mpqc/math/external/eigen/eigen.h"
#include <Eigen/SVD>
#include <Eigen/Dense>
#include "TiledArray/conversions/vector_of_arrays.h"
#include "TiledArray/conversions/eigen.h"
#include "mpqc/util/external/madworld/default_madworld.h"
Include dependency graph for cp3.h:
This graph shows which files directly or indirectly include this file:

Classes

class  mpqc::math::detail::FitCheck< Tile, Policy >
 
class  mpqc::math::CP3< Tile, Policy >
 Computes 3-way CP decomposition of a order-3 tensor. More...
 

Namespaces

 mpqc
 The top-level namespace for all Massively Parallel Quantum Chemistry package.
 
 mpqc::math
 
 mpqc::math::detail
 

Functions

template<typename Tile , typename Policy , typename Op >
void mpqc::math::detail::scal_cols (const TiledArray::DistArray< Tile, Policy > &mat, int rank, int block_size, const std::vector< typename Tile::value_type > &lambda, Op &&op=std::plus< typename Tile::value_type >())
 
template<typename Tile , typename Policy >
void mpqc::math::detail::hadamard (TiledArray::DistArray< Tile, Policy > &lhs, const TiledArray::DistArray< Tile, Policy > &rhs)
 
template<typename Tile , typename Policy >
void mpqc::math::detail::normCol (const TiledArray::DistArray< Tile, Policy > &mat, int rank, int block_size, std::vector< typename Tile::value_type > &lambda, bool div_norm=true)
 
template<typename val_type >
val_type mpqc::math::detail::sqr_add (val_type lhs, val_type rhs)
 
template<typename Tile , typename Policy , typename Op >
void mpqc::math::detail::accumCol (const TiledArray::DistArray< Tile, Policy > &mat, int rank, int block_size, std::vector< typename Tile::value_type > &lambda, Op &&op=std::plus< typename Tile::value_type >(), bool div_accum=true)
 
template<typename val_type >
val_type mpqc::math::detail::random_number (val_type num)