<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
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 WorkInfo & | operator+= (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. | |
Output information in the workspace query.
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.
[in] | workinfo | Another specification of work sizes |
|
inlineconstexprnoexcept |
Sum two object by matching sizes.
If sizes don't match, use simple solution: require contiguous space in memory.
workinfo | The object to be added to *this. |