Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserDefinedVector"/> class for an array.
 /// </summary>
 /// <param name="data">The array to create this vector from.</param>
 public UserDefinedVector(Complex32[] data) : base(data.Length)
 {
     _data = (Complex32[])data.Clone();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserDefinedMatrix"/> class from a 2D array. 
 /// </summary>
 /// <param name="data">The 2D array to create this matrix from.</param>
 public UserDefinedMatrix(Complex32[,] data)
     : base(data.GetLength(0), data.GetLength(1))
 {
     _data = (Complex32[,])data.Clone();
 }