API Documentation
Loading...
Searching...
No Matches
Formula.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/Equation.h>
3#include <NDEVR/Unit.h>
4#include <NDEVR/Pointer.h>
5namespace NDEVR
6{
8 {
14 UnitType result_unit_type = UnitType::e_undefined_unit;
17 Buffer<String> dependentVariables() const;
18 static String DisplayString(const String& name);
19 String displayFormula(bool simplify) const;
20 String simplifiedFormula() const;
21 Equation<fltp08> equation() const;
22 fltp08 solve() const;
23
24 };
31}
#define NDEVR_BASE_API
Definition DLLInfo.h:78
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition GraphicsPipeline.h:42
Definition Dictionary.h:48
Definition Equation.h:40
Definition File.h:47
Definition String.h:40
Definition ACIColor.h:37
UnitType
Definition Unit.h:10
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition Formula.h:8
String symbol
Definition Formula.h:10
Dictionary< String, String > dependent_variables
Definition Formula.h:16
ConstPointer< Unit > result_unit
Definition Formula.h:15
String category
Definition Formula.h:12
String description
Definition Formula.h:11
String name
Definition Formula.h:9
String formula
Definition Formula.h:13
Definition Formula.h:26
Dictionary< String, Buffer< String > > top_level_formulas
Definition Formula.h:27
Dictionary< String, Dictionary< String, Buffer< Formula > > > formulas
Definition Formula.h:28