PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
pbat::math::linalg::mini::TransposeView< TMatrix > Class Template Reference

Public Types

using NestedType = TMatrix
 
using ScalarType = typename NestedType::ScalarType
 
using SelfType = TransposeView<NestedType>
 

Public Member Functions

PBAT_HOST_DEVICE TransposeView (NestedType &_A)
 
template<class TOtherMatrix>
PBAT_HOST_DEVICE SelfTypeoperator= (TOtherMatrix &&B)
 
PBAT_HOST_DEVICE void SetConstant (ScalarType k)
 
PBAT_HOST_DEVICE constexpr auto Rows () const
 
PBAT_HOST_DEVICE constexpr auto Cols () const
 
PBAT_HOST_DEVICE ScalarType operator() (auto i, auto j) const
 
PBAT_HOST_DEVICE ScalarType & operator() (auto i, auto j)
 
PBAT_HOST_DEVICE ScalarType operator() (auto i) const
 
PBAT_HOST_DEVICE ScalarType & operator() (auto i)
 
PBAT_HOST_DEVICE ScalarType operator[] (auto i) const
 
PBAT_HOST_DEVICE ScalarType & operator[] (auto i)
 
template<auto S, auto T>
PBAT_HOST_DEVICE auto Slice (auto i, auto j)
 
PBAT_HOST_DEVICE auto Col (auto j)
 
PBAT_HOST_DEVICE auto Row (auto i)
 
template<auto S, auto T>
PBAT_HOST_DEVICE auto Slice (auto i, auto j) const
 
PBAT_HOST_DEVICE auto Col (auto j) const
 
PBAT_HOST_DEVICE auto Row (auto i) const
 
PBAT_HOST_DEVICE NestedType const & Transpose () const
 
PBAT_HOST_DEVICE NestedType & Transpose ()
 
void SetConstant (auto k)
 

Static Public Attributes

static auto constexpr kRows = NestedType::kCols
 
static auto constexpr kCols = NestedType::kRows
 
static bool constexpr bRowMajor = not NestedType::bRowMajor
 

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