27 lines
820 B
C++
27 lines
820 B
C++
/***************************************************************************
|
|
* Copyright (c) 2023 Ondsel, Inc. *
|
|
* *
|
|
* This file is part of OndselSolver. *
|
|
* *
|
|
* See LICENSE file for details about copyright. *
|
|
***************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "FunctionX.h"
|
|
|
|
namespace MbD {
|
|
class Abs : public FunctionX
|
|
{
|
|
//
|
|
public:
|
|
Abs() = default;
|
|
Abs(Symsptr arg);
|
|
double getValue() override;
|
|
|
|
std::ostream& printOn(std::ostream& s) const override;
|
|
|
|
};
|
|
}
|
|
|