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);
Class managing a 2x2 matrix of reals.
constexpr __host__ __device__ bool isNearlyZero() const
Compares the matrix with the zero matrix.
Namespace for mathematical functions.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --