/// <summary> /// Initializes submatrices of the given <see cref="AdmittanceMatrix"/> /// </summary> /// <param name="matrix"></param> private void InitializeSubmatrices(AdmittanceMatrix matrix) { matrix._A = ArrayHelpers.CreateAndInitialize(Complex.Zero, _BigDimension, _BigDimension); matrix._B = ArrayHelpers.CreateAndInitialize <Complex>(0, _BigDimension, _SmallDimension); matrix._C = ArrayHelpers.CreateAndInitialize(Complex.Zero, _SmallDimension, _BigDimension); matrix._D = ArrayHelpers.CreateAndInitialize(Complex.Zero, _SmallDimension, _SmallDimension); matrix._E = ArrayHelpers.CreateAndInitialize(Complex.Zero, _SmallDimension); matrix._I = ArrayHelpers.CreateAndInitialize(Complex.Zero, _BigDimension); }