Hermes
numeric.h File Reference

Number functions. More...

Go to the source code of this file.

Classes

struct  hermes::Constants
 Numeric constants. More...
 
struct  hermes::Numbers
 Number functions. More...
 
struct  hermes::Trigonometry
 Trigonometric functions. More...
 
struct  hermes::Check
 Number checks. More...
 

Functions

template<typename T >
HERMES_DEVICE_CALLABLE bool hermes::numeric::soveLinearSystem (const T A[2][2], const T B[2], T *x0, T *x1)
 Solves a linear system of 2 equations. More...
 

Detailed Description

Number functions.

Copyright (c) 2019, FilipeCN.

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author
FilipeCN (filip.nosp@m.edec.nosp@m.n@gma.nosp@m.il.c.nosp@m.om)
Date
2019-17-09

Function Documentation

◆ soveLinearSystem()

template<typename T >
HERMES_DEVICE_CALLABLE bool hermes::numeric::soveLinearSystem ( const T  A[2][2],
const T  B[2],
T *  x0,
T *  x1 
)

Solves a linear system of 2 equations.

Template Parameters
T
Parameters
A
B
x0
x1
Returns