Nerd_STF/Nerd_STF/Mathematics/INumberGroup.cs

28 lines
874 B
C#

using Nerd_STF.Mathematics.Algebra;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace Nerd_STF.Mathematics
{
public interface INumberGroup<TSelf, TItem> : ICombinationIndexer<TItem>,
IEnumerable<TItem>,
IEquatable<TSelf>
#if CS11_OR_GREATER
, IInterpolable<TSelf>,
ISimpleMathOperations<TSelf>,
IVectorOperations<TSelf>
#endif
where TSelf : INumberGroup<TSelf, TItem>
#if CS11_OR_GREATER
where TItem : INumber<TItem>
#endif
{
TItem this[int index] { get; set; }
TItem[] ToArray();
Fill<TItem> ToFill();
List<TItem> ToList();
}
}