Advanced Multi-Physics (AMP)
On-Line Documentation
Classes | Namespaces | Functions
Scalar.h File Reference
#include <any>
#include <cstddef>
#include <cstdint>
#include "AMP/utils/TypeTraits.h"
#include "AMP/utils/typeid.h"
Include dependency graph for Scalar.h:

Go to the source code of this file.

Classes

class  AMP::Scalar
 Scalar is a class used to store a scalar variable that may be different types/precision. More...
 

Namespaces

namespace  AMP
 

Functions

Scalar AMP::operator* (const Scalar &x, const Scalar &y)
 
Scalar AMP::operator+ (const Scalar &x, const Scalar &y)
 
Scalar AMP::operator- (const Scalar &x)
 
Scalar AMP::operator- (const Scalar &x, const Scalar &y)
 
Scalar AMP::operator/ (const Scalar &x, const Scalar &y)
 
template<class TYPE >
std::enable_if_t< std::is_same_v< TYPE, Scalar >, std::ostream & > AMP::operator<< (std::ostream &out, const TYPE &x)
 
bool AMP::operator== (double x, const Scalar &y)
 



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page