Returns the value of a constant, given its name.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static Physical Constant(
	string name
)
Visual Basic (Declaration)
Public Shared Function Constant ( _
	name As String _
) As Physical
Visual C++
public:
static Physical Constant(
	String^ name
)

Parameters

name
Type: System..::.String
A String representing the name of the constant to be returned.

Return Value

The Physical object containing the value of the constant, in its default units.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown when the name given is undefined

See Also