Data Type

This commit is contained in:
h z
2024-07-11 11:21:29 +01:00
parent 2955aaf1db
commit 5b46cce212
29 changed files with 388 additions and 112 deletions

View File

@@ -4,23 +4,7 @@ namespace Nocturnis.GlobalManagement.Constants;
public static class EnigmosConstant
{
public static class DataPortTypes
{
public static readonly StringName Null = "Null";
public static readonly StringName Bit = "Bit";
public static readonly StringName Real = "Real";
public static readonly StringName Complex = "Complex";
public static readonly StringName R2 = "R2";
public static readonly StringName C2 = "C2";
public static readonly StringName RealArray = "RealArray";
public static readonly StringName AnyArrayType = "AnyArrayType";
public static readonly StringName[] NumericTypes = new[] { Real, Complex };
public static readonly StringName[] AnyTensor = new[] { Real, Complex, R2, C2 };
public static readonly StringName[] AnyType = new[] { Real, Complex, R2, C2 };
public static readonly StringName[] VectorTypes = new[] { R2, C2 };
public static readonly StringName[] AnyArray = Array.Empty<StringName>();
}
public static class CommunicationDirections
{
public static readonly StringName Send = "Send";