Class RationalCoefficients
Describes the information about rational coefficients.
Inheritance
System.Object
RationalCoefficients
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: MAT.AtlasSessionApi
Assembly: MAT.AtlasSessionApi.dll
Syntax
public sealed class RationalCoefficients
Constructors
RationalCoefficients(Double, Double, Double, Double, Double, Double)
Create new instance of rational coefficient.
Declaration
public RationalCoefficients(double c1, double c2, double c3, double c4, double c5, double c6)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | c1 | |
| System.Double | c2 | |
| System.Double | c3 | |
| System.Double | c4 | |
| System.Double | c5 | |
| System.Double | c6 |
Fields
Unscaled
Default values of rational coefficient.
Declaration
public static readonly RationalCoefficients Unscaled
Field Value
| Type | Description |
|---|---|
| RationalCoefficients |
Properties
C1
Get 1st value of coefficient.
Declaration
public double C1 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
C2
/// Get 2nd value of coefficient.
Declaration
public double C2 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
C3
/// Get 3rd value of coefficient.
Declaration
public double C3 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
C4
/// Get 4th value of coefficient.
Declaration
public double C4 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
C5
/// Get 5th value of coefficient.
Declaration
public double C5 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
C6
/// Get 6th value of coefficient.
Declaration
public double C6 { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
Equals(RationalCoefficients)
Are two object equal?
Declaration
public bool Equals(RationalCoefficients other)
Parameters
| Type | Name | Description |
|---|---|---|
| RationalCoefficients | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
FromArray(Double[])
Construct the new instance of rational coefficient based on the input array.
Declaration
public static RationalCoefficients FromArray(double[] coefficients)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double[] | coefficients |
Returns
| Type | Description |
|---|---|
| RationalCoefficients |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | |
| System.ArgumentException |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
ToArray()
Gets the coefficient values as double array.
Declaration
public double[] ToArray()
Returns
| Type | Description |
|---|---|
| System.Double[] |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
Operators
Equality(RationalCoefficients, RationalCoefficients)
Are two object equal?
Declaration
public static bool operator ==(RationalCoefficients left, RationalCoefficients right)
Parameters
| Type | Name | Description |
|---|---|---|
| RationalCoefficients | left | |
| RationalCoefficients | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(RationalCoefficients, RationalCoefficients)
Are two object unequal?
Declaration
public static bool operator !=(RationalCoefficients left, RationalCoefficients right)
Parameters
| Type | Name | Description |
|---|---|---|
| RationalCoefficients | left | |
| RationalCoefficients | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |