FastQuant.Quant.Vector.EnsureValid C# (CSharp) Method

EnsureValid() private static method

private static EnsureValid ( Vector v, string name = "Vector" ) : void
v Vector
name string
return void
        private static void EnsureValid(Vector v, string name = "Vector")
        {
            if (!v.IsValid())
                throw new ArgumentException($"{name} is not initialized");
        }