Project Chrono: chrono::real4 Class Reference

Public Member Functions | Public Attributes | List of all members
chrono::real4 Class Reference
Chrono::Engine » Multicore math

## Description

Chrono multicore qudruple (4-dimensional array).

`#include <real4.h>`

## Public Member Functions
CUDA_HOST_DEVICE | real4 (real a)
CUDA_HOST_DEVICE | real4 (real a, real b, real c, real d)
CUDA_HOST_DEVICE | real4 (const real3 &v, real w)
CUDA_HOST_DEVICE | real4 (const real4 &v)
CUDA_HOST_DEVICE real | operator[] (unsigned int i) const
CUDA_HOST_DEVICE real & | operator[] (unsigned int i)
CUDA_HOST_DEVICE | operator real * ()
CUDA_HOST_DEVICE | operator const real * () const
CUDA_HOST_DEVICE | operator real3 ()
CUDA_HOST_DEVICE | operator const real3 () const
CUDA_HOST_DEVICE real4 & | operator= (const real4 &rhs)

## Public Attributes
union { |
real array [4] |
struct { |
real x |
real y |
real z |
real w |
} |
}; |

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

- D:/W/B/src/chrono-9.0.1/src/chrono/multicore_math/real4.h