internal TrigonometricPart(ITrigonometryContext context, double value, Func<double, IDimension[], IQuantity> factory, params IDimension[] dimensions) { Assert.That(_context = context, Is.Not.Null); // Some use cases involve NaN. _value = value; Assert.That(_dimensions = dimensions, Is.Not.Null); Assert.That(_factory = factory, Is.Not.Null); }
internal TrigonometricPart(ITrigonometryContext context, double value, Func <double, IDimension[], IQuantity> factory, params IDimension[] dimensions) { Assert.That(_context = context, Is.Not.Null); // Some use cases involve NaN. _value = value; Assert.That(_dimensions = dimensions, Is.Not.Null); Assert.That(_factory = factory, Is.Not.Null); }