YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
yask::yc_number_const_arg Class Reference

Arguments that may be non-YASK numeric types. More...

#include <yc_node_api.hpp>

+ Inheritance diagram for yask::yc_number_const_arg:

Public Member Functions

 yc_number_const_arg (idx_t i)
 Arg can be an index type.
 
 yc_number_const_arg (int i)
 Arg can be an int.
 
 yc_number_const_arg (double f)
 Arg can be a double.
 
 yc_number_const_arg (float f)
 Arg can be a float.
 

Protected Member Functions

yc_number_node_ptr _convert_const (double val) const
 Create an argument from a constant value.
 

Detailed Description

Arguments that may be non-YASK numeric types.

A simple wrapper class to provide automatic construction of a 'yc_number_node_ptr' from non-YASK fundamental numeric types.

Used only to provide conversions in function arguments.

Not a virtual class.

Note
Not used in Python API.

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