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

Helper class to allow an intuitive syntax for RQ factorisations. More...

#include <indexedTensor_tensor_factorisations.h>

Inheritance diagram for xerus::RQ:
Collaboration diagram for xerus::RQ:

Public Member Functions

 RQ (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 RQ factorisations.

The simplest example is (R(i,k), Q(k,j)) = RQ(A(i,j)) to calculate the RQ of A. However A, Q and R can also be a higher order Tensors. In order to calculate the RQ however a matrification imposed by the index order is used.

Definition at line 96 of file indexedTensor_tensor_factorisations.h.

Constructor & Destructor Documentation

◆ RQ()

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

Definition at line 99 of file indexedTensor_tensor_factorisations.h.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ input

Definition at line 98 of file indexedTensor_tensor_factorisations.h.


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