numerics 0.1.0
Loading...
Searching...
No Matches
num::Vec2ConstView Struct Reference

#include <vector.hpp>

Public Member Functions

idx size () const noexcept
 
real x (idx i) const noexcept
 
real y (idx i) const noexcept
 

Public Attributes

const Vectorv
 

Detailed Description

Definition at line 161 of file vector.hpp.

Member Function Documentation

◆ size()

idx num::Vec2ConstView::size ( ) const
inlinenoexcept

Definition at line 164 of file vector.hpp.

References num::BasicVector< T >::size(), and v.

◆ x()

real num::Vec2ConstView::x ( idx  i) const
inlinenoexcept

Definition at line 165 of file vector.hpp.

References v.

◆ y()

real num::Vec2ConstView::y ( idx  i) const
inlinenoexcept

Definition at line 166 of file vector.hpp.

References v.

Member Data Documentation

◆ v

const Vector& num::Vec2ConstView::v

Definition at line 162 of file vector.hpp.

Referenced by size(), x(), and y().


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