NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
numerical::detail::one_based< T > Struct Template Reference

A row-major matrix read through indices from 1, (1, 1) its first entry. More...

#include <eigen.hpp>

Public Member Functions

 one_based (T *first, lapack_index distance)
 The matrix whose first entry is at first, its rows distance apart.
 
T & operator() (lapack_index i, lapack_index j) const
 The entry of row i and column j (from 1).
 

Public Attributes

T * data
 The first entry.
 
lapack_index ld
 The distance between rows.
 

Detailed Description

template<typename T>
struct numerical::detail::one_based< T >

A row-major matrix read through indices from 1, (1, 1) its first entry.

Definition at line 1210 of file eigen.hpp.

Constructor & Destructor Documentation

◆ one_based()

template<typename T >
numerical::detail::one_based< T >::one_based ( T *  first,
lapack_index  distance 
)
inline

The matrix whose first entry is at first, its rows distance apart.

Definition at line 1213 of file eigen.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
T & numerical::detail::one_based< T >::operator() ( lapack_index  i,
lapack_index  j 
) const
inline

The entry of row i and column j (from 1).

Definition at line 1222 of file eigen.hpp.

Member Data Documentation

◆ data

template<typename T >
T* numerical::detail::one_based< T >::data

The first entry.

Definition at line 1218 of file eigen.hpp.

◆ ld

The distance between rows.

Definition at line 1219 of file eigen.hpp.


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