DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DVec Struct Reference

Public Member Functions

 DVec ()=default
 
 DVec (int n)
 
DVecoperator= (const DVec &)=default
 
void operator+= (const DVec &o)
 
void operator*= (double s)
 
void operator*= (const DVec &o)
 
void setConstant (double s)
 
void addTo (const DVec &o, double s)
 

Public Attributes

Eigen::VectorXd data
 

Detailed Description

Definition at line 22 of file test_Linear.cpp.

Constructor & Destructor Documentation

◆ DVec() [1/2]

DVec::DVec ( )
default

◆ DVec() [2/2]

DVec::DVec ( int  n)
inline

Definition at line 26 of file test_Linear.cpp.

Member Function Documentation

◆ addTo()

void DVec::addTo ( const DVec o,
double  s 
)
inline

Definition at line 32 of file test_Linear.cpp.

◆ operator*=() [1/2]

void DVec::operator*= ( const DVec o)
inline

Definition at line 30 of file test_Linear.cpp.

◆ operator*=() [2/2]

void DVec::operator*= ( double  s)
inline

Definition at line 29 of file test_Linear.cpp.

◆ operator+=()

void DVec::operator+= ( const DVec o)
inline

Definition at line 28 of file test_Linear.cpp.

◆ operator=()

DVec & DVec::operator= ( const DVec )
default

◆ setConstant()

void DVec::setConstant ( double  s)
inline

Definition at line 31 of file test_Linear.cpp.

Member Data Documentation

◆ data

Eigen::VectorXd DVec::data

Definition at line 24 of file test_Linear.cpp.


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