Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » New package MathTools
Re: New package MathTools [message #45709 is a reply to message #45707] Sun, 27 December 2015 14:22 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Koldo,

I liked the concept.
I would like to add custom constants.

I tried to add it.
gridConstants.Add("DegToRad",M_PI/180.0);
Constants are not accessed for calculation from ArrayControl. It is internal to ScatterDraw/Equation.cpp

eval.constants.Add("DegToRad",M_PI/180.0);
'Upp::EvalExpr::constants': cannot access private member
     declared in class 'Upp::EvalExpr'


After looking at the code the I found constants are defined in ScatterDraw/Equation.cpp

Any hints on how have custom constants.


Warm Regards

Deepak

[Updated on: Sun, 27 December 2015 15:00]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OleAut : Office Automation Encapsulation, then made easy
Next Topic: MATLAB .mat files handling
Goto Forum:
  


Current Time: Wed Apr 24 10:41:12 CEST 2024

Total time taken to generate the page: 0.02481 seconds