LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
symbolic_implicit_diff.hpp
浏览该文件的文档.
1/**
2 * @file symbolic_implicit_diff.hpp
3 * @brief 隐函数微分 dy/dx = -F_x / F_y。
4 */
5#pragma once
6#include "symbolic.hpp"
7#include <memory>
8#include <string>
9
10namespace LMCAS {
11
12/**
13 * @brief 对隐函数 F(x, y) = 0 求 dy/dx
14 *
15 * 利用隐函数定理:dy/dx = -F_x / F_y
16 *
17 * @param F 隐函数表达式 F(x, y)
18 * @param x 自变量名
19 * @param y 因变量名
20 * @return dy/dx 的符号表达式
21 */
22LMCAS_API std::shared_ptr<SymbolicExpr> implicit_diff(
23 std::shared_ptr<SymbolicExpr> F,
24 const std::string& x,
25 const std::string& y
26);
27
28}
#define LMCAS_API
std::shared_ptr< SymbolicExpr > implicit_diff(std::shared_ptr< SymbolicExpr > expression, const std::string &independent_variable, const std::string &dependent_variable)
符号表达式主类 SymbolicExpr 及其工厂方法,运算接口.