/// <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(Complex[,] data) : base(data.GetLength(0), data.GetLength(1)) { _data = (Complex[,])data.Clone(); }