Class Ns
- Namespace
- ChebyshevSharp
- Assembly
- ChebyshevSharp.dll
Typed wrapper for per-dimension Chebyshev node counts.
Implicit conversions to and from integer arrays let you pass either
form to constructors that accept Ns.
public sealed record Ns : IEquatable<Ns>
- Inheritance
-
Ns
- Implements
- Inherited Members
Constructors
Ns(int[])
Create a node-count wrapper from per-dimension counts.
public Ns(int[] Counts)
Parameters
Countsint[]Number of nodes per dimension.
Properties
Counts
Number of nodes per dimension.
public int[] Counts { get; init; }
Property Value
- int[]
Methods
Deconstruct(out int[])
Deconstruct into the wrapped node counts.
public void Deconstruct(out int[] Counts)
Parameters
Countsint[]
Operators
implicit operator int[](Ns)
Implicit conversion from Ns to integer array.
public static implicit operator int[](Ns n)
Parameters
nNs
Returns
- int[]
implicit operator Ns(int[])
Implicit conversion from integer array to Ns.
public static implicit operator Ns(int[] Counts)
Parameters
Countsint[]