mirror of https://github.com/Askill/AP-SCE.git
-this stuff is kind of needed
This commit is contained in:
parent
b06abf61de
commit
51e8f5cb0e
|
|
@ -0,0 +1,14 @@
|
||||||
|
#include "OPTIMIZATION.h"
|
||||||
|
|
||||||
|
OPTIMIZATION::OPTIMIZATION()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
OPTIMIZATION::~OPTIMIZATION()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
long double OPTIMIZATION::g_von_theta(long double x, long double y)
|
||||||
|
{
|
||||||
|
return -(x*x + y*y);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
#pragma once
|
||||||
|
class OPTIMIZATION
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
OPTIMIZATION();
|
||||||
|
~OPTIMIZATION();
|
||||||
|
|
||||||
|
long double g_von_theta(long double, long double);
|
||||||
|
};
|
||||||
|
|
||||||
Loading…
Reference in New Issue