xerus
a general purpose tensor library
xerus::CQ Class Reference

Helper class to allow an intuitive syntax for an rank revealing orthogonal factorisation. More...

#include <indexedTensor_tensor_factorisations.h>

Inheritance diagram for xerus::CQ:
Collaboration diagram for xerus::CQ:

Public Member Functions

 CQ (internal::IndexedTensorReadOnly< Tensor > &&_input)
 
virtual void operator() (const std::vector< internal::IndexedTensor< Tensor > *> &_output) const override
 
- Public Member Functions inherited from xerus::TensorFactorisation
virtual ~TensorFactorisation ()=default
 

Public Attributes

internal::IndexedTensorReadOnly< Tensor > * input
 

Detailed Description

Helper class to allow an intuitive syntax for an rank revealing orthogonal factorisation.

This calculates a factorisation CQ=A with orthogonal Q and n x r matrix C where r is typically not much larger than the rank of A. The simplest example is (C(i,k), Q(k,j)) = QC(A(i,j)) to calculate the CQ decomposition of A. However A, Q and C can also be a higher order Tensors.

Definition at line 124 of file indexedTensor_tensor_factorisations.h.

Constructor & Destructor Documentation

◆ CQ()

xerus::CQ::CQ ( internal::IndexedTensorReadOnly< Tensor > &&  _input)
inline

Definition at line 127 of file indexedTensor_tensor_factorisations.h.

Member Function Documentation

◆ operator()()

void xerus::CQ::operator() ( const std::vector< internal::IndexedTensor< Tensor > *> &  _output) const
overridevirtual

Member Data Documentation

◆ input

Definition at line 126 of file indexedTensor_tensor_factorisations.h.


The documentation for this class was generated from the following files: