# symbolic-computation

##### subs(sinc(K), K, 0) 其中 K 是符号将返回 NaN。 不应该是1吗？(subs(sinc(K), K, 0) where K is symbol will return NaN. Shouldn't it be 1?)

2021-09-12 09:12:46    分类:技术分享    matlab   symbolic-computation

##### subs(sinc(K), K, 0) where K is symbol will return NaN. Shouldn't it be 1?

MATLAB sinc(0) will return 1 as it should. But sinc(K) of some symbol K for which a value of zero is substituted will return NaN. The following code illustrates the above: sinc(0) % calculate sinc of 0, this will return 1 K = sym('K'); % define symbol K % try to substitute value 0 for K in sinc(K), this will return NaN subs(sinc(K), K, 0) Can I force sinc to return 1 in the symbolic case (without knowing the value of K in advance)? MATLAB Version: 8.0.0.783 (R2012b) Symbolic Math Toolbox Version 5.9 (R2012b)

2021-08-31 21:59:32    分类:问答    matlab   symbolic-computation

##### 如何在 Visual Studio 2010 上安装 Symbolic C++？(How do you install Symbolic C++ on Visual Studio 2010?)

2021-08-31 10:59:07    分类:技术分享    c++   visual-studio-2010   installation   symbolic-math   symbolic-computation

##### How do you install Symbolic C++ on Visual Studio 2010?

I have Symbolic C++ (the version that can integrate with V, there is no documentation on how to install it. I got it from this website and it has examples of how it work: http://issc.uj.ac.za/symbolic/symbolic.html Does anyone have any idea on how to install this to use with my projects in Visual Studio?

2021-08-31 02:00:39    分类:问答    c++   visual-studio-2010   installation   symbolic-math   symbolic-computation

##### Ryacas 的符号矩阵乘法(symbolic matrix multiplication by Ryacas)

2021-08-30 02:31:56    分类:技术分享    r   matrix   symbolic-computation   yacas

##### Overload ternary ?: operator, or change to if{}else{} in included files

Research project here. In my C++ library, I am including C files: #include "aprogram.c" which I execute symbolically by overloading (almost) all operators. I have to be able to detect (condition) ? this : that and extract condition, this and that for usage in my symbolic execution library. However, SO 1, SO 2 and SO 3 amongst others already helped me realise that ?: cannot be overloaded. Is there any way for me to forcibly overload ?: anyways? Can I change all ?: statements in my included C file into ifelse-statements without actually changing the file?

##### symbolic matrix multiplication by Ryacas

I define two matrices mat1 and mat2 in Sym class which is suitable for Ryacas symbolic computation: library(Ryacas) x <- Sym("x") mat1 <- List( List(x, 2), List(x^3, x)) and mat2 <- List( List(x, x), List(3, 6 * x)) now the question is how I can have the symbolic multiplication of these two matrices by Ryacas package? Thank you in advance.

2021-06-26 05:23:30    分类:问答    r   matrix   symbolic-computation   yacas

##### Matlab求解函数的问题？(Issue with Matlab solve function?)

2021-06-12 03:12:52    分类:技术分享    matlab   solver   symbolic-math   symbolic-computation

##### C++中的符号计算(symbolic computation in C++)

2021-06-03 03:03:23    分类:技术分享    c++   symbolic-computation