Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 7fe08f4732759c3b3ceeb816210cb30ae9e2e1c0d8c955a10ea51ff4ca0d92c7
Ticket: 21fef042b91ca252fc2a20ead5cd05c2b51b1776
add sind ,cosd, etc to geometry functions
User & Date: gold 2017-11-18 23:50:06
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ticket subject: proposal add sind, cosd, etc to geometry functions.
    The proposed 13 trig functions as scalar in degrees are listed below. Recognise these  trig functions (with radian measures) are convertible with your degToRad and radToDeg constants in the TCLLIB, but the usual trigonometric functions with input values as scalar or vector in degrees might be convenient to some TCLLIB users. Maybe these sind and cosd functions are already available in other TCL libraries, but not known to me (from some docs and later textbooks). As noted on the ticket entry, these proposed changes are cosmetic and do not interfere with existing user programs.
    
    math:geometry.
    ::math::geometry::degToRad angle 
    ::math::geometry::radToDeg angle
    
    math::geometry(n) 1.2.2 tcllib "Tcl Math Library"
    list of proposed 15 trig functions.
    sind(x)=Sine of argument in degrees,
     cosd(x)=Cosine of argument in degrees,
     tand(x)=Tangent of argument in degrees, 
    cotd(x)=Cotangent of argument in degrees, 
    asind(x)=returns the inverse sine (sin-1) of the elements of X in degrees,
     acosd(x)=returns the inverse cosine (cosin-1) of the elements of X in degrees,,
     atand(x)=Inverse tangent in degrees, 
    acotd(x)=Inverse cotangent in degrees, 
    secd(x)=Secant of argument in degrees,
    cscd(x)=Cosecant of argument in degrees,
    asecd(x)=Inverse secant in degrees, 
    acscd(x)=Inverse cosecant in degrees,
    atan2d(x1, x2)=Four-quadrant inverse tangent in degrees
    
  5. foundin changed to: "8.5"
  6. is_private changed to: "0"
  7. login: "gold"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "6a35629ae8c91b8189de05be9d12871d9ac9f8f9"
  10. resolution changed to: "None"
  11. severity changed to: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "gold"
  14. subsystem changed to: "math :: geometry"
  15. title changed to: "add sind ,cosd, etc to geometry functions"
  16. type changed to: "Patch"