KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
phys::inner::matrix< T, M, N > Struct Template Reference

#include <phys.h>

Inheritance diagram for phys::inner::matrix< T, M, N >:
Inheritance graph
Collaboration diagram for phys::inner::matrix< T, M, N >:
Collaboration graph

Public Types

using value_type = T
 
using size_type = std::size_t
 

Public Member Functions

CONSTEXPR_DECOR T * operator[] (std::size_t i)
 

Public Attributes

_data [M][N]
 

Static Public Attributes

static constexpr size_type row_size = M
 
static constexpr size_type column_size = N
 

Detailed Description

template<typename T, std::size_t M, std::size_t N>
struct phys::inner::matrix< T, M, N >

Definition at line 624 of file phys.h.

Member Typedef Documentation

◆ size_type

template<typename T , std::size_t M, std::size_t N>
using phys::inner::matrix< T, M, N >::size_type = std::size_t

Definition at line 627 of file phys.h.

◆ value_type

template<typename T , std::size_t M, std::size_t N>
using phys::inner::matrix< T, M, N >::value_type = T

Definition at line 626 of file phys.h.

Member Function Documentation

◆ operator[]()

template<typename T , std::size_t M, std::size_t N>
CONSTEXPR_DECOR T * phys::inner::matrix< T, M, N >::operator[] ( std::size_t i)
inline

Definition at line 630 of file phys.h.

References phys::inner::matrix< T, M, N >::_data.

Member Data Documentation

◆ _data

template<typename T , std::size_t M, std::size_t N>
T phys::inner::matrix< T, M, N >::_data[M][N]

Definition at line 635 of file phys.h.

Referenced by phys::unitsys::eval(), and phys::inner::matrix< T, M, N >::operator[]().

◆ column_size

template<typename T , std::size_t M, std::size_t N>
constexpr size_type phys::inner::matrix< T, M, N >::column_size = N
staticconstexpr

Definition at line 629 of file phys.h.

◆ row_size

template<typename T , std::size_t M, std::size_t N>
constexpr size_type phys::inner::matrix< T, M, N >::row_size = M
staticconstexpr

Definition at line 628 of file phys.h.


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