コード例 #1
0
        public Vector Copy(Numerics.LinearAlgebra.Vector <double> vector)
        {
            var l = Elements.Count;

            if (vector.Count != l)
            {
                throw new ArgumentException("The dimension of LinearAlgebra.Vector is different that the dimension of the space");
            }

            Copy(vector.AsArray());

            return(this);
        }
コード例 #2
0
 public Vector(Space space, Numerics.LinearAlgebra.Vector <double> vector) : base(space, vector)
 {
 }