puvip / addi

Automatically exported from code.google.com/p/addi
0 stars 0 forks source link

cosd seems unkown #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. a. Entering in direction "cosd(25)" for calculation
   b. Entering as variable "x=cosd(25)"
   c. Entering as calculation "1/cosd(25)"
   d. Entering "x = 25" (enter) then "cosd(x)"

2. Help cosd shows proper help and description for command 
Output of help cosd
"cosd:
  Cosine of argument in degrees
Syntax:
 Y = cosd(X)
See Also:
 acosd, cos

3.

What is the expected output? What do you see instead?
Expected output is calculated cos value of 25 degrees. Output shown is "ERROR: 
ERROR: SubMatrix: eval: unknown operand"

What version of the product are you using? On what operating system?
Version is ADDI 1.72 ran on Asus Eee Pad Transformer running Android 3.2 with 
optional keyboard attached. Method of entry is via hardware keyboard. Problem 
reproduces using software keyboard.

Please provide any additional information below.

Original issue reported on code.google.com by Rhonde...@gmail.com on 26 Sep 2011 at 5:38

GoogleCodeExporter commented 9 years ago
fiddle sticks, forgot to add that problem extends to sind() and tand() 

Original comment by Rhonde...@gmail.com on 26 Sep 2011 at 5:40

GoogleCodeExporter commented 9 years ago
see two issues right away 
1) finite (which is used in sind.m etc) is using old finite.m from octave 
before isfinite was deprecated 
2) doing a submatrix with a logical token seems to not work, need to improve
this may sound like sind is overly complicated, but I have a rule that I used 
.m files from octave as is, without modification and the sind.m (etc) have some 
extra logic in them that you wouldn't think to do off hand.  should be easy to 
fix though.

Original comment by corbi...@gmail.com on 29 Sep 2011 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by corbi...@gmail.com on 1 Oct 2011 at 9:57