Extreme Optimization™: Complexity made simple.

Numerical Components
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
    • 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
    • Contact us
Introduction
Deployment Guide
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 Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Reference
    • Extreme.Mathematics Namespace
    • Extreme.Mathematics.Algorithms Namespace
    • Extreme.Mathematics.Calculus Namespace
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations Namespace
    • Extreme.Mathematics.Curves Namespace
    • Extreme.Mathematics.Curves.Nonlinear Namespace
    • Extreme.Mathematics.EquationSolvers Namespace
    • Extreme.Mathematics.Generic Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions Namespace
    • Extreme.Mathematics.LinearAlgebra.IO Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners Namespace
    • Extreme.Mathematics.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra.Sparse Namespace
    • Extreme.Mathematics.Optimization Namespace
    • Extreme.Mathematics.Optimization.LineSearches Namespace
    • Extreme.Mathematics.SignalProcessing Namespace
    • Extreme.Statistics Namespace
    • Extreme.Statistics.Distributions Namespace
    • Extreme.Statistics.IO Namespace
    • Extreme.Statistics.Multivariate Namespace
    • Extreme.Statistics.Random Namespace
    • Extreme.Statistics.Tests Namespace
    • Extreme.Statistics.TimeSeriesAnalysis Namespace
  • Extreme.Mathematics.Generic Namespace
    • CanSpecializeAttribute Class
    • Complex(T) Structure
    • GenericArithmeticException Class
    • GenericExtensions Class
    • IBitOperations(T) Interface
    • IComplexElementaryFunctions(T, U) Interface
    • IComplexFieldOperations(T, U) Interface
    • IComplexIeeeOperations(T, U) Interface
    • IComplexOperations(T, U) Interface
    • IComplexRingOperations(T, U) Interface
    • IDivisionOperations(T, TClosure) Interface
    • IEuclideanRingOperations(T) Interface
    • IFieldOperations(T) Interface
    • IFractionalOperations(T) Interface
    • IGroupOperations(T) Interface
    • IIeeeOperations(T) Interface
    • IRealOperations(T) Interface
    • IRingOperations(T) Interface
    • IVectorSpaceOperations(TScalar, TVector) Interface
    • Math(T) Class
    • Matrix(T) Class
    • TypeAssociationAttribute Class
    • TypeAssociationRegistry Class
    • Vector(T) Class
  • GenericExtensions Class
    • Members
    • Methods
  • Methods
    • Acos(T) Method
    • Acosh(T) Method
    • Acoth(T) Method
    • Acsch(T) Method
    • Asech(T) Method
    • Asin(T) Method
    • Asinh(T) Method
    • Atan(T) Method
    • Atanh(T) Method
    • Coth(T) Method
    • Csch(T) Method
    • GreatestCommonDivisor(T) Method
    • Hypot(T) Method
    • Log(T) Method
    • Log10(T) Method
    • Log1PlusX(T) Method
    • Max Overloads
    • Min Overloads
    • Pow Overloads
    • Sech(T) Method
    • Sign(T) Method
    • Sinc(T) Method
    • Tan(T) Method
    • Tanh(T) Method
  • Log1PlusX(T) Method
Collapse image Expand Image Copy image CopyHover image
         




GenericExtensions..::..Log1PlusX<(Of <(<'T>)>)> Method

GenericExtensions Class See Also 
Returns the logarithm of 1 plus the argument.

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)

Syntax

C#
                      public static T Log1PlusX<T>(
	this IRealOperations<T> ops,
	T value
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Function Log1PlusX(Of T) ( _
	ops As IRealOperations(Of T), _
	value As T _
) As T
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
static T Log1PlusX(
	IRealOperations<T>^ ops, 
	T value
)
F#
                      static member Log1PlusX : 
        ops:IRealOperations<'T> * 
        value:'T -> 'T 

Parameters

ops
Type: Extreme.Mathematics.Generic..::..IRealOperations<(Of <(<'T>)>)>
A IRealOperations<(Of <(<'T>)>)> instance that performs basic arithmetic operations.
value
Type: T
A real number greater than -1.

Type Parameters

T

Return Value

The logarithm of 1 plus value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRealOperations<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter.

Remarks

For small values of value, the logarithm of 1 + value is close to zero. When the logarithm is evaluated directly, this can cause significant round-off error. This function resolves this problem by using a direct approvalueimations for value close to 1.

Exceptions

Exception Condition
System..::..ArgumentOutOfRangeException value is less than or equal to -1.

See Also

GenericExtensions Class
Extreme.Mathematics.Generic Namespace

Send comments on this topic to support@extremeoptimization.com

Copyright (c) 2004-2011 ExoAnalytics Inc.

Copyright © 2003-2013, 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.