xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
monomial.h
浏览该文件的文档.
1#ifndef XCMATH_SYMBOLSYSTEM_MONOMIAL_H
2#define XCMATH_SYMBOLSYSTEM_MONOMIAL_H
3#include <memory>
4#include <vector>
5
6#include "./constant.h"
7#include "./xcmathConfig.h"
8
9namespace xcmath {
10class Symbol;
11typedef std::vector<std::shared_ptr<Constant>> CoefficientPack;
12typedef std::vector<std::shared_ptr<Symbol>> VariablePack;
14 private:
15 CoefficientPack __coefficient_pack;
16 VariablePack __variable_pack;
17
18 public:
19 Monomial(const CoefficientPack& ceoffient_pack,
20 const VariablePack& variable_pack);
21 ~Monomial() = default;
22
23 public:
26};
27}; // namespace xcmath
28
29#endif // XCMATH_SYMBOLSYSTEM_MONOMIAL_H
Monomial operator*(const Symbol &o)
~Monomial()=default
Monomial operator*(const Monomial &o)
Compiler-specific type information handling for MSVC
Definition complex.hpp:12
std::vector< std::shared_ptr< Constant > > CoefficientPack
Definition monomial.h:11
std::vector< std::shared_ptr< Symbol > > VariablePack
Definition monomial.h:12
#define XCMATH_API