<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
tlapack::WorkInfo Struct Reference

Output information in the workspace query. More...

#include <workspace.hpp>

Public Member Functions

constexpr void minMax (const WorkInfo &workinfo) noexcept
 Set the current object to a state that fit its current sizes and the sizes of workinfo.
 
constexpr WorkInfooperator+= (const WorkInfo &workinfo) noexcept
 Sum two object by matching sizes.
 
constexpr size_t size () const noexcept
 Size needed in the Workspace.
 
constexpr WorkInfo transpose () const noexcept
 
constexpr WorkInfo (size_t m, size_t n) noexcept
 Constructor using sizes.
 
constexpr WorkInfo (size_t s=0) noexcept
 

Public Attributes

bool isContiguous = false
 True if the Workspace is contiguous.
 
size_t m = 0
 Number of rows needed in the Workspace.
 
size_t n = 1
 Number of columns needed in the Workspace.
 

Protected Attributes

bool isVector
 True if the Workspace is a vector at compile time.
 

Detailed Description

Output information in the workspace query.

Member Function Documentation

◆ minMax()

constexpr void tlapack::WorkInfo::minMax ( const WorkInfo workinfo)
inlineconstexprnoexcept

Set the current object to a state that fit its current sizes and the sizes of workinfo.

If sizes don't match, use simple solution: require contiguous space in memory.

Parameters
[in]workinfoAnother specification of work sizes

◆ operator+=()

constexpr WorkInfo & tlapack::WorkInfo::operator+= ( const WorkInfo workinfo)
inlineconstexprnoexcept

Sum two object by matching sizes.

If sizes don't match, use simple solution: require contiguous space in memory.

Parameters
workinfoThe object to be added to *this.
Returns
constexpr WorkInfo& The modified workinfo.

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