Geeks With Blogs
Welcome to
Geeks with Blogs
Login
JoshReuben
My Other Recent Posts
JVM Tuning
Spark.ml Pipelines QuickRef
Enterprise Integration Patterns
Hive  HQL query over MapReduce
Big Data File Format Zoo
How to hire a Scala Dev
JSE IO for Scala Devs
GDB  notes from the field
Java Annotations Refresher
Scalable Service Architecture
Archives
November 2018 (1)
October 2018 (1)
April 2018 (1)
November 2017 (1)
March 2017 (2)
December 2016 (3)
May 2016 (1)
April 2016 (1)
March 2016 (4)
February 2016 (1)
November 2015 (1)
October 2015 (1)
March 2015 (5)
February 2015 (6)
November 2014 (1)
October 2014 (3)
May 2013 (1)
January 2013 (3)
December 2012 (3)
November 2012 (2)
October 2012 (2)
September 2012 (2)
August 2012 (2)
July 2012 (4)
June 2012 (1)
May 2012 (1)
March 2012 (2)
December 2011 (4)
October 2011 (1)
September 2011 (4)
August 2011 (2)
July 2011 (2)
June 2011 (3)
May 2011 (2)
April 2011 (2)
March 2011 (3)
February 2011 (4)
January 2011 (8)
December 2010 (1)
November 2010 (3)
September 2010 (5)
August 2010 (4)
July 2009 (1)
November 2008 (2)
October 2008 (1)
June 2008 (1)
March 2008 (1)
February 2008 (1)
January 2008 (2)
December 2007 (3)
Josh Reuben
<< Extreme Optimization Numerical Libraries for .NET – Part 1 of n

Home

Extreme Optimization – Numerical Algorithm Support >>
Extreme Optimization –Mathematical Constants and Basic Functions
Comments (1)

Share
Machine constants
The
MachineConstants
class  contains constants for floatingpoint arithmetic because the CLS
System.Single
and
Double
floatingpoint types do not follow the standard conventions and are useless. machine constants for the
Double
type:
machine precision
: Epsilon
,
SqrtEpsilon
CubeRootEpsilon
largest possible value:
MaxDouble
,
SqrtMaxDouble
,
LogMaxDouble
smallest Doubleprecision floating point number that is greater than zero:
MinDouble
,
SqrtMinDouble
,
LogMinDouble
A similar set of constants is available for the
Single
Datatype
Mathematical Constants
The
Constants
class contains static fields for many mathematical constants and
common
expressions involving small integers – if you are doing thousands of iterations, you wouldn't want to calculate
OneOverSqrtTwoPi
,
Sqrt17
or
Log17
!!!
Fundamental constants
E
 The base for the natural logarithm,
e
(2.718...).
EulersConstant
 (0.577...).
GoldenRatio
 (1.618...).
Pi
 the ratio between the circumference and the diameter of a circle (3.1415...).
Expressions involving fundamental constants:
TwoPi, PiOverTwo, PiOverFour, LogTwoPi, PiSquared, SqrPi, SqrtTwoPi, OneOverSqrtPi, OneOverSqrtTwoPi
Square roots of small integers
:
Sqrt2, Sqrt3, Sqrt5, Sqrt7, Sqrt17
Logarithms of small integers
:
Log2, Log3, Log10, Log17, InvLog10
Elementary Functions
The
IterativeAlgorithm<T>
class in the
Extreme.Mathematics
namespace
defines many elementary functions that are missing from
System.Math
.
Hyperbolic Trig Functions:
Cosh, Coth, Csch, Sinh, Sech, Tanh
Inverse Hyperbolic Trig Functions
:
Acosh, Acoth, Acsch, Asinh, Asech, Atanh
Exponential, Logarithmic and Miscellaneous Functions
:
ExpMinus1
 The exponential function minus one,
e
^{x}
1.
Hypot
 The hypotenuse of a
rightangled
triangle with specified sides.
LambertW
 Lambert's W function, the (real) solution
W
of
x
=
We
^{W}
.
Log1PlusX
 The natural logarithm of 1+
x
.
Pow
 A number raised to an integer power.
Posted on Thursday, January 6, 2011 7:57 PM
Numerical Computing

Back to top
Related Posts on Geeks With Blogs
Matching Categories
A Taxonomy of Numerical Methods v1
Numerical Computing
Algo.NET
Numerical Computing
Azure Futures  Distributed Computing and Number C...
Numerical Computing
Excel Solver vs Solver Foundation
Numerical Computing
Extreme Optimization – Curves (Function Mapping) P...
Numerical Computing
Comments on this post: Extreme Optimization –Mathematical Constants and Basic Functions
#
re: Extreme Optimization –Mathematical Constants and Basic Functions
New information provides useful idea that we can use in most of our projects. 
Antiquities of California
Left by
Williams George
on Dec 29, 2016 5:08 AM
Your comment:
Title:
Name:
Email: (never displayed)
(will show your
gravatar
)
Comment:
Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
Verification:
Copyright © JoshReuben  Powered by:
GeeksWithBlogs.net
Popular Posts on Geeks with Blogs
0
Code Monkey Projectiles  Index
How to use CLI to create dotnet project from powershell or CMD
Full Stack Engineering Publication
5 Benefits of Agile Project Management
angular proxy cli to help with CORS
Geeks With Blogs Content Categories
ASP.Net
SQL Server
Apple
Google
SharePoint
Windows
Visual Studio
Team Foundation Server
Agile
Office
Design Patterns
Web
Azure
Brand New Posts on Geeks with Blogs
0
angular proxy cli to help with CORS
How to use CLI to create dotnet project from powershell or CMD
5 Benefits of Agile Project Management
Full Stack Engineering Publication
Rufus is the best tool for burning bootable ISO images to a thumb drive