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
  • ArrayMath Class
    • Methods
  • Methods
    • AbsoluteMax Method
    • AbsoluteMaxIndex Method
    • AbsoluteMin Method
    • AbsoluteMinIndex Method
    • AsVector Method Overloads
    • Max Method
    • MaxIndex Method
    • Min Method
    • MinIndex Method
    • Sum Method Overloads
    • SumIf Method Overloads
    • ToIndex Method
    • ToRange Method
    • ToSlice Method
    • ToVector Method Overloads

ArrayMath Methods

Extreme Optimization Numerical Libraries for .NET Professional

The ArrayMath type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAbsoluteMax
Returns the value of the element in an array that has the largest absolute value.
Public methodStatic memberAbsoluteMaxIndex
Returns the index of the element in an array that has the largest absolute value.
Public methodStatic memberAbsoluteMin
Returns the value of the element in an array that has the smallest absolute value.
Public methodStatic memberAbsoluteMinIndex
Returns the index of the element in an array that has the smallest absolute value.
Public methodStatic memberAsVectorT(T, ArrayMutability)
Converts an array to a vector without copying.
Public methodStatic memberAsVectorT(T, Int32, ArrayMutability)
Converts an array to a vector without copying.
Public methodStatic memberMax
Returns the value of the largest element in an array.
Public methodStatic memberMaxIndex
Returns the index of the largest element in an array.
Public methodStatic memberMin
Returns the value of the smallest element in an array.
Public methodStatic memberMinIndex
Returns the index of the smallest element in an array.
Public methodStatic memberSum(Double)
Computes the sum of the elements of an array.
Public methodStatic memberSum(Double, Int32, Int32)
Computes the sum of the elements in a segment of an array.
Public methodStatic memberSumT(IEnumerableT)
Computes the sum of the sequence of values.
Public methodStatic memberSumT, U(IEnumerableT, FuncT, U)
Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
Public methodStatic memberSumIf(Double, FuncDouble, Boolean)
Computes the sum of the elements in an array that satisfy the specified predicate.
Public methodStatic memberSumIf(Double, FuncDouble, Int32, Boolean)
Computes the sum of the elements in an array that satisfy the specified predicate.
Public methodStatic memberToIndex
Converts a Index to a regular 0-based index.
Public methodStatic memberToRange
Converts a Range to a Range.
Public methodStatic memberToSlice
Converts a Range to a Slice.
Public methodStatic memberToVectorT(T, ArrayMutability)
Converts an array to a vector with copying.
Public methodStatic memberToVectorT(T, Int32, ArrayMutability)
Converts an array to a vector with copying.
Top
See Also

Reference

ArrayMath Class
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.