Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rocblas::limit1v< T > Struct Template Reference

#include <Rocblas.h>

Inheritance diagram for Rocblas::limit1v< T >:
Collaboration diagram for Rocblas::limit1v< T >:

Public Member Functions

operator() (T x, T y)
 

Detailed Description

template<class T>
struct Rocblas::limit1v< T >

Definition at line 254 of file Rocblas.h.

Member Function Documentation

T operator() ( x,
y 
)
inline

Definition at line 30 of file op3args.C.

References NTS::abs(), and y.

30  {
31  if ( x>=0&&y>=0 || x<=0&&y<=0)
32  return std::abs(x)<std::abs(y)?x:y;
33  else
34  return 0;
35  }
void int int REAL REAL * y
Definition: read.cpp:74
void int int REAL * x
Definition: read.cpp:74
NT abs(const NT &x)
Definition: number_utils.h:130

Here is the call graph for this function:


The documentation for this struct was generated from the following files: