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
  • Operations(T) Class
    • Properties
    • Methods

OperationsT Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents the arithmetic and other operations for an operand type.
Inheritance Hierarchy

SystemObject
  Extreme.MathematicsOperationsT

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

C#
VB
C++
F#
Copy
public static class Operations<T>
Public NotInheritable Class Operations(Of T)
generic<typename T>
public ref class Operations abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Operations<'T> =  class end

Type Parameters

T
The operand type.

The OperationsT type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberAcos
Gets a delegate that returns the angle whose cosine is the specified number.
Public propertyStatic memberAcosh
Gets a delegate that returns the inverse hyperbolic cosine of a real number.
Public propertyStatic memberAsin
Gets a delegate that returns the angle whose cosine is the specified number.
Public propertyStatic memberAsinh
Gets a delegate that returns the inverse hyperbolic sine of a real number.
Public propertyStatic memberAtan
Gets a delegate that returns the angle whose tangent is the specified number.
Public propertyStatic memberAtan2
Gets a delegate that returns the angle between the X-axis and a point with the specified coordinates.
Public propertyStatic memberAtanh
Gets a delegate that returns the inverse hyperbolic tangent of a real number.
Public propertyStatic memberCeiling
Gets a delegate that returns the smallest integer greather than or equal to a number.
Public propertyStatic memberCompare
Gets a delegate that compares two values.
Public propertyStatic memberConjugate
Gets a delegate that returns the conjugate of a complex number.
Public propertyStatic memberConjugateMultiply
Gets a delegate that multiplies the conjugate of a number by another number.
Public propertyStatic memberCos
Gets a delegate that returns the cosine of its argument.
Public propertyStatic memberCosh
Gets a delegate that returns the hyperbolic cosine of its argument.
Public propertyStatic memberE
Gets the value of e, the base of the natural logarithm.
Public propertyStatic memberEpsilon
Gets the machine precision of the operand type.
Public propertyStatic memberExp
Gets a delegate that returns the exponential of its argument.
Public propertyStatic memberFloor
Gets a delegate that returns the largest integer less than or equal to a number.
Public propertyStatic memberFromDouble
Gets a delegate that converts a double-precision floating-point number to the current number type.
Public propertyStatic memberHypot
Gets a delegate that returns the length of the hypotenuse of a right-angled triangle with sides of specified length.
Public propertyStatic memberIsFinite
Gets a delegate that returns whether the operand is a finite number.
Public propertyStatic memberIsNaN
Gets a delegate that returns whether the operand is Not-a-Number.
Public propertyStatic memberIsNegativeInfinity
Gets a delegate that returns whether the operand is a negative infinity.
Public propertyStatic memberIsPositiveInfinity
Gets a delegate that returns whether the operand equals positive infinity.
Public propertyStatic memberIsReal
Gets whether the number type represents real numbers.
Public propertyStatic memberLog
Gets a delegate that returns the natural logarithm of a number.
Public propertyStatic memberLog1PlusX
Gets a delegate that returns the logarithm of 1 plus the argument.
Public propertyStatic memberMaxValue
Gets the largest finite value of the numeric type.
Public propertyStatic memberMinPositiveValue
Gets the smallest value that is greater than zero.
Public propertyStatic memberMinusOne
Returns the value of -1 as an instance of the number type.
Public propertyStatic memberMinValue
Gets the smallest finite value of the numeric type.
Public propertyStatic memberNaN
Gets the Not-a-Number value for the operand type.
Public propertyStatic memberNegativeInfinity
Gets the value of negative infinity for the operand type.
Public propertyStatic memberOne
Returns the value of 1 as an instance of the number type.
Public propertyStatic memberOneNorm
Gets a delegate that returns returns the sum of the absolute values of the real and imaginary parts of a complex number.
Public propertyStatic memberPi
Gets the value of π.
Public propertyStatic memberPiOverTwo
Gets the value of π/2.
Public propertyStatic memberPositiveInfinity
Gets the value of positive infinity for the operand type.
Public propertyStatic memberPow
Gets a delegate that raises a number to the specified power.
Public propertyStatic memberPowN
Gets a delegate that raises a value to the specified power.
Public propertyStatic memberRemainder
Gets a delegate that returns the remainder after dividing two numbers.
Public propertyStatic memberRound
Gets a delegate that rounds a number to the specified number of decimal digits.
Public propertyStatic memberScaleByPowerOfTwo
Multiplies a value by a power of two.
Public propertyStatic memberSin
Gets a delegate that returns the sine of its argument.
Public propertyStatic memberSinh
Gets a delegate that returns the hyperbolic sine of its argument.
Public propertyStatic memberSqrt
Gets a delegate that returns the square root of a number.
Public propertyStatic memberSupportsIeee
Gets whether special IEEE values (NaN's and infinities) are supported by the type.
Public propertyStatic memberTan
Gets a delegate that returns the tangent of the specified angle.
Public propertyStatic memberTanh
Gets a delegate that returns the hyperbolic tangent of the specified angle.
Public propertyStatic memberToInt32
Converts an instance of the operand type to an integer.
Public propertyStatic memberZero
Returns the value of zero as an instance of the number type.
Top
Methods

  NameDescription
Public methodStatic memberAbs
Gets a delegate that returns the absolute value of a number.
Public methodStatic memberAdd
Returns the sum of two numbers.
Public methodStatic memberConvertToU
Converts an instance of the operand type to the specified type.
Public methodStatic memberDivide
Gets a delegate that divides two numbers.
Public methodStatic memberEqualTo
Returns whether two numbers are equal.
Public methodStatic memberFromInt32
Converts an integer to an instance of the operand type.
Public methodStatic memberGreaterThan
Public methodStatic memberGreaterThanOrEqual
Public methodStatic memberIsOne
Returns whether a number equals one.
Public methodStatic memberIsZero
Returns whether a number equals zero.
Public methodStatic memberLessThan
Returns if one number is less than another.
Public methodStatic memberLessThanOrEqual
Returns if one number is less than another.
Public methodStatic memberLog10
Gets a delegate that returns the natural logarithm of a number.
Public methodStatic memberMultiply
Returns the product of two numbers.
Public methodStatic memberNegate
Gets a delegate that reverses the sign of a number.
Public methodStatic memberNotEqualTo
Returns whether two numbers are equal.
Public methodStatic memberReciprocal
Gets a delegate that returns the reciprocal of its argument.
Public methodStatic memberSign
Gets a delegate that returns the sign of the specified number.
Public methodStatic memberSubtract
Subtracts one number from another.
Top
Remarks

Use the OperationsT class to perform operations on operand types that are generic type parameters.

Most operations are implemented as fields that contain delegates that perform the operation. This gives the best performance. When an operation can have several overloads, methods that wrap private fields are used instead.

For primitive types, the operation is performed directly if it is defined. For other types, operator methods are used if they are available. Otherwise, if an arithmetic type has been declared for the operand type in the type association registry, the operations defined by that arithmetic type are used.

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.