Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::sse::ComplexDouble Class Reference

Class to generate instrinsics for complex number arithmetic functions. More...

#include <ogdf/energybased/fast_multipole_embedder/ComplexDouble.h>

Public Member Functions

 ComplexDouble ()
 
 ComplexDouble (const ComplexDouble &other)
 
 ComplexDouble (double *ptr)
 
 ComplexDouble (double x)
 
 ComplexDouble (double x, double y)
 
Standard arithmetic
ComplexDouble operator+ (const ComplexDouble &other) const
 
ComplexDouble operator- (const ComplexDouble &other) const
 
ComplexDouble operator- (void) const
 
ComplexDouble operator* (const ComplexDouble &other) const
 
ComplexDouble operator/ (const ComplexDouble &other) const
 
ComplexDouble operator* (double scalar) const
 
ComplexDouble operator/ (double scalar) const
 
ComplexDouble operator* (unsigned int scalar) const
 
void operator+= (const ComplexDouble &other)
 
void operator-= (const ComplexDouble &other)
 
void operator*= (const ComplexDouble &other)
 
void operator*= (double scalar)
 
void operator/= (const ComplexDouble &other)
 
Additional arithmetic
double length () const
 
ComplexDouble conj () const
 
Assignment
ComplexDoubleoperator= (const ComplexDouble &other)
 
ComplexDoubleoperator= (double *ptr)
 load from 16byte aligned ptr More...
 
LOAD, STORE
void load (const double *ptr)
 load from 16byte aligned ptr More...
 
void load_unaligned (const double *ptr)
 load from unaligned ptr More...
 
void store (double *ptr) const
 store to 16byte aligned ptr More...
 
void store_unaligned (double *ptr) const
 store to unaligned ptr More...
 

Public Attributes

double reg [2]
 

Detailed Description

Class to generate instrinsics for complex number arithmetic functions.

Definition at line 220 of file ComplexDouble.h.

Constructor & Destructor Documentation

◆ ComplexDouble() [1/5]

ogdf::sse::ComplexDouble::ComplexDouble ( )
inline

Definition at line 224 of file ComplexDouble.h.

◆ ComplexDouble() [2/5]

ogdf::sse::ComplexDouble::ComplexDouble ( const ComplexDouble other)
inline

Definition at line 229 of file ComplexDouble.h.

◆ ComplexDouble() [3/5]

ogdf::sse::ComplexDouble::ComplexDouble ( double  x)
inline

Definition at line 234 of file ComplexDouble.h.

◆ ComplexDouble() [4/5]

ogdf::sse::ComplexDouble::ComplexDouble ( double  x,
double  y 
)
inline

Definition at line 239 of file ComplexDouble.h.

◆ ComplexDouble() [5/5]

ogdf::sse::ComplexDouble::ComplexDouble ( double *  ptr)
inline

Definition at line 244 of file ComplexDouble.h.

Member Function Documentation

◆ conj()

ComplexDouble ogdf::sse::ComplexDouble::conj ( ) const
inline

Definition at line 323 of file ComplexDouble.h.

◆ length()

double ogdf::sse::ComplexDouble::length ( ) const
inline

Definition at line 318 of file ComplexDouble.h.

◆ load()

void ogdf::sse::ComplexDouble::load ( const double *  ptr)
inline

load from 16byte aligned ptr

Definition at line 350 of file ComplexDouble.h.

◆ load_unaligned()

void ogdf::sse::ComplexDouble::load_unaligned ( const double *  ptr)
inline

load from unaligned ptr

Definition at line 356 of file ComplexDouble.h.

◆ operator*() [1/3]

ComplexDouble ogdf::sse::ComplexDouble::operator* ( const ComplexDouble other) const
inline

Definition at line 261 of file ComplexDouble.h.

◆ operator*() [2/3]

ComplexDouble ogdf::sse::ComplexDouble::operator* ( double  scalar) const
inline

Definition at line 270 of file ComplexDouble.h.

◆ operator*() [3/3]

ComplexDouble ogdf::sse::ComplexDouble::operator* ( unsigned int  scalar) const
inline

Definition at line 278 of file ComplexDouble.h.

◆ operator*=() [1/2]

void ogdf::sse::ComplexDouble::operator*= ( const ComplexDouble other)
inline

Definition at line 292 of file ComplexDouble.h.

◆ operator*=() [2/2]

void ogdf::sse::ComplexDouble::operator*= ( double  scalar)
inline

Definition at line 300 of file ComplexDouble.h.

◆ operator+()

ComplexDouble ogdf::sse::ComplexDouble::operator+ ( const ComplexDouble other) const
inline

Definition at line 251 of file ComplexDouble.h.

◆ operator+=()

void ogdf::sse::ComplexDouble::operator+= ( const ComplexDouble other)
inline

Definition at line 282 of file ComplexDouble.h.

◆ operator-() [1/2]

ComplexDouble ogdf::sse::ComplexDouble::operator- ( const ComplexDouble other) const
inline

Definition at line 255 of file ComplexDouble.h.

◆ operator-() [2/2]

ComplexDouble ogdf::sse::ComplexDouble::operator- ( void  ) const
inline

Definition at line 259 of file ComplexDouble.h.

◆ operator-=()

void ogdf::sse::ComplexDouble::operator-= ( const ComplexDouble other)
inline

Definition at line 287 of file ComplexDouble.h.

◆ operator/() [1/2]

ComplexDouble ogdf::sse::ComplexDouble::operator/ ( const ComplexDouble other) const
inline

Definition at line 266 of file ComplexDouble.h.

◆ operator/() [2/2]

ComplexDouble ogdf::sse::ComplexDouble::operator/ ( double  scalar) const
inline

Definition at line 274 of file ComplexDouble.h.

◆ operator/=()

void ogdf::sse::ComplexDouble::operator/= ( const ComplexDouble other)
inline

Definition at line 305 of file ComplexDouble.h.

◆ operator=() [1/2]

ComplexDouble& ogdf::sse::ComplexDouble::operator= ( const ComplexDouble other)
inline

Definition at line 332 of file ComplexDouble.h.

◆ operator=() [2/2]

ComplexDouble& ogdf::sse::ComplexDouble::operator= ( double *  ptr)
inline

load from 16byte aligned ptr

Definition at line 339 of file ComplexDouble.h.

◆ store()

void ogdf::sse::ComplexDouble::store ( double *  ptr) const
inline

store to 16byte aligned ptr

Definition at line 362 of file ComplexDouble.h.

◆ store_unaligned()

void ogdf::sse::ComplexDouble::store_unaligned ( double *  ptr) const
inline

store to unaligned ptr

Definition at line 368 of file ComplexDouble.h.

Member Data Documentation

◆ reg

double ogdf::sse::ComplexDouble::reg[2]

Definition at line 222 of file ComplexDouble.h.


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