Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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 278 of file ComplexDouble.h.

Constructor & Destructor Documentation

◆ ComplexDouble() [1/5]

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

Definition at line 283 of file ComplexDouble.h.

◆ ComplexDouble() [2/5]

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

Definition at line 289 of file ComplexDouble.h.

◆ ComplexDouble() [3/5]

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

Definition at line 295 of file ComplexDouble.h.

◆ ComplexDouble() [4/5]

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

Definition at line 301 of file ComplexDouble.h.

◆ ComplexDouble() [5/5]

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

Definition at line 307 of file ComplexDouble.h.

Member Function Documentation

◆ conj()

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

Definition at line 402 of file ComplexDouble.h.

◆ length()

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

Definition at line 396 of file ComplexDouble.h.

◆ load()

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

load from 16byte aligned ptr

Definition at line 432 of file ComplexDouble.h.

◆ load_unaligned()

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

load from unaligned ptr

Definition at line 439 of file ComplexDouble.h.

◆ operator*() [1/3]

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

Definition at line 330 of file ComplexDouble.h.

◆ operator*() [2/3]

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

Definition at line 340 of file ComplexDouble.h.

◆ operator*() [3/3]

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

Definition at line 350 of file ComplexDouble.h.

◆ operator*=() [1/2]

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

Definition at line 367 of file ComplexDouble.h.

◆ operator*=() [2/2]

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

Definition at line 376 of file ComplexDouble.h.

◆ operator+()

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

Definition at line 315 of file ComplexDouble.h.

◆ operator+=()

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

Definition at line 355 of file ComplexDouble.h.

◆ operator-() [1/2]

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

Definition at line 320 of file ComplexDouble.h.

◆ operator-() [2/2]

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

Definition at line 325 of file ComplexDouble.h.

◆ operator-=()

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

Definition at line 361 of file ComplexDouble.h.

◆ operator/() [1/2]

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

Definition at line 335 of file ComplexDouble.h.

◆ operator/() [2/2]

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

Definition at line 345 of file ComplexDouble.h.

◆ operator/=()

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

Definition at line 382 of file ComplexDouble.h.

◆ operator=() [1/2]

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

Definition at line 412 of file ComplexDouble.h.

◆ operator=() [2/2]

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

load from 16byte aligned ptr

Definition at line 420 of file ComplexDouble.h.

◆ store()

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

store to 16byte aligned ptr

Definition at line 446 of file ComplexDouble.h.

◆ store_unaligned()

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

store to unaligned ptr

Definition at line 453 of file ComplexDouble.h.

Member Data Documentation

◆ reg

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

Definition at line 281 of file ComplexDouble.h.


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