[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave Symbolic package: assign `nan` to symfun
From: |
NVS Abhilash |
Subject: |
Octave Symbolic package: assign `nan` to symfun |
Date: |
Mon, 6 Feb 2017 05:59:32 -0800 (PST) |
I am using the symbolic package, I have installed `2.5.0` from the source
[1]. I get this error in Octave 4.3.0+
```
syms x;
f(x) = nan
error: subscript indices must be integers or boolean
error: called from
subsindex at line 64 column 5
```
I am a bit confused. Is this expected?
But if I do
```
syms x;
f(x) = nan + x
f(x) = (symfun) nan
```
Maybe Octave cannot identify `f(x) = nan` to be a symfun. But it gets to
know that when we do `f(x) = nan + x` because x is a symbol.
Is it a bug, or is it expected?
[1]: https://github.com/cbm755/octsympy
-----
NVS Abhilash
--
View this message in context:
http://octave.1599824.n4.nabble.com/Octave-Symbolic-package-assign-nan-to-symfun-tp4681784.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Octave Symbolic package: assign `nan` to symfun,
NVS Abhilash <=