Ginkgo: gko::default_converter< S, R > Struct Template Reference

| Ginkgo Generated from branch based on main. Ginkgo version 1.11.0 A numerical linear algebra library targeting many-core architectures

Loading...
Searching...
No Matches
gko::default_converter< S, R > Struct Template Reference

Used to convert objects of type S to objects of type R using static_cast. More...

`#include <ginkgo/core/base/math.hpp>`

## Public Member Functions
R | operator() (S val)
| Converts the object to result type.

## Detailed Description

template<typename S, typename R>
struct gko::default_converter< S, R >

Used to convert objects of type S to objects of type R using static_cast.

Template Parameters

  S | source type
  R | result type

## Member Function Documentation

## ◆ operator()()

template<typename S, typename R>

R gko::default_converter< S, R >::operator() | ( | S | val | ) |
| inline

Converts the object to result type.

Parameters

  val | the object to convert

Returns
  the converted object

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

- ginkgo/core/base/math.hpp