C++ Library Extensions 2022.12.09
To help learn modern C++ programming
cpg::numerical_analysis::d3vctr< ElementType > Class Template Reference

#include <cpg_3dvector.hpp>

Public Member Functions

constexpr d3vctr (ElementType x, ElementType y=ElementType{}, ElementType z=ElementType{}) noexcept
 
 d3vctr (const d3vctr &)=default
 
 d3vctr (d3vctr &&)=default
 
d3vctroperator (const d2vctr &)=default
 
d3vctroperator (d2vctr &&)=default
 

Protected Types

using element_rows = std::vector< ElementType >
 

Protected Attributes

element_rows m_Xs
 
element_rows m_Ys
 
element_rows m_Zs
 

Detailed Description

template<std::floating_point ElementType = float>
class cpg::numerical_analysis::d3vctr< ElementType >

Definition at line 17 of file cpg_3dvector.hpp.

Member Typedef Documentation

◆ element_rows

template<std::floating_point ElementType = float>
using cpg::numerical_analysis::d3vctr< ElementType >::element_rows = std::vector<ElementType>
protected

Definition at line 20 of file cpg_3dvector.hpp.

Constructor & Destructor Documentation

◆ d3vctr() [1/3]

template<std::floating_point ElementType = float>
constexpr cpg::numerical_analysis::d3vctr< ElementType >::d3vctr ( ElementType  x,
ElementType  y = ElementType{},
ElementType  z = ElementType{} 
)
inlineconstexprnoexcept

Definition at line 25 of file cpg_3dvector.hpp.

◆ d3vctr() [2/3]

template<std::floating_point ElementType = float>
cpg::numerical_analysis::d3vctr< ElementType >::d3vctr ( const d3vctr< ElementType > &  )
default

◆ d3vctr() [3/3]

template<std::floating_point ElementType = float>
cpg::numerical_analysis::d3vctr< ElementType >::d3vctr ( d3vctr< ElementType > &&  )
default

Member Function Documentation

◆ operator() [1/2]

template<std::floating_point ElementType = float>
d3vctr & cpg::numerical_analysis::d3vctr< ElementType >::operator ( const d2vctr &  )
default

◆ operator() [2/2]

template<std::floating_point ElementType = float>
d3vctr & cpg::numerical_analysis::d3vctr< ElementType >::operator ( d2vctr &&  )
default

Member Data Documentation

◆ m_Xs

template<std::floating_point ElementType = float>
element_rows cpg::numerical_analysis::d3vctr< ElementType >::m_Xs
protected

Definition at line 22 of file cpg_3dvector.hpp.

◆ m_Ys

template<std::floating_point ElementType = float>
element_rows cpg::numerical_analysis::d3vctr< ElementType >::m_Ys
protected

Definition at line 22 of file cpg_3dvector.hpp.

◆ m_Zs

template<std::floating_point ElementType = float>
element_rows cpg::numerical_analysis::d3vctr< ElementType >::m_Zs
protected

Definition at line 22 of file cpg_3dvector.hpp.


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