FastQuant.Quant.Vector.Sqr C# (CSharp) 메소드

Sqr() 공개 메소드

public Sqr ( ) : Vector
리턴 Vector
        public Vector Sqr()
        {
            EnsureValid(this);
            var v = new Vector(NRows);
            Parallel.For(0, this.NRows, i => v[i] = this.Elements[i] * this.Elements[i]);
            return v;
        }