Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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
 
LOAD, STORE
void load (const double *ptr)
 load from 16byte aligned ptr
 
void load_unaligned (const double *ptr)
 load from unaligned ptr
 
void store (double *ptr) const
 store to 16byte aligned ptr
 
void store_unaligned (double *ptr) const
 store to unaligned ptr
 

Public Attributes

double reg [2]
 

Detailed Description

Class to generate instrinsics for complex number arithmetic functions.

Definition at line 219 of file ComplexDouble.h.

Constructor & Destructor Documentation

◆ ComplexDouble() [1/5]

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

Definition at line 223 of file ComplexDouble.h.

◆ ComplexDouble() [2/5]

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

Definition at line 228 of file ComplexDouble.h.

◆ ComplexDouble() [3/5]

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

Definition at line 233 of file ComplexDouble.h.

◆ ComplexDouble() [4/5]

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

Definition at line 238 of file ComplexDouble.h.

◆ ComplexDouble() [5/5]

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

Definition at line 243 of file ComplexDouble.h.

Member Function Documentation

◆ conj()

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

Definition at line 322 of file ComplexDouble.h.

◆ length()

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

Definition at line 317 of file ComplexDouble.h.

◆ load()

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

load from 16byte aligned ptr

Definition at line 349 of file ComplexDouble.h.

◆ load_unaligned()

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

load from unaligned ptr

Definition at line 355 of file ComplexDouble.h.

◆ operator*() [1/3]

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

Definition at line 260 of file ComplexDouble.h.

◆ operator*() [2/3]

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

Definition at line 269 of file ComplexDouble.h.

◆ operator*() [3/3]

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

Definition at line 277 of file ComplexDouble.h.

◆ operator*=() [1/2]

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

Definition at line 291 of file ComplexDouble.h.

◆ operator*=() [2/2]

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

Definition at line 299 of file ComplexDouble.h.

◆ operator+()

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

Definition at line 250 of file ComplexDouble.h.

◆ operator+=()

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

Definition at line 281 of file ComplexDouble.h.

◆ operator-() [1/2]

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

Definition at line 254 of file ComplexDouble.h.

◆ operator-() [2/2]

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

Definition at line 258 of file ComplexDouble.h.

◆ operator-=()

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

Definition at line 286 of file ComplexDouble.h.

◆ operator/() [1/2]

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

Definition at line 265 of file ComplexDouble.h.

◆ operator/() [2/2]

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

Definition at line 273 of file ComplexDouble.h.

◆ operator/=()

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

Definition at line 304 of file ComplexDouble.h.

◆ operator=() [1/2]

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

Definition at line 331 of file ComplexDouble.h.

◆ operator=() [2/2]

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

load from 16byte aligned ptr

Definition at line 338 of file ComplexDouble.h.

◆ store()

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

store to 16byte aligned ptr

Definition at line 361 of file ComplexDouble.h.

◆ store_unaligned()

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

store to unaligned ptr

Definition at line 367 of file ComplexDouble.h.

Member Data Documentation

◆ reg

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

Definition at line 221 of file ComplexDouble.h.


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