Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::SimdReal2 Class Reference

Represents a vectorized Real2. More...

#include <arcane/utils/Simd.h>

Public Types

typedef SimdReal::Int32IndexType Int32IndexType

Public Member Functions

 SimdReal2 (SimdReal _x, SimdReal _y)
 SimdReal2 (const Real2 *base, const Int32IndexType &idx)
const Real2 operator[] (Integer i) const
void set (Real2 *base, const Int32IndexType &idx) const
void set (Integer i, Real2 r)
Real2 get (Integer i) const

Public Attributes

SimdReal x
SimdReal y

Detailed Description

Represents a vectorized Real2.

Definition at line 203 of file Simd.h.

Member Typedef Documentation

◆ Int32IndexType

typedef SimdReal::Int32IndexType Arcane::SimdReal2::Int32IndexType

Definition at line 207 of file Simd.h.

Constructor & Destructor Documentation

◆ SimdReal2() [1/3]

Arcane::SimdReal2::SimdReal2 ( )
inline

Definition at line 213 of file Simd.h.

◆ SimdReal2() [2/3]

Arcane::SimdReal2::SimdReal2 ( SimdReal _x,
SimdReal _y )
inline

Definition at line 214 of file Simd.h.

◆ SimdReal2() [3/3]

Arcane::SimdReal2::SimdReal2 ( const Real2 * base,
const Int32IndexType & idx )
inline

Definition at line 218 of file Simd.h.

Member Function Documentation

◆ get()

Real2 Arcane::SimdReal2::get ( Integer i) const
inline

Definition at line 239 of file Simd.h.

◆ operator[]()

const Real2 Arcane::SimdReal2::operator[] ( Integer i) const
inline

Definition at line 225 of file Simd.h.

◆ set() [1/2]

void Arcane::SimdReal2::set ( Integer i,
Real2 r )
inline

Definition at line 234 of file Simd.h.

◆ set() [2/2]

void Arcane::SimdReal2::set ( Real2 * base,
const Int32IndexType & idx ) const
inline

Definition at line 227 of file Simd.h.

Member Data Documentation

◆ x

SimdReal Arcane::SimdReal2::x

Definition at line 211 of file Simd.h.

◆ y

SimdReal Arcane::SimdReal2::y

Definition at line 212 of file Simd.h.


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