Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Mathematics
    • AccuracyGoal Structure
    • AlgorithmStatus Enumeration
    • ArrayAttributes Structure
    • ArrayMath Class
    • ArrayMutability Enumeration
    • BigFloat Class
    • BigInteger Structure
    • BigRational Structure
    • CategoricalVector(T) Class
    • Complex(T) Structure
    • Constants Class
    • ConvergenceCriterion Enumeration
    • CoreImplementations(T) Class
    • DecimalMath Class
    • Dimension Enumeration
    • DimensionMismatchException Class
    • DimensionType Enumeration
    • DistributedDataLocation Enumeration
    • DoubleComparer Class
    • Elementary Class
    • ElementType(T) Class
    • FunctionMath Class
    • FunctionWithDerivative Delegate
    • GenericCoreProvider(T) Class
    • GenericImplementations Class
    • ICategoricalVector Interface
    • IDistributed Interface
    • InsufficientDataException Class
    • IntegerMath Class
    • Intent Enumeration
    • Interval Structure
    • Interval(T) Structure
    • IPermutable Interface
    • ISummarizable Interface
    • Iterators Class
    • IVector Interface
    • MachineConstants Class
    • ManagedCoreProviderOfSingle Class
    • Math(T) Class
    • Matrix Class
    • Matrix(T) Class
    • MatrixDiagonal Enumeration
    • MatrixElementOrder Enumeration
    • MatrixExtensions Class
    • MatrixNorm Enumeration
    • MatrixOperationSide Enumeration
    • MatrixStructure Enumeration
    • MatrixTriangle Enumeration
    • MutabilityBehaviour Enumeration
    • NumericsConfiguration Class
    • Operations(T) Class
    • Permutation Class
    • Quad Structure
    • RandomExtensions Class
    • Range Structure
    • RoundingMode Enumeration
    • SingleConstants Class
    • SinglePrecisionImplementations Class
    • Slice Structure
    • SolutionReport(T) Class
    • SolutionReport(T, TError) Class
    • Special Class
    • SummaryOptions Class
    • SymbolicMath Class
    • TotalLossOfPrecisionException Class
    • TransposeOperation Enumeration
    • TypedVectorWrapper(K, T) Structure
    • Vector Class
    • Vector(T) Class
    • VectorExtensions Class
  • DecimalMath Class
    • Methods
    • Fields

DecimalMath Class

Extreme Optimization Numerical Libraries for .NET Professional
Inheritance Hierarchy

SystemObject
  Extreme.MathematicsDecimalMath

Namespace:  Extreme.Mathematics
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
public static class DecimalMath
Public NotInheritable Class DecimalMath
public ref class DecimalMath abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DecimalMath =  class end

The DecimalMath type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAbs
Returns the absolute value of a System.Decimal number.
Public methodStatic memberAcos
Returns the angle whose cosine is the specified number.
Public methodStatic memberAcosh
Returns the inverse hyperbolic cosine of a decimal number.
Public methodStatic memberAsin
Returns the angle whose sine is the specified number.
Public methodStatic memberAsinh
Returns the inverse hyperbolic sine of a decimal number.
Public methodStatic memberAtan
Returns the angle whose tangent is the specified number.
Public methodStatic memberAtan2
Returns the angle between the X-axis and the ray from the origin to the specified point.
Public methodStatic memberAtanh
Returns the inverse hyperbolic tangent of a decimal number.
Public methodStatic memberCeiling
Returns the smallest integral value that is greater than or equal to the specified decimal number.
Public methodStatic memberCos
Returns the cosine of the specified angle.
Public methodStatic memberCosh
Returns the hyperbolic cosine of the specified angle.
Public methodStatic memberExp
Returns e raised to the specified power.
Public methodStatic memberFloor
Returns the largest integer less than or equal to the specified decimal number.
Public methodStatic memberHypot
Gets the length of the hypotenuse of a right-angled triangle with sides of specified length.
Public methodStatic memberLog(Decimal)
Returns the natural (base e) logarithm of a specified number.
Public methodStatic memberLog(Decimal, Decimal)
Returns the logarithm of a specified number in a specified base.
Public methodStatic memberLog10
Returns the base 10 logarithm of a specified number.
Public methodStatic memberLog1PlusX
Returns the logarithm of 1 plus the argument.
Public methodStatic memberMax
Returns the larger of two decimal numbers.
Public methodStatic memberMin
Returns the smaller of two decimal numbers.
Public methodStatic memberPow(Decimal, Decimal)
Returns a specified number raised to the specified power.
Public methodStatic memberPow(Decimal, Int32)
Returns a number raised to an integer power.
Public methodStatic memberRound(Decimal)
Rounds a decimal value to the nearest integral value.
Public methodStatic memberRound(Decimal, Int32)
Rounds a decimal value to a specified number of fractional digits.
Public methodStatic memberRound(Decimal, MidpointRounding)
Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers.
Public methodStatic memberRound(Decimal, Int32, MidpointRounding)
Rounds a decimal value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two other numbers.
Public methodStatic memberSign
Returns a value indicating the sign of a decimal number.
Public methodStatic memberSin
Returns the sine of the specified angle.
Public methodStatic memberSinh
Returns the hyperbolic sine of the specified angle.
Public methodStatic memberSqrt
Returns the square root of a specified number.
Public methodStatic memberTan
Returns the tangent of the specified angle.
Public methodStatic memberTanh
Returns the hyperbolic tangent of the specified angle.
Public methodStatic memberTruncate
Calculates the integral part of a specified decimal number.
Top
Fields

  NameDescription
Public fieldStatic memberE
Represents the natural logarithmic base, specified by the constant, e.
Public fieldStatic memberEpsilon
Represents the smallest positive decimal value.
Public fieldStatic memberLog2
Represents the natural logarithm of 2.
Public fieldStatic memberLog2Base10
Represents the base 10 logarithm of 2.
Public fieldStatic memberPi
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.
Public fieldStatic memberSqrtPi
Represents the square root of π.
Top
See Also

Reference

Extreme.Mathematics Namespace

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.