12#ifndef ARCCORE_BASE_MATHREAL2X2_H
13#define ARCCORE_BASE_MATHREAL2X2_H
17#include "arccore/base/Real2x2.h"
18#include "arccore/base/MathReal2.h"
36constexpr ARCCORE_HOST_DEVICE
bool isNearlyZero(
const Real2x2& v)
38 return math::isNearlyZero(v.
x) && math::isNearlyZero(v.
y);
58 return math::isNearlyZero(*
this);
Classe gérant une matrice 2x2 de réels.
Real2 x
Première composante.
Real2 y
Deuxième composante.
constexpr __host__ __device__ bool isNearlyZero() const
Compare la matrice avec la matrice nulle.
Espace de nom pour les fonctions mathématiques.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --