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

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

#include <indexedTensor_tensor_factorisations.h>

Inheritance diagram for xerus::QR:
Collaboration diagram for xerus::QR:

Public Member Functions

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

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

Definition at line 83 of file indexedTensor_tensor_factorisations.h.

Constructor & Destructor Documentation

◆ QR()

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

Definition at line 86 of file indexedTensor_tensor_factorisations.h.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ input

Definition at line 85 of file indexedTensor_tensor_factorisations.h.


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